Report 2129562282
I run Zotero on my Mac, sometimes via WinXP, sometimes via Mac OS, Firefox 3.6.10. Twice I had the same kind of error, in the middle of saving a reference from a library catalog to a collection I got the following. Also the library appeared to be synching (green arrow turning) while I was saving--should I not do anything in Zotero while green arrow is turning?
Got these messages:
[JavaScript Error: "uncaught exception: getFile() can only be called on attachment items"]
[JavaScript Error: "getFile() can only be called on attachment items" {file: "chrome://zotero/content/xpcom/sync.js" line: 872}]
[JavaScript Error: "getFile() can only be called on attachment items" {file: "chrome://zotero/content/xpcom/sync.js" line: 872}]
Got these messages:
[JavaScript Error: "uncaught exception: getFile() can only be called on attachment items"]
[JavaScript Error: "getFile() can only be called on attachment items" {file: "chrome://zotero/content/xpcom/sync.js" line: 872}]
[JavaScript Error: "getFile() can only be called on attachment items" {file: "chrome://zotero/content/xpcom/sync.js" line: 872}]
But the new sqlite file didn't seem to be any different from the one I had had before the damage, i.e. the references I had added yesterday morning were not there.
Perhaps this problem is a result of that damage problem and the way I solved it?
Ideally, she'd like to solve the sync problem. Next best would be getting the database in a consistent state under Parallels/Windows and all future work would be done there.
Thanks in advance for any advice.
Report ID: 1810616663
To reproduce the error I just press the green arrow and I have checked in my preferences "Sync attachment files using Zotero library". If I uncheck that, I don't get an error message.
I use Mac OSX but also Windows XP in Parallels. I do use Wordperfect, hence Parallels but I have not yet ever tried to use Zotero within Wordperfect. I made sure that I have the same edition of Firefox (3.6.10) in both XP and Parallels.
It does indeed perhaps make most sense to use Zotero only in Firefox/Parallels, because then I can switch more easily back and forth from Wordperfect to Zotero.
My profile path is under "places", my name, Library, Application Support, Firefox, Profiles, string of letters and numbers.
What other info do you need?
D605193025
D1655299599
These are three different (consecutive) synch attempts.
You can use the database repair tool at http://zotero.org/utils/dbfix to attempt to correct these errors
Dan, if you want me to use the DB tool, which I already did once a few days ago:
1. Do I delete the sqlite.damaged files (of which I now have 3)
2. Do I replace the current sqlite file with the one the DB tool gives me to download?
3. Please give detailed directions, I'm a newbie. Thanks!
The repair tool provides full instructions. Once the problem is resolved you can delete the .damaged files. Make a backup of everything first, as the tool says.
For instance, would you recommend saving the Zotero file somewhere like my desktop, and then maybe deleting BOTH Firefox applications (OS and XP) and profiles and Zotero files associated with them, then downloading Firefox in only ONE operating system, and then downloading Zotero again, and then replace the empty, new file with my saved one from my desktop? Would that make it a healthy arrangement?
If this is a good setup, should I do this before or after the DB tool use?
If you want to use Zotero in both OSes, use a separate data directory (native to each OS) and use Zotero syncing to keep them in sync.
And I'm going to use Firefox in XP/Parallels, and Safari in OS, to avoid even the chance of having two copies of Zotero going at once.
I'll post again if there are problems when I test the file synching, but if not, THANK YOU DAN!
I got the same error "getFile() can only be called on attachment items" ID: 434135300.
Server synchronization worked fine after emptying the trash. I know it sounds silly, but you could try that.