PDF export not working after recent update

Hi,

I am trying to export PDFs from my zotero library to a folder on my desktop. I am doing what I have always done: highlight in zotero, click export PDFs. My issue is that the download is stopping after 263 files and at the same author each time. I did this exact thing before the new update and it worked seamlessly. Can someone please help or is there a phone number where I can receive tech support?

https://s3.amazonaws.com/zotero.org/images/forums/u46077/m2i4enhfv7w1b9rs3meo.png
«1
  • Can you provide a Debug ID for reproducing this?

    (Also, while you don't say why you're doing this, just to be clear, an export isn't a backup.)
  • Hi,

    I am not trying to back anything up. I am trying to export the files so I can import them into atlas.ti where I am doing the next phase of my analysis.

    Here is the debug ID: D977979603

  • I'm not seeing an export attempt there.
  • Last time I tried was all weekend... let me do it again so it shows up...
  • edited September 2, 2024
    You can go to Help → Debug Output Logging → View Output to see when it stops logging anything, which would mean it stalled and we'd want to see the log at that point. If it's still logging, it's still doing stuff.
  • I have begun to re-run the export...
  • Eriksen et al. ... it stops here every time. Makes zero sense! I even updated my account and storage last night.
  • We can't help without the Debug ID.

  • https://s3.amazonaws.com/zotero.org/images/forums/u46077/p3m8xz4hdoubw190tgmb.png


    This is the command I ran... last night I tried going one author at a time, still it wouldn't work.
  • Let me know if you need another debug ID.
  • I specifically said we need a Debug ID that covers the export attempt. You haven't provided that. Nothing else is going to get this fixed.
  • I am sorry, I do not know how Debug IDs work. Does that mean I need to create another Debug ID now that I have reattempted the export?
  • The linked page explains how to produce a Debug ID for a given operation. That's what we need.
  • Okay, I tried it again! Here is the Debug ID: D617615286
  • Let me know if you need anything else.

    Thank you for helping me to walk through this. I have never used the support page before and am relieved that you are helping me!
  • I have a team meeting today where I am hoping to be able to report on some findings. Is there any possibility that you can help me with this over the course of the next hour. I will stay online and respond in real time...
  • That debug output still doesn't include what we need. It looks like you perhaps left it on while Zotero was idle, at which point it started doing background full-text indexing. Again, from the linked page:
    2. Immediately perform the relevant action (syncing, saving, importing, etc.) and reproduce the problem you're experiencing.

    3. Before doing anything else, return to Help → Debug Output Logging and click Submit Output
    As soon as files stop appearing in the filesystem, you should submit the debug output.

    In any case, while we do need to see a Debug ID that includes the error, this of course isn't going to be fixed in the next hour. You'll need to figure out the file that's failing — e.g., by exporting half at a time, and then splitting the failing half in half, and so on, until you find the item that's failing. That shouldn't take more than 10 or tries, no matter the number of items you're exporting. If you're able to provide a Debug ID that actually shows the export taking place, we could likely tell you the item in question, but you don't need us to do this.

    In a future update, we'll make sure it continues after an error like this and shows a report listing the files that failed.
  • Here is the new Debug ID: D580906864
  • I am really hoping this one works!
  • edited September 2, 2024
    (3)(+0000000): Exporting PDF for item 4/EQQHY4LH

    (1)(+0000011): Error: Worker 'export' failed: {"annotations":[],"error":"{\"message\":\"Invalid Root reference.\",\"name\":\"InvalidPDFException\"}"}

    export/<@chrome://zotero/content/xpcom/pdfWorker/manager.js:218:21
    Yes, that's it. OK, so paste EQQHY4LH into the search bar in All Fields & Tags in the library root. That should show the attachment in question, and exporting just that item should fail. You should 1) right-click → Show File and send that PDF to support@zotero.org with a link to this thread and 2) retry the export without that item selected. (If it fails in another place, you might need to repeat this.)
  • @lambertl: Oh, well, also, if you're not actually using PDF annotations, you can just uncheck "Include Annotations" in the export options window. That should greatly speed up the export and also avoid this error, even with that item selected.
  • Got it. Since it is stopping in the same place alphabetically each time, I will just erase the one that comes after the one that is working each time, so item 268 and try again.
  • edited September 2, 2024
    You don't need to erase it. You can just deselect until this is fixed — or as I say, just uncheck "Include Annotations".

    And please do send us the file.
  • @dstillman, I already erased the file because I decided we don't actually need it in our literature review. I think it is the same file as EQQHY4LH because I no longer see that one in the library.

    However, I am exporting through File -> Export PDF option and do not see an option to deselect the "include annotations" option...
  • However, now it is stopping somewhere else, so I can rerun the debug ID and rerun the action to see what it is, or I can copy the reference below the one where it stopped. Since it is in alphabetical author order, this way works. However, I don't know how to find the unique number identifier to send to support, and I believe I do need this next reference...
  • edited September 2, 2024
    Oh, if you're exporting with "Export PDFs…" that will always include annotations.

    But if you just want the files, you can select the attachment items directly (manually or by doing a search like "PDF" that matches them in All Fields & Tags mode and then using Select All to select them) and then just drag them to a filesystem folder. That will copy the raw files without any export process.

    If you're having trouble with that, you can just export using File → "Export Library…" in Zotero RDF format and deselect "Include Annotations". It will export the files into a 'files' subfolder, and you can do a search using your OS for all PDFs within that to get a flat list and then move those out to a separate folder.

    We can't help identifying successive files, but we would appreciate if you would send any failing files to support@zotero.org so we can see why they're failing for you.
  • Okay, can you tell me the number for the failing file in this new debug ID: D668472542
  • NKP63YLG, but again, we can't keep doing this. You'll have to take it from here.
Sign In or Register to comment.