[webkit-gtk] GtkLauncher (1.8.0) opens blank WebInspector window with error

souvik.datta at wipro.com souvik.datta at wipro.com
Fri Apr 20 01:10:59 PDT 2012


OK, I have fixed the problem. The issue was that the name of the dir (in the path <webkit installation path>/Programs/resources/inspector/) where the icons are present is "images" but 
in the JS and CSS files the dir name used is "Images". After renaming the directory, it is running.

Regards,
Souvik
________________________________________
From: Souvik Datta(WT01-PES)
Sent: Friday, April 20, 2012 1:28 PM
To: Carlos Garcia Campos; webkit-gtk at lists.webkit.org
Subject: RE: [webkit-gtk] GtkLauncher (1.8.0) opens blank WebInspector window with error

Hello Carlos,

After I set the value of the variable WEBKIT_INSPECTOR_PATH manually to
<webkit installation path>/Programs/resources/inspector , I could see the pages but I am not able to see the icons.

Can you please tell me why I am not able to see the icons? I could see the "Images" dir in path : <webkit installation path>/Programs/resources/inspector

Thanks and Regards,
Souvik
________________________________________
From: Souvik Datta(WT01-PES)
Sent: Friday, April 20, 2012 12:48 PM
To: Carlos Garcia Campos; webkit-gtk at lists.webkit.org
Subject: RE: [webkit-gtk] GtkLauncher (1.8.0) opens blank WebInspector window with error

In my case, make install is failing with following error:

.....
....
 /usr/bin/install -c -m 644 ./Documentation/webkitgtk/html/WebKitWebResource.html
 /usr/bin/install -c -m 644 ./Documentation/webkitgtk/html/WebKitWebSettings.html
 /usr/bin/install -c -m 644 ./Documentation/webkitgtk/html/WebKitWebWindowFeatures.html
  GEN    install-data-local
Rebasing WebKit1 documentation...
Running gtkdoc-rebase
Traceback (most recent call last):
  File "./Tools/gtk/generate-gtkdoc", line 169, in <module>
    rebase_installed_docs(pkg_config_path, options)
  File "./Tools/gtk/generate-gtkdoc", line 146, in rebase_installed_docs
    generator.rebase_installed_docs()
  File "/home/souvik/webkit/webkit_1.8/webkit-1.8.0/Tools/gtk/gtkdoc.py", line 373, in rebase_installed_docs
    self._run_command(args, cwd=self.output_dir)
  File "/home/souvik/webkit/webkit_1.8/webkit-1.8.0/Tools/gtk/gtkdoc.py", line 187, in _run_command
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/souvik/webkit/webkit_1.8/webkit-1.8.0'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/souvik/webkit/webkit_1.8/webkit-1.8.0'
make: *** [install] Error 2

How do I fix this error? May be because my installation is failing the variable is not getting set.

Regards,
Souvik

________________________________________
From: webkit-gtk-bounces at lists.webkit.org [webkit-gtk-bounces at lists.webkit.org] on behalf of Carlos Garcia Campos [cgarcia at igalia.com]
Sent: Friday, April 20, 2012 12:06 PM
To: webkit-gtk at lists.webkit.org
Subject: Re: [webkit-gtk] GtkLauncher (1.8.0) opens blank WebInspector window with error

El jue, 19-04-2012 a las 12:56 -0700, Philippe Normand escribió:
> Carlos sent a patch for inspector integration in GtkLauncher, would that
> be of any use to you?
>
> https://bugs.webkit.org/show_bug.cgi?id=84143
>
> Hopefully soon in trunk :)
>
> The error you have seem to be related to inspector resources access.
> Have you set the WEBKIT_INSPECTOR_PATH environment variable? It should
> point to the inspector's resources directory.

I had to run make install to make it work, I didn't know the
WEBKIT_INSPECTOR_PATH magic, I guess GtkLauncher should set that env var
to use the not-installed resources.

> Philippe
>
>
> On Thu, 2012-04-19 at 19:03 +0000, souvik.datta at wipro.com wrote:
> > Hello,
> > I have managed to integrate web inspector with GtkLauncher but when I start the GtkLauncher with --enable-developer-extras=true and then click on the Inspect menu item (obtained by right clicking on the browser), I can see a window with title "Inspector" popping up, but inside the window I am getting error : "Error opening file: No such file or directory".
> >
> > Please note : the same web inspector patch for file main.c (in Tools/GtkLauncher) is working fine in another setup. Can some one please tell me
> > what could be the reason for getting this kind of error?
> >
> > Thanks and Regards,
> > Souvik
> > Please do not print this email unless it is absolutely necessary.
> >
> > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
> >
> > www.wipro.com
> > _______________________________________________
> > webkit-gtk mailing list
> > webkit-gtk at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
> >
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

--
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the webkit-gtk mailing list