Exporting collections instead of entire library

Hello,

I am trying to export a single collection (which includes sub-collections) instead of the entire library, but the exported file is empty.

Any suggestions of how to fix this will be appreciated!

thanks in advance,
Yaron
  • How exactly are you trying to export these items?

    Make sure your Zotero is up to date.
  • Thank you for the prompt reply.

    Yes, Zotero is up to date.

    I right clicked on the collection -> export collection -> BibTex format

    Exporting the library does works (but it results in a big file, with irrelevant papers)

    Thanks,
    Yaron
  • Can you expert collection as Zotero RDF? (Post it on gist.github.com and link to it if you can)

    This could happen if your collection contains only standalone notes and/or standalone attachments (PDFs). Is that maybe the case?
  • I shared it on Dropbox:

    https://www.dropbox.com/s/qz9bk5e1jym0r2q/SCM-discounts.rdf

    No standalone notes or attachments in that collection.

    Thanks!
    Yaron
  • Hmmm, can't reproduce this.

    When you say Zotero is up to date, you mean it's 4.0.17.1 (or 4.0.17 for Zotero Standalone)?

    Also, update your translators via Preferences -> General -> Update Now

    If none of that helps, produce a Debug ID for that export and post it here.
  • I am using the standalone 4.0.17, and I updated the translators.
    The output file is still empty..

    Here is a link to the log file: https://www.dropbox.com/s/vxpm13omui0fzr0/debug.txt

    Thanks,
    Yaron
  • You should just submit the log to Zotero server and post the Debug ID as per instructions in the linked page. There are no errors in that debug log, so I'm not quite sure what's going on, but maybe Dan can take a closer look and see if everything looks right.

    You don't have a custom BibTeX translator, do you? Try resetting your translators via Preferences -> Advanced -> Reset Translators. Then wait a minute and restart Zotero.
  • No, I don't have a custom BibTeX translator.

    ok, thank you very much for your help.

    Yaron
  • @Dan, could you take a look. I don't see anything weird in that log, but I'm not too keen on what this should look like for a collection export.
  • Thanks guys. I ended up creating another user name and moved the collection over there, so I can export the entire library. (I read it in one of your posts).

    Is there a more efficient way to create multiple users for same account so that they all share the same quota?

    Thanks,
    Yaron
  • Sorry about that. It seems that I can reproduce this after all (it was masked by another "bug").

    I believe this is fixed now. Update your translator via Preferences -> General -> Update Now and give it another shot.

    @Dan, currently, in order to get items inside subcollections on export, the translator must set the "getCollections" option even if it doesn't attempt to export collection data. IMO, Zotero.Translate.ItemGetter.setCollection should always retrieve child items (at which point it seems rather trivial to also supply collection data to the translator too). So basically, getChildCollections should just always be true. Thoughts?
  • (That one's Simon's department, so I'll have to defer to him on that.)
  • But just to clarify, the issue here was that we weren't exporting subcollections, so if somebody tried to export a collection that didn't contain any items itself and only had subcollections, nothing was exported?
Sign In or Register to comment.