zotsite: Zotfile incompatibility

I use Zotfile, which renames and moves my PDF to a different folder.

When trying to do a zotsite export I get this kind of error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/odelalleau/Zotero/storage/BCH5KBQL/Volumes/GoogleDrive/Mon disque/bib/Cobbe+al-2019_Leveraging-procedural-generation-to-benchmark-reinforcement-learning.pdf'

Here, the folder /Users/odelalleau/Zotero/storage/BCH5KBQL exists but is empty (or at least almost empty, it contains some full-text index information), and the PDF is actually inside /Volumes/GoogleDrive/Mon disque/bib/ (Zotfile’s custom file location)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Working, thanks a lot!! (there was just a minor typo in your code which I fixed on my side: abs_path.exists() instead of abs_path.exist())