Ext JS在WebKitGTK webkit_web_view中 [英] Ext JS in a WebKitGTK webkit_web_view

查看:221
本文介绍了Ext JS在WebKitGTK webkit_web_view中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将网络浏览器嵌入到gtk项目中。我试图使用WebKitGTK(但我没有承诺),每次我尝试使用它来解析Ext JS页面时,它会崩溃整个应用程序。这里是输出,以及我如何包括.js文件...

I'm trying to embed a web browser into a gtk project. I'm trying to use WebKitGTK (but I'm not committed to it), every time I try and use it to parse an Ext JS page, it crashes the entire application. Here's the output, and how I'm including the .js files...

** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded
** (ttocui_gtk:16360): DEBUG: NP_Initialize
** (ttocui_gtk:16360): DEBUG: NP_Initialize succeeded

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_foreach: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
*** NSPlugin Wrapper *** ERROR: no valid NPP -> PluginInstance mapping found

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
*** NSPlugin Wrapper *** ERROR: no valid NPP -> PluginInstance mapping found

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_find: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
*** NSPlugin Wrapper *** ERROR: no valid NPP -> PluginInstance mapping found

(ttocui_gtk:16360): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
ttocui_gtk: /build/buildd/nspluginwrapper-1.2.2/src/npw-rpc.c:1225: do_recv_NPObject: Assertion `npobj != ((void *)0)' failed.
*** NSPlugin Viewer  *** ERROR: NPN_GetProperty() wait for reply: Connection reset by peer
*** NSPlugin Viewer  *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-viewer.c:898):invoke_NPN_GetValue: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
Aborted
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer  *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-viewer.c:898):invoke_NPN_GetValue: assertion failed:(rpc_method_invoke_possible(g_rpc_connection))

.js文件...

<link rel="stylesheet" type="text/css" href="/ext3.2.1/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="/ext3.2.1/resources/css/xtheme-access.css"/>

<script type="text/javascript" src="/ext3.2.1/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/ext3.2.1/ext-all-debug.js"></script>

任何建议都会很棒,这真是我唯一的障碍。感谢!

Any suggestions would be great, this is really my only roadblock left. Thanks!

推荐答案

这是我使用的Flash插件的Ubuntu问题。这是堆栈跟踪。

This is an Ubuntu issue with the flash plugin I was using. Here's the stack trace.

Program received signal SIGABRT, Aborted.
0x00007ffff159cd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) where
#0  0x00007ffff159cd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff15a0ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff15957c5 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007fffe03974d9 in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#4  0x00007fffe039bfef in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#5  0x00007fffe039ca1d in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#6  0x00007fffe039cf1b in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#7  0x00007fffe039154b in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#8  0x00007fffe039ac75 in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#9  0x00007fffe039ae67 in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#10 0x00007fffe039c5f1 in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#11 0x00007fffe039cfcf in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#12 0x00007fffe0395d61 in ?? () from /var/lib/flashplugin-installer/npwrapper.libflashplayer.so
#13 0x00007ffff57e1cc9 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#14 0x00007ffff57e23eb in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#15 0x00007ffff57be586 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#16 0x00007ffff58cc667 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#17 0x00007ffff58ccd07 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#18 0x00007ffff5894ee7 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#19 0x00007ffff56ec2fd in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#20 0x00007ffff56ec7ac in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#21 0x00007ffff55c705b in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#22 0x00007ffff57397bf in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#23 0x00007ffff573b756 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#24 0x00007ffff573b8b9 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#25 0x00007ffff573c3a8 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#26 0x00007ffff544fc38 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#27 0x00007ffff55c57ed in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#28 0x00007ffff55cbbf1 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#29 0x00007ffff5357fa6 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#30 0x00007ffff5358193 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#31 0x00007ffff53584c4 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#32 0x00007ffff5c0e559 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#33 0x00007ffff5f03766 in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#34 0x00007ffff5f01bcf in ?? () from /usr/lib/libwebkitgtk-3.0.so.0
#35 0x00007fffe5526d10 in ?? ()
#36 0x0000000000000000 in ?? ()

这篇关于Ext JS在WebKitGTK webkit_web_view中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆