码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu 14.04 conkeror启动问题

时间:2015-02-27 13:35:29      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:emacs   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/ 



Ubuntu 14.04 conkeror启动问题

标签:emacs   conkeror   

原文地址:http://blog.csdn.net/csfreebird/article/details/43966511

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!