Startup crash: Zotero trying to access Firefox browser default profile
On clean install of Zotero 7the Windows application crashes on start with the following error [Username and profile folder redacted]:
NotAllowedError: Could not open the file at C:\Users\[USERNAME]\AppData\Roaming\Mozilla\Firefox\Profiles\[XXXXXX].default\prefs.js
(No stack trace)
From previous event:
this.init@chrome://zotero/content/xpcom/zotero.js:273:34
getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:13
Zotero.Intl</<@chrome://zotero/content/xpcom/intl.js:100:35
Zotero.Intl</this.getString@chrome://zotero/content/xpcom/intl.js:144:18
this.getString@chrome://zotero/content/xpcom/zotero.js:1523:24
ZoteroPane<@chrome://zotero/content/zoteroPane.js:3176:19
@chrome://zotero/content/zoteroPane.js:31:18
@chrome://zotero/content/zoteroPane.xhtml:82:25
It seems that Zotero is trying to access browser default profile instead of its own.
Running "zotero.exe -P" lists one default profile, hovering shows correct path to Zotero's AppData\Roaming folder. Choosing the default profile did not solve the issue so far.
Debug ID: D1392068580
Re-installing, restarting, installing Zotero 6 has already been tried.
I would be grateful for your advice!
NotAllowedError: Could not open the file at C:\Users\[USERNAME]\AppData\Roaming\Mozilla\Firefox\Profiles\[XXXXXX].default\prefs.js
(No stack trace)
From previous event:
this.init@chrome://zotero/content/xpcom/zotero.js:273:34
getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:13
Zotero.Intl</<@chrome://zotero/content/xpcom/intl.js:100:35
Zotero.Intl</this.getString@chrome://zotero/content/xpcom/intl.js:144:18
this.getString@chrome://zotero/content/xpcom/zotero.js:1523:24
ZoteroPane<@chrome://zotero/content/zoteroPane.js:3176:19
@chrome://zotero/content/zoteroPane.js:31:18
@chrome://zotero/content/zoteroPane.xhtml:82:25
It seems that Zotero is trying to access browser default profile instead of its own.
Running "zotero.exe -P" lists one default profile, hovering shows correct path to Zotero's AppData\Roaming folder. Choosing the default profile did not solve the issue so far.
Debug ID: D1392068580
Re-installing, restarting, installing Zotero 6 has already been tried.
I would be grateful for your advice!
Upgrade Storage
We'll fix this, but you may be able to work around this by running Zotero once from the command line with this command:
C:\Program Files\Zotero\zotero.exe -datadir C:\Users\[username]\ZoteroThen try running Zotero normally.
Are there any limitations, or something to keep in mind when using or updating Zotero?
Please let me know if there is anything to do after the code is fixed.