Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
kb:debugging_broken_documents [2019/07/15 20:23] dstillmankb:debugging_broken_documents [2019/07/28 23:43] dstillman
Line 3: Line 3:
 If you can insert Zotero citations into new documents but receive an error in an existing document, follow these steps to find the cause of the error. If you can insert Zotero citations into new documents but receive an error in an existing document, follow these steps to find the cause of the error.
  
 +    - Make sure you're using the latest versions of Zotero and your word processor.
     - While troubleshooting, disable the Track Changes feature in Word/LibreOffice, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[#field_codes_instead_of_citationbibiliography_text|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue.     - While troubleshooting, disable the Track Changes feature in Word/LibreOffice, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[#field_codes_instead_of_citationbibiliography_text|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue.
     - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a caption that's most likely the source of the problem. Delete it.     - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a caption that's most likely the source of the problem. Delete it.
Line 11: Line 12:
     - If the document has a bibliography, delete it and check if you still get the error.     - If the document has a bibliography, delete it and check if you still get the error.
     - While debugging, if you are using Fields mode in Word or Reference Marks mode in LibreOffice, it may help to display field codes rather than formatted text. To do this, press Alt/Option-F9 (or Alt/Option-Fn-F9) in Word or Ctrl-F9 in LibreOffice.     - While debugging, if you are using Fields mode in Word or Reference Marks mode in LibreOffice, it may help to display field codes rather than formatted text. To do this, press Alt/Option-F9 (or Alt/Option-Fn-F9) in Word or Ctrl-F9 in LibreOffice.
-    - **Isolate the problematic citations.** Delete half of the document at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition fix the problem.**+    - **Isolate the problematic citations.** Delete half of the document at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**
  
  
 If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Be sure to include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and word processor versions, the steps you have attempted to fix the error, and whether you were successful. You should also send the document excerpt from Step 9 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can take a look. If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Be sure to include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and word processor versions, the steps you have attempted to fix the error, and whether you were successful. You should also send the document excerpt from Step 9 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can take a look.
kb/debugging_broken_documents.txt · Last modified: 2023/10/17 13:47 by dstillman