Error while refreshing a large document
Report no: 542758186
I get an error when refreshing a document. I have tried steps 1-9 of the Troubleshooting instructions (as far as applicable). Step 10 is impractical as I have several hundred citations. (When I tried this in the past I got no conclusive result). I would therefore appreciate an indication of which citation is at fault. As it is a large document (a PhD thesis) I have automatic update turned off, but refresh the citations and bibliogrpahy at the end of each day. It takes up to an hour.
Thanks.
I get an error when refreshing a document. I have tried steps 1-9 of the Troubleshooting instructions (as far as applicable). Step 10 is impractical as I have several hundred citations. (When I tried this in the past I got no conclusive result). I would therefore appreciate an indication of which citation is at fault. As it is a large document (a PhD thesis) I have automatic update turned off, but refresh the citations and bibliogrpahy at the end of each day. It takes up to an hour.
Thanks.
I am disappointed that you do not have a better solution than step 10. This is extremely time consuming as each refresh takes about an hour ... to that is up to 10 hours to find the problem!
Since I do daily refreshes I was able to narrow my search by selecting the chapter I had last been working on, copying that to a new document and running the refresh. I confirmed the error was there.
I then separated out the four sections in the chapter. Three sections were OK; the problem was in the third. This consisted of 10 pages.
It is already getting complicated now because of course the page, section and footnote numbers are all different in the copies, so I have to note the page range from the original document section in the file name so I know where I am.
Of the 10 pages, I found the problem was in pages 6-10 (15 footnotes). I tried splitting pages 6-8 from 9-10 but taken individually, neither of these had any error!
I then tried taking each of the pages 6 to 10 individually from the original extract. Again none of them displayed any error.
I confirmed that the document section with all pages 6-10 still had the error. Next, I tried deleting the footnotes one at a time starting at the end. When I got to 13 the error went away. I then checked by deleting only footnote 13 from the page 6-10 extract (leaving 14 and 15 in). I confirmed then the error had gone away.
It seemed I had solved the problem, so I then went back to the original document and deleted the same footnote (by searching, it is #318 in that document). I refreshed and … the problem is still there.
See report 1915071296.
All this took an hour.
What do you suggest I do next?
If you can reproduce it reliably in a small section, then as the page says, you should send it to us at support@zotero.org with a link to this thread so that we can investigate and hopefully fix the underlying problem. You can remove any text you don't want to include as long as you can still reproduce the problem. It it makes you more comfortable, that's fine, but my point was just that doing it every day isn't particularly necessary — it just means your computer has to churn for a long time every day for no real reason. Even if you encounter a problem, there's no appreciable difference in the amount of time it takes to debug a 50 page document or a 100 page document. That's the benefit of the halving process.
In general, Zotero is certainly not happy with the index entries that are placed throughout the document (which you can see by enabling display of formatting marks under Home -> ¶), especially inside citations. It also seems that you have modified quite a few citations in the document manually. You should generally avoid that and fix the cited item metadata in Zotero instead (and then refresh the document), or modify the citation style.
Something is also definitely broken with the Zotero Word for Mac plugin, so that one's on us, although I haven't identified what's causing the error yet, and it might take a while to figure out and fix. In the meantime if you have access to a Windows computer the document (or at least the snippet you sent us) will refresh fine there, so that's the most immediate workaround. We'll post here once we have a fix for the Word for Mac plugin bugs. Sorry for the trouble!
2. The index entries are added automatically, using a concordance file, so I do not have control of where they are. I will however try removing them all by search-and-replace.
3. There are *accidental* edits to a few (I counted three) citations, but I always select 'no' to remove these when they are found.
4. Sorry I do not have access to a Windows computer at present. I look forward to a fix for the Mac plug-in.
5. I'll try Zotero Beta. Does that have an updatd Mac plug-in?
FYI, all index entries in a document can be removed as follows (after backing up the document):
1. press the ¶ button to reveal all field codes
2. type "^d XE" (not including the quotation marks) in the search box
3. leave the replace box blank
4. click 'replace all'
5. press the ¶ button to hide field codes
After doing that, my whole document refreshed OK without needing to go to Zotero Beta.
It would be good if you could fix Zotero to ignore all WORD fields!
In the meantime I guess the workaround is to run the indexing routine only AFTER refreshing Zotero, then remove the entries again (as above) before doing any further work on the document.
On the other hand Zotero should not fail to update the document at all just because there are index entries, even if they are inside Zotero citations. It would be very useful if you could download the Zotero Beta and see whether you can refresh the document with index entries present, since it will give us useful feedback that other users won't run into such issues again.
But yes, having the index fields present should not cause an error. When I have a little time, I will try running Zotero Beta to see if the problem is solved.