Ubuntu 14.04 conkeror启动问题

最近Ubuntu 14.04 几次系统升级后,conkeror启动出错:

Error initializing.
Error: Error opening input stream (invalid filename?): chrome://conkeror/content/io

解决方法是修改/opt/conkeror/debian/conkeror/usr/share/conkeror/components/application.js文件的代码:(我的conkeror编译目录在/opt下)

从163行代码开始:

                } catch (e if (typeof e == ‘string‘ &&
                               {"ContentLength not available (not a local URL?)":true,
                                "Error creating channel (invalid URL scheme?)":true,
			        "Error opening input stream (invalid filename?)":true,
                                "Error opening input stream (invalid filename?): chrome://conkeror/content/io":true,
                                "Error opening input stream (invalid filename?): chrome://conkeror/content/content-policy":true}
                               [e])) {
                    // null op. (suppress error, try next path)
                }

然后复制到/usr/share目录下:

sudo cp -r /opt/conkeror/debian/conkeror/usr/share/conkeror /usr/share/ 



郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。