Strange "blanked out" fields, Error #218911211
When I start Zotero on my desktop, there's a frustrating issue where it will not sync, and there are some entries which have their fields (notably titles) "blanked out" or scrambled. Here's a screenshot: http://i.imgur.com/BmFYq.png
These were all entries I had full info for. Note that the seventh one down has its publication date as its name. Strangely (and thankfully), my laptop doesn't have this problem.
Edited to add: To clarify, the "Error #" in the title is the "Report ID" of the issue.
These were all entries I had full info for. Note that the seventh one down has its publication date as its name. Strangely (and thankfully), my laptop doesn't have this problem.
Edited to add: To clarify, the "Error #" in the title is the "Report ID" of the issue.
http://forums.zotero.org/discussion/25200/
http://forums.zotero.org/discussion/25242/
From your screen shot I don't recognize your OS or theme.
The second thread is nothing like anything I am experiencing. To clarify, this is an issue with the stand-alone client.
Some other things worth noting:
-If I try to manually fix the blanked/scrambled data, Zotero will not save the changes. When I restart the client, they will be back to blank.
-The entries that are messed up are consistent. I am pretty sure it is always the same entries that have a problem.
-I got the error number from trying to sync. It threw an error and failed to sync. This is the error text:
==========================================================
[unrelated errors removed — D.S.]
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/data/item.js :: :: line 1722" data: no] [ERROR: insert on table "itemData" violates foreign key constraint "fki_itemData_valueID_itemDataValues_valueID"]"]
==========================================================
I don't think I ever had the Word integration extension. I don't even use Word, I use LibreOffice.
Error text:
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/data/item.js :: <TOP_LEVEL> :: line 1722" data: no] [ERROR: insert on table "itemData" violates foreign key constraint "fki_itemData_valueID_itemDataValues_valueID"]"]
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/data/item.js :: <TOP_LEVEL> :: line 1722" data: no] [ERROR: insert on table "itemData" violates foreign key constraint "fki_itemData_valueID_itemDataValues_valueID"]"]
Here are two related threads, follow Dan's directions in those, i.e. try to use the DB repair tool and if that doesn't work provide a debug ID:
http://forums.zotero.org/discussion/23701/error-when-dragging-and-dropping-a-collection-from-personal-library-to-group-library/
http://forums.zotero.org/discussion/22113/library-wont-load/
Going to look into what happens when I sync on my laptop, when I change field, etc. The tool generated this message:
Please reference Upload ID 508c23c5cdc75 in any correspondence with the Zotero team regarding this repair.
On the plus side, changes I make manually "stick" between re-starts of the client, so it is saving data correctly. Still not sure how this is not causing conflicts between the versions of entries on my laptop and desktop, but this seems fixed, even if I have to manually repair the data.
Can anyone think of any reason to not just copy the zotero.sqlite on my laptop to my desktop, by the way?
Let's say that in my collection is an entry for a book called "Winter Thoughts" by Jack Frost. The problem I was having on my desktop is that this would show up with the author, but not the title. On my laptop, though, both the title and author show up. When I fixed the database, and then synced on both devices, the entry for this book doesn't change anywhere. On my laptop, I see:
Title: Winter Thoughts
Author: Jack Frost
While on my desktop I see:
Title:
Author: Jack Frost
I can manually add the title back, but I don't understand why syncing doesn't change one entry to the other, either the "correct" version copied from laptop to desktop, or the "incorrect" copy from desktop to laptop. What you're saying is that the DB corruption changed the data without changing the modification time, so Zotero will not update the entry's data anywhere (since they have the same "last modified" time). If I make an arbitrary change in some field of the entry, will that prompt a sync that will either fix the data or force a manual conflict resolution?
Zotero.org has the correct data for all entries. Is there any way to force a specific entry to change to what's on the server?