Problem with migrated document
I had a document with about 50 citations, with some comments and changes enabled.
I then had to switch to another computer, where as suggested I have brought by full Zotero database. Using Ubuntu, installing Firefox (tested 25 to 29), LibreOffice 4.2.1, and Zotero for Firefox with the LibreOffice plugin.
I have several errors which may or may not be related:
- When trying to sync my Zotero database to the Zotero server, I get the error:
"The file '[xxx].pdf' cannot be updated.
Check that the file is not currently in use and that its permissions allow write access."
Permissions are fine. My user can correctly write these files, stored in an NTFS filesystem. Exactly the same as in my previous computer, but here synchronisation is failing, whereas it was working correctly in the other one. The Debug ID when starting Firefox, including the synchronisation is D1845108694.
- Furthermore, and most importantly, Zotero is practically unusable from within LibreOffice. When I select an operation (like opening the preferences Window), it works the first time after I've started Firefox and LibreOffice, but not always. This is the error I get sometimes when opening the preferences window:
Zotero experienced an error updating your document.\n\nassignment to undeclared variable needUpdate
The Debug ID is D708278223.
I think this is even worse with Firefox 29 than it was with Firefox 25, with which at least I could open the preferences dialog once. After clicking ok, nothing worked anymore until I closed LibreOffice and Firefox and restarted both.
- Very likely related to the previous issues, the formatting of the citations and the references list is messed up. Some appear duplicated, like: "(Drewes, 2010)[1](Drewes, 2010)(Drewes, 2010)[1](Drewes, 2010)(Drewes, 2010)"). I've tried changing the citing format, but the reference table is never changing style.
I hope all this is related to one or two small root issues.
I will try to troubleshoot this by removing factors. Nevertheless, any help or guidance would be welcome.
I then had to switch to another computer, where as suggested I have brought by full Zotero database. Using Ubuntu, installing Firefox (tested 25 to 29), LibreOffice 4.2.1, and Zotero for Firefox with the LibreOffice plugin.
I have several errors which may or may not be related:
- When trying to sync my Zotero database to the Zotero server, I get the error:
"The file '[xxx].pdf' cannot be updated.
Check that the file is not currently in use and that its permissions allow write access."
Permissions are fine. My user can correctly write these files, stored in an NTFS filesystem. Exactly the same as in my previous computer, but here synchronisation is failing, whereas it was working correctly in the other one. The Debug ID when starting Firefox, including the synchronisation is D1845108694.
- Furthermore, and most importantly, Zotero is practically unusable from within LibreOffice. When I select an operation (like opening the preferences Window), it works the first time after I've started Firefox and LibreOffice, but not always. This is the error I get sometimes when opening the preferences window:
Zotero experienced an error updating your document.\n\nassignment to undeclared variable needUpdate
The Debug ID is D708278223.
I think this is even worse with Firefox 29 than it was with Firefox 25, with which at least I could open the preferences dialog once. After clicking ok, nothing worked anymore until I closed LibreOffice and Firefox and restarted both.
- Very likely related to the previous issues, the formatting of the citations and the references list is messed up. Some appear duplicated, like: "(Drewes, 2010)[1](Drewes, 2010)(Drewes, 2010)[1](Drewes, 2010)(Drewes, 2010)"). I've tried changing the citing format, but the reference table is never changing style.
I hope all this is related to one or two small root issues.
I will try to troubleshoot this by removing factors. Nevertheless, any help or guidance would be welcome.
I've removed the tracking of changes in the document so as to decrease the number of factors, and executed new tests, now with Zotero Standalone.
- Clicking on the Refresh button: The Debug ID is D817427145.
- Clicking on Set Document Properties: The Debug ID is D1735835896 (after showing the dialog and pressing OK).
- Adding a citation: The Debug ID is D1923976028 (the citation is added to the document, but the popup window with the progress bar stays open at around 70%).
Each of these tests are performed on clean instances:
- Run Zotero Standalone
- Run LibreOffice
- Enable Debug
- Execute action
- Stop Debug and send to server
- Close LibreOffice
- Close Zotero Standalone
- kill some zombie zotero process that stays in the background (otherwise I cannot execute Zotero again)
Following this approach about 30 times, choosing the Set Document Properties each time and just pressing OK (so the Zotero references are refreshed) I've solved the citations that were printing incorrectly. But the citations list at the end of the document still doesn't refresh: The Debug ID is D250164377.
It looks like the Zotero field codes in the document were corrupted for some reason. In my action yesterday I fixed the citations, but when the citations list was refreshing it was still crashing. After accepting all the changes, the list now refreshes correctly.
So, I guess there were some corrupted citation entries marked as unconfirmed changes, and the Zotero plugin wasn't completely able to ignore them.
So, watch out when updating.
Anyway, I guess that incompatibility has been fixed now, as Firefox 29 with the Zotero 4.0 beta is apparently working fine.