22

I'm using a Webkit browser inspector like this.

When I run it in Ubuntu 12.10, I'm getting errors when using the inspector. For example:

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Go to line" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Filter" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Search Previous" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Search Next" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "α:" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "%d of %d" not found.


(geany:2487): Gdk-CRITICAL **: IA__gdk_error_trap_pop: assertion `gdk_error_traps != NULL' failed
** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Sources Panel" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Toggle breakpoint" not found.

** Message: console message: file:///usr/share/webkitgtk-1.0/webinspector/UIString.js @42: Localized string "Painting" not found.

I also noticed the breadcrumb/slider bar doesn't show when you have the console in the lower half:

Blank bar

I don't remember this in earlier versions, and when I use the GTK3 version (from gi.repository import WebKit etc) it has a similar problem and is even worse, scrollbars don't have arrows at top and bottom. Am I missing a step on initializing the Webkit inspector or English locale for it?

I would like to debug this issue, but since the inspector object isn't a webview object, I'm not sure I can add an inspector to the inspector? (like how you can use F12 when the inspector is its own window in Chrome/Chromium, which lets you debug that inspector). It should be possible, but maybe not with pyGTK?

Update: I tested this on 12.04 Ubuntu and didn't notice the problem above. I reported a bug here. Is this a conflict with some package in every 12.10 computer, or do I have my configuration set up incorrectly?

Update: The same problem is happening in 13.04.

Nmk
  • 1,169
  • 2
  • 10
  • 23
NoBugs
  • 8,418
  • 10
  • 72
  • 132
  • 2
    It may even be a problem with the themes that are being available for your gtk libraries. I wouldn't be surprised if that were the case, given the constant flux of changes in gtk. What happens when you try to change the theme of the environment and then restart the application (which I guess is tunesviewer, right?). – rbrito Nov 18 '12 at 01:50
  • I'm getting the same problem no matter the GTK theme. The problem persists in Tunesviewer as well as any Python-based Webkit view. (even a simple example such as this: http://theravingrick.blogspot.com/2012/04/making-gtkwebkit-inspector-and-enable.html ) – NoBugs Nov 18 '12 at 04:33
  • Humm, strange. [Here](http://i.imgur.com/OnvH0.png) is what I see in my pure Debian system. – rbrito Nov 18 '12 at 14:46
  • @rbrito can you check which version of gtk and python-webkit-gtk this was working on? Also, which version of webkit is it? (`navigator.userAgent` will give you Webkit/versionnumber) – NoBugs Nov 18 '12 at 22:02
  • It's also happening in Midori (but not Chromium), so I don't think anything's wrong in Python-GTK. – NoBugs Nov 20 '12 at 01:44
  • I still don't see the problem with Midori in Debian's unstable as of Aug 20. Do you want a screenshot? – rbrito Aug 20 '13 at 20:25
  • Thanks, I'd like a list of libraries/versions that work, to know where to debug this issue. – NoBugs Aug 21 '13 at 00:53

1 Answers1

0

I had the same problem with Google Chrome some previous versions. The only thing that solved it was restart the web inspector.