Errors in Google Docs
Hi,
I'm using Google Docs with Chrome and Windows 10.
I'm getting the messages below when i try to update citations.
I don't want to use Word or LibreOffice and want to stick with Google Docs.
Additionally all the citations were built in Google Docs and not in any other programs.
I now have nearly 1,000 citations in one document and am concerned that i might have lost 2 years of work. Help please.
Message 1.
Your document must be permanently upgraded in order to work with Zotero 5.0 or later. It is recommended that you make a backup before proceeding. Are you sure you want to continue?
I click Ok and then get:
Message 2.
Zotero cannot update this document because it was created by a different word processing application with an incompatible field encoding. In order to make a document compatible with both Word and LibreOffice, open the document in the word processor with which it was originally created and switch the field type to Bookmarks in the Zotero Document Preferences.
Charles,
I'm using Google Docs with Chrome and Windows 10.
I'm getting the messages below when i try to update citations.
I don't want to use Word or LibreOffice and want to stick with Google Docs.
Additionally all the citations were built in Google Docs and not in any other programs.
I now have nearly 1,000 citations in one document and am concerned that i might have lost 2 years of work. Help please.
Message 1.
Your document must be permanently upgraded in order to work with Zotero 5.0 or later. It is recommended that you make a backup before proceeding. Are you sure you want to continue?
I click Ok and then get:
Message 2.
Zotero cannot update this document because it was created by a different word processing application with an incompatible field encoding. In order to make a document compatible with both Word and LibreOffice, open the document in the word processor with which it was originally created and switch the field type to Bookmarks in the Zotero Document Preferences.
Charles,
Have you tried simply restarting your browser and Zotero?
If that doesn't help, you should be able to make a copy of the doc and use version history to figure out when/why this broke.
I was trying to change a citation which seemed to link to the wrong articles. When i did this it failed 4 times in a row. I then closed everything and rebooted my computer, and then tried again when it was back. Butt his time i got the messages above. I do wonder if my copy of the Chrome connector has become corrupt.
I can roll back to an earlier saved version, but would like to hear what @adomasven thinks first. Charles
If you're able to reproduce this error in an excerpt of a copy of the document and don't mind sending a share link to support@zotero.org with a link to this thread, we'd be very interested to look at that.
So on the assumption that there was an individual citation causing the problem i cut the document into three roughly equal parts (chapters 1-5, 6-10 and 11-15). But the same errors 1 and 2 occur with each part when attempting to add a citation to any one of my 'chunks'..
Other failures or errors which occur with some frequency are:
3. "code": 429, "message": "Resource has been exhausted (e.g. check quota).",
and
4. This document is being edited by another user.
I have now upgraded to 100mb storage on google drive in case that was causing the quota problem, and only i edit this document, i've not shared it with anyone.
I also have seen the citation type page open unexpectedly, I'm using Vancover superscript and have nearly 1000 citations in my main document.
I also had problems with google drive showing as http rather than https and being flagged as not secure, but i think this is fixed now.
I also cleared my cash and deleted temp files. My internet download speed is 33mbps and upload 6mbps. Also the document was initially created in Word 2010, but all the citations were recreated manually in zotero rather than being imported. I export a copy to Word each month as a backup.
Any help much appreciated.
Another thing to try would be to select "Switch word processors.." from the Zotero menu in Google Docs on a copy of the latest version of this document. If that procedure completes successfully, go to the very bottom of the document and copy the line that starts with "DOCUMENT_PREFERENCES" and paste it here.
Note that the "DOCUMENT_PREFERENCES" text has to be a link to "https://www.zotero.org/google-docs/?". If you copy the text above and paste it directly into Google Docs it will work fine without any modifications.
I tried to "Switch word processors" with my data, but this repeatedly failed with each month end file i had kept in Google Docs. I finally got it to work with the file from the end of February 2020. I guess i will need to manually recreate all the document citation i made between then and now (about 600). Can you suggest how I might do this, and if Word 2010 is a good program to use from here on in?
DOCUMENT_PREFERENCES {"style":{"styleID":"http://www.zotero.org/styles/vancouver-superscript","locale":"en-GB","hasBibliography":true,"bibliographyStyleHasBeenSet":false},"prefs":{"fieldType":"Http","automaticJournalAbbreviations":true,"delayCitationUpdates":false,"noteType":0,"dontAskDelayCitationUpdates":true},"sessionID":"QCWB9xrq","zoteroVersion":"5.0.89","dataVersion":4}
Do note that the procedure I described above might allow you to restore your current version of the document to a functional condition. You just need to paste the first block of text at the start of the document, the second to the end of your document and then hit refresh in the Zotero menu.
Unfortunately the "Switch word processors" function only works on the February copy of my data. All the others fail and only seem to convert some of the citations into the new format. I'll have another go, but suspect i'll be working with the citations from the February version and the text and frozen citation numbers from September. Could i convert the citations in the current version into some other style. Currently i'm using Vancouver Superscript, which is just a number, if i have an author or title it would be easier to find them again.
The previous version (2020 08 15) refreshes ok, but then fails during 'switch word processors'.
I will try 2020 08 01 to see if that will refresh and complete 'switch word processors'.
I've cut the full version down by removing a lot of the text, but leaving the citations in place. I've shared that with you but the link is https://docs.google.com/document/d/1ByU9t5euMXqSqZC_hgmD997sZCPjxKuJE8J1CkRK5v8/edit?usp=sharing
If you can work out where the corruption is i would be very grateful and you could improve Zotero for future heavy users.
Charles
You have reached a size for this document so large that the operations Zotero needs to perform to update this document take too long on Google's servers and timeout, which has lead to the document corruption. I am not sure why a version from say one month ago doesn't work with Zotero, if you have used Zotero to cite since, but needless to say, this document is too much for Google docs, mostly because of its length (and to some smaller extent due to the number of citations in it).
I recommend moving this document to Word. The procedure will be complicated and take a while due to the corrupt nature of this document, but if you bear with it you can transfer the full current version of the document to Word along with all your Zotero citations intact.
1. You will need to split the document into a bunch of pieces, about 100 pages each. Do this by making copies of existing document and trimming the document where needed.
2. For each split of the document you will need to perform the procedure in the above comment precisely. I.e. the first piece of text has to be the very first thing to appear in the document, and the last piece of text has to be the very last thing.
3. When you start the refresh for each piece of the document it will take some time to update it, which will be aproximately equal to number of citations in the document * 5s. I.e. if there are 100 citations in a given piece of the document, it will take about 500 seconds or 8 minutes to update.
4. After the refresh that piece of the document will have citation editing restored. You should then use the "Switch word processors..." option in the Zotero menu, which will probably once again take about the same amount of time as the refresh above.
5. After this operation is complete you should download it from Google Docs as a .docx file.
6. Once you've done this for all pieces of the document you will have to import them into Word by clicking refresh in the Zotero plugin in Word. This should take much less time for each piece.
7. After you've refreshed all pieces of the document, you can recombine the document in Word by copy-pasting from one document to another.
You can try splitting the document into larger pieces than 100 pages, say 250, but I have not tried measuring how that will impact the speed of each refresh. If at any point a piece of the document fails to refresh with a "Zotero encountered an error" message, you should split that piece in half. You might want to run the full process of the steps above one piece at the time and make sure each one is successful before moving on to the next one. I estimate this process will take 3-4 hours for the number of citations that you have in this doc.
Overall, we're very sorry that you have to deal with this. We try to provide the best possible citing experience for all word processors and have spent countless hours working on ways to improve their performance and reduce the likelihood of corruption, yet with documents of such scope there is a chance for failure of grandiose scale, especially with online word processors.
Please let us know on whether you'll attempt the procedure and whether it's successful.
It was much easier than i expected and all i had to do was to follow your instructions.
There were 16 chapters in the latest corrupt copy of the document, so i split it into 16 whilst keeping a copy of the original.
The largest was 35 pages and the smallest 5.
They all refreshed successfully in less than 1 minute each.
They all allowed me to 'switch word processors' successfully again in less than a minute each.
I was able to export them to Word without problems, refresh them in Word, and then copy paste them into a new document which also refreshed successfully.
All together it took about 2 hours, and has saved me potentially a month of reentering the citations.
The only thing i would have done differently would have been to have left some blank lines below 'ZOTERO_TRANSFER_DOCUMENT' as it wiped out some of my chapter headings, though this was not a real problem.
Now Word allows me to add or edit citations in about 5 seconds where Google docs was taking 45 minutes.
Absolutely brilliant and amazing. Many thanks again.
Charles