Webkit浏览器的检查员缺少一些东西

问题描述 投票:17回答:1

我正在使用像this这样的Webkit浏览器检查程序。

当我在Ubuntu 12.10中运行它时,我在使用检查器时遇到错误。例如:

** 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.

我还注意到当你在下半部分有控制台时,面包屑/滑动条没有显示:

我在早期版本中不记得这个,当我使用GTK3版本(from gi.repository import WebKit等)时,它有类似的问题,更糟糕的是,滚动条顶部和底部没有箭头。我是否错过了初始化Webkit检查器或英语语言环境的步骤?

我想调试此问题,但由于检查器对象不是webview对象,我不确定是否可以向检查器添加检查器? (例如,当检查器是Chrome / Chromium中的自己的窗口时,您可以使用F12,这样可以调试该检查器)。它应该是可能的,但是maybe not with pyGTK

更新:我在12.04 Ubuntu上测试了这个,并没有注意到上面的问题。我报告了一个bug here。这是否与每个12.10计算机中的某个程序包冲突,或者我的配置设置不正确?

更新:同样的问题发生在13.04。

ubuntu webkit gtk gtk3
1个回答
0
投票

谷歌浏览器的某些先前版本存在同样的问题。解决它的唯一办法就是重新启动网络检查员。

© www.soinside.com 2019 - 2024. All rights reserved.