Upgrade Problems with Zotero 1.0
Our latest RC releases have exposed some problems in Firefox's underlying storage mechanism, which Zotero uses to store its data. In a very small number of cases, upgrading Zotero may return an error message similar to the following:
Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: line 96" data: no] [QUERY: INSERT INTO fulltextItemWords SELECT * FROM fulltextItems] [ERROR: database disk image is malformed]
An automated repair tool is available to correct these errors. Please see the following message.
We have made modifications to our own code to work around this problem going forward, and preliminary testing with early versions of Mozilla's next major release (Firefox 3.0) indicates that it should not recur in the future.
Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: line 96" data: no] [QUERY: INSERT INTO fulltextItemWords SELECT * FROM fulltextItems] [ERROR: database disk image is malformed]
An automated repair tool is available to correct these errors. Please see the following message.
We have made modifications to our own code to work around this problem going forward, and preliminary testing with early versions of Mozilla's next major release (Firefox 3.0) indicates that it should not recur in the future.
This discussion has been closed.
http://www.zotero.org/utils/dbfix/
Thx in advance
With the csledit.xul I get
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/cite.js :: init :: line 1212" data: no]
When I try a right click to show entry as a bibliography I see
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/cite_compat.js :: anonymous :: line 161" data: no]
It might just be something I messed around with but I haven't altered anything after the 1.0.0 release.
Any ideas?
I've also added new citation styles which were working ok on rc5.
Thats the limit of my tinkering.
I'm running windows xp, zotero 1.0 openoffice extension 1.0b1
Sent an error report.
1266313043
[JavaScript Error: "redeclaration of const kSaveAsType_Complete" {file: "chrome://global/content/contentAreaUtils.js" line: 118}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/cite_compat.js :: anonymous :: line 161" data: no]" {file: "chrome://zotero/content/xpcom/cite_compat.js" line: 161}]
[JavaScript Error: "event has no properties" {file: "chrome://tabprefs/content/script/misc.js" line: 99}]
[JavaScript Error: "redeclaration of const kSaveAsType_Complete" {file: "chrome://global/content/contentAreaUtils.js" line: 118}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/cite_compat.js :: anonymous :: line 161" data: no]" {file: "chrome://zotero/content/xpcom/cite_compat.js" line: 161}]
http://forums.zotero.org/discussion/1554
that was fixed by changing the locale and now the communication problem is fixed too.
I was running with en-GB which falls over on this.
Wrapping a try/catch around the res.send(null) works, as does changing you're locale to one that it has files for.
Due to the database size limit on your dbfix tool, may want to consider mentioning what to do in that case...Perhaps a link on the dbfix web page to
http://forums.zotero.org/discussion/2607/ ?
I could not use the dbfix tool as my database was too big, but by following instructions at that other page, I seemed to have fixed the size problem.