IPython Notebook没有启动Firefox

时间:2016-05-30 13:33:58

标签: firefox jupyter-notebook

我已经为我的学生使用IPython Notebook两年了。

但是,在最新的(> = 46?)版本的Firefox中,我注意到Firefox不会再启动了。 (这是在Linux Debian Jessie下。)

相反(如果我从终端启动IPython Notebook),我被这个错误消息所淹没:

[W 17:50:29.933 NotebookApp] ipywidgets package not installed.  Widgets are unavailable.
[I 17:50:29.947 NotebookApp] Serving notebooks from local directory: /home/daniel
[I 17:50:29.947 NotebookApp] 0 active kernels
[I 17:50:29.947 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 17:50:29.947 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
1464018631008   FirefoxAccounts   ERROR   Failed to get data from the login manager: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: resource://gre/modules/XPCOMUtils.jsm :: XPCU_serviceLambda :: line 230"  data: no] Stack trace: XPCU_serviceLambda()@resource://gre/modules/XPCOMUtils.jsm:230 < XPCU_defineLazyGetter/<.get()@resource://gre/modules/XPCOMUtils.jsm:198 < LoginManagerStorage.prototype.get<()@resource://gre/modules/FxAccountsStorage.jsm:556 < TaskImpl_run()@resource://gre/modules/Task.jsm:315 < TaskImpl()@resource://gre/modules/Task.jsm:276 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:250 < this.FxAccountsStorageManager.prototype._doReadAndUpdateSecure<()@resource://gre/modules/FxAccountsStorage.jsm:319 < TaskImpl_run()@resource://gre/modules/Task.jsm:315 < TaskImpl()@resource://gre/modules/Task.jsm:276 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:250 < this.FxAccountsStorageManager.prototype._initialize<()@resource://gre/modules/FxAccountsStorage.jsm:88 < TaskImpl_run()@resource://gre/modules/Task.jsm:315 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812 < this.PromiseWalker.scheduleWalkerLoop/<()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746 < Spinner.prototype.observe()@resource://gre/modules/AsyncShutdown.jsm:529
1464018631014   addons.xpi-utils   ERROR   Failed to load XPI JSON data from profile: TypeError: XPIProvider.installLocationsByName is null (resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:331:5) JS Stack trace: DBAddonInternal@XPIProviderUtils.js:331:5 < this.XPIDatabase.parseDB@XPIProviderUtils.js:662:24 < this.XPIDatabase.asyncLoadDB/this._dbPromise<@XPIProviderUtils.js:765:9 < Handler.prototype.process@Promise-backend.js:933:23 < this.PromiseWalker.walkerLoop@Promise-backend.js:812:7 < this.PromiseWalker.scheduleWalkerLoop/<@Promise-backend.js:746:11 < Spinner.prototype.observe@AsyncShutdown.jsm:529:9
1464018631016   addons.xpi-utils   WARN   Rebuilding add-ons database from installed extensions.
1464018631016   addons.xpi-utils   ERROR   Failed to rebuild XPI database from installed extensions: TypeError: XPIProvider.installLocations is null (resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1906:14) JS Stack trace: processFileChanges@XPIProviderUtils.js:1906:14 < this.XPIDatabase.rebuildDatabase@XPIProviderUtils.js:812:9 < this.XPIDatabase.parseDB@XPIProviderUtils.js:683:7 < this.XPIDatabase.asyncLoadDB/this._dbPromise<@XPIProviderUtils.js:765:9 < Handler.prototype.process@Promise-backend.js:933:23 < this.PromiseWalker.walkerLoop@Promise-backend.js:812:7 < this.PromiseWalker.scheduleWalkerLoop/<@Promise-backend.js:746:11 < Spinner.prototype.observe@AsyncShutdown.jsm:529:9

但是,如果我之后手动启动Firefox并将其指向http://localhost:8888/,我可以按预期看到笔记本电脑,它们功能齐全。

我发现没有比转换为Iceweasel作为默认浏览器更好的解决方法。它落后于几个版本号,所以现在它没有表现出这个问题(也没有上述错误)。但显然,这只是一个临时解决方案,所以我正在寻找一个更永久的解决方案。

TIA有任何建议。最好的问候,丹尼尔

0 个答案:

没有答案