[Solved] "There was an error starting Zotero" -- Exception in chrome://zotero/content/xpcom/db.js
Hi,
Since I upgraded Zotero [under Firefox/Iceweasel under Debian], it won't start anymore. I upgraded to the latest Firefox, Uninstalled Zotero and installed it again, removed compreg.dat and xpti.dat but the problem persists. The Error Console shows the following error:
There is a thread in the forum with a similar problem where Check Database Integrity worked, but that does nothing for me.
One more detail: I'm on a Debian stable system and have been using the default Iceweasel 3.0.6; in my attempt to solve the Zotero problem, I installed a Firefox 3.6.10 binary.
What can I do?
Since I upgraded Zotero [under Firefox/Iceweasel under Debian], it won't start anymore. I upgraded to the latest Firefox, Uninstalled Zotero and installed it again, removed compreg.dat and xpti.dat but the problem persists. The Error Console shows the following error:
When I open the Zotero Preferences (that still works), the Console repeats the first error and adds:
Error: [Exception... "Component returned failure code: 0x80630002 [mozIStorageService.openDatabase]" nsresult: "0x80630002 ()" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: line 1058" data: no]
Source File: chrome://zotero/content/xpcom/zotero.js
Line: 341
The Zotero Debug Log shows no errors:
Error: Zotero.Proxies.proxies.slice is not a function
Source File: chrome://zotero/content/preferences/preferences.js
Line: 1716
and several more messages like the last one, 20 lines total.
(3)(+0000000): Using data directory ...
(3)(+0000000): Opening database 'zotero'
(3)(+0089263): Getting Zotero sync password
(3)(+0000005): Opening database 'zotero'
(3)(+0000256): Cached 16 styles in 19 ms
(3)(+0000000): DATE: retrieved with algorithms: ({year:2009, month:8, day:14})
[...]
There is a thread in the forum with a similar problem where Check Database Integrity worked, but that does nothing for me.
One more detail: I'm on a Debian stable system and have been using the default Iceweasel 3.0.6; in my attempt to solve the Zotero problem, I installed a Firefox 3.6.10 binary.
What can I do?
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Security SW: Not as far as I know or can tell (I'm not an admin on this machine).
Thanks,
Elias
If the former, you might want to talk to your admin—there's not really anything else we can tell you without a more specific error (which you can almost always get by deleting compreg.dat and xpti.dat and restarting Firefox, but perhaps not in this case).
And if the latter, well, that's likely the problem.
I did delete compreg.dat and xpti.dat and restarted, but the only error messages (after setting showInConsole and checking 'Enable Debug Log after Restart' in Zotero Preferences) were the ones I posted.
Our admin says there is no security software, but also pointed to AFS as a possible issue.
Thanks,
Elias
You can try creating a new Firefox profile, installing Zotero into it, and pointing it to your current Zotero data directory.
When I did what you suggested, at first Zotero started normally with the new profile but crashed again once I had entered the custom data directory.
I have my Zotero data on my laptop too and sync via the Zotero server. Since Zotero started with a clean profile, can I just completely remove it, and get my data from the laptop or the server? As I said in the first post, I tried selecting Uninstall in the Firefox Extensions menu, but that didn't do the trick.
If not, the test would be to point Zotero to an empty custom data directory on AFS.
If so, is there a zotero.sqlite-journal in your existing custom data directory with Zotero closed? If so, delete it and try again. [Edit for posterity: Don't do this. It could result in database corruption, and if it helped it'd be due to some other root cause that needed to be fixed.]
FYI, everything was on AFS.