Skip to content

Addon only exporting when item has no extracted annotations #32

Description

@donisthorpe

For some reason, I don't seem to be able to export any of my items which include extracted annotations (I click on "Export Item(s) to Roam" but nothing happens). If I delete the relevant note, however, the item will be exported correctly. I tried generating a debug log, hope this helps. Thanks in advance for any assistance you can provide.

`
version => 5.0.90, platform => MacIntel, oscpu => Intel Mac OS X 10.15, locale => en-GB, appName => Zotero, appVersion => 5.0.90, extensions => ZotFile (5.0.16, extension), Zotero DOI Manager (1.3.9, extension), Zotero Storage Scanner (5.0.8, extension), Zotero OCR (0.3.0, extension), Zotero LibreOffice Integration (5.0.23.SA.5.0.90, extension), Zotero Word for Mac Integration (5.0.29.SA.5.0.90, extension), Zotero Roam Export (1.11, extension), Better BibTex for Zotero (5.2.74, extension), Shockwave Flash (32.0.0.433, plugin), Zotero Memento (1.0.0, extension, disabled), Zotero Date From Last Modified (0.0.12, extension, disabled), Zotero AutoIndex (5.0.6, extension, disabled), Zutilo Utility for Zotero (3.5.0, extension, disabled)

(4)(+0038603): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(4)(+0000007): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(4)(+0000003): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(4)(+0000006): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(3)(+0000013): MIME type application/pdf cannot be handled internally

(4)(+0000002): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(4)(+0000488): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [103, 'https://academic.oup.com/jcle/article-lookup/doi/10.1093/joclec/nhs031']

(3)(+0009927): TypeError: noteParasArray[prevParaIndex] is undefined getItemNotes@chrome://zoteroroamexport/content/roamexport.js:301:73 gatherItemData@chrome://zoteroroamexport/content/roamexport.js:324:25 getAllItemsData@chrome://zoteroroamexport/content/roamexport.js:336:28 exportItems@chrome://zoteroroamexport/content/roamexport.js:346:28
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions