最近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,
r 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/