NoB*_*ugs 18 gtk ubuntu webkit gtk3
我正在使用像这样的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.
Run Code Online (Sandbox Code Playgroud)
我还注意到当你在下半部分有控制台时,面包屑/滑动条没有显示:
我在早期版本中不记得这个,当我使用GTK3版本(from gi.repository import WebKit
等)它有类似的问题,更糟糕的是,滚动条顶部和底部没有箭头.我是否错过了初始化Webkit检查器或英语语言环境的步骤?
我想调试此问题,但由于检查器对象不是webview对象,我不确定是否可以向检查器添加检查器?(例如,当检查器是Chrome/Chromium中的自己的窗口时,您可以使用F12,这样可以调试该检查器).它应该是可能的,但也许不适用于pyGTK?
更新: 我在12.04 Ubuntu上测试了这个,并没有注意到上面的问题.我在这里报告了一个错误.这是否与每个12.10计算机中的某个程序包冲突,或者我的配置设置不正确?
更新: 同样的问题发生在13.04.
归档时间: |
|
查看次数: |
1139 次 |
最近记录: |