google gadget for linux 0.11.2 error: js-script-runtime cannot be loaded
来源:互联网 发布:千牛工作台有mac版本吗 编辑:程序博客网 时间:2024/05/17 18:41
通过多天的研究,终于将google gaddget for linux 编译成功了,同时解决了以前安装时出现的一个问题,现分享出来.
js-script-runtime cannot be loaded
安装完google gadget之后,很有可能出现上面的错误,现分析如下:
1) google gadget有两种启动方式, ggl-qt和ggl-gtk, 分别使用qt界面库和gtk界面库, 这都不是关键,关键的是两个启动方式分别支持不同的javascript库
2) google gadget使用webkit, xulrunner 和 qt 三种javascript 解析库,出现上面的问题主要是因为这个原因,安装时缺省使用的gtk和xulrunner. 而xulrunner已经做了个大版本的升级,导致基于旧版本的程序无法使用,通过查看代码,发现google gadget使用的是xulrunner 1.9版本,而我们机器上大多是xulrunner 2.0以上的。
解决方案:
1) 将xulrunner回退到1.9版本,即可成功
2) 使用ggl-qt 启动, 这里缺省的也是使用xulrunner 1.9 版本的,但我们可以加启动参数 -s qt 来使用qt的javascript库
3) 使用ggl-gtk启动,加启动参数 -hs webkit,以使用webkit的javascript库.
两种启动方案所使用的javascript库如下:
ggl-qt 缺省 xulrunner 1.9, 通过 -s qt 来用qt js 库, 两种。
ggl-gtk缺省的也是 xulrunner 1.9, 通过 -hs webkit 来使用 webkit, 两种
- google gadget for linux 0.11.2 error: js-script-runtime cannot be loaded
- Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols loaded.
- cipd.ps1 cannot be loaded.
- google app script mail gadget参考资料
- 解决:开启了debug但是Error: debugging information for 'myproject.exe' cannot be found or does not match. No symbols loaded.
- No symbol are loaded for any call stack frame.The source code cannot be displayed.
- “firefox profile cannot be loaded" "server cannot be found"
- Linux-USB Gadget : Part 2: USB Gadget API for Linux (From Linux kernel 2.6.25.10)
- Error: Skin for * cannot be found. -isolate-styles=false
- Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additio
- Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additio
- The document appears to be corrupted and cannot be loaded
- 【问题及解决】script_score the script could not be loaded
- Hololens开发-The associated script can not be loaded
- error: a host function call cannot be configured CUDA Linux
- Linux下连接oracle,出现cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: “
- ReflectionTypeLoadException: The classes in the module cannot be loaded.
- cocos2d-js 使用http时 出现 Response failed, error buffer: The resource could not be loaded because the Ap
- Java 线程池
- Linux中的lo回环接口详细介绍
- C#错误类
- 匈牙利命名法
- Lua使用心得(1)
- google gadget for linux 0.11.2 error: js-script-runtime cannot be loaded
- C# 中的委托和事件
- ActiveMQ 1
- MDI格式文件的打开与转换(pdf)
- Ubuntu 11.10 GCC4.5 GCC4.6无缝切换
- android中listView下有Button按钮始终在最底部
- Android有趣的全透明效果--Activity及Dialog的全透明(附android系统自带图标大全)
- 给右键菜单加入CMD命令行快速通道
- hydra 暴力破解工具