IPython Notebook fails to launch Firefox

Archived topics about LMDE 1 and LMDE 2
Locked
dclement

IPython Notebook fails to launch Firefox

Post by dclement »

Hello,

I'm using IPython Notebook for my students. This software is convenient for mixing mathematics and Python computations. It runs a server (of Python commands I assume) at http://localhost:8888/.

Normally, after starting up, it opens the default browser at the above address. But in the latest (>= 46 ?) versions of Firefox, I noticed that Firefox would not start. Instead (in a terminal), I get this fascinating error message:

Code: Select all

[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
However, if I start Firefox manually and point it to http://localhost:8888/, I can see the "notebooks" as expected, and begin computations normally.

My workaround so far has been to switch to Iceweasel as default browser. It's a few versions behind, so for now it doesn't exhibit this problem (nor the above error). But that's bound to arise also in Iceweasel eventually, so I'm looking for a more permanent fix.

TIA for any advice. Best regards, Daniel
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “LMDE Archive”