Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultFile is not defined #3

Open
mcepl opened this issue Aug 2, 2023 · 0 comments
Open

defaultFile is not defined #3

mcepl opened this issue Aug 2, 2023 · 0 comments

Comments

@mcepl
Copy link

mcepl commented Aug 2, 2023

Clean directory ~/Dokumenty/clanky/bibliography and then:

fun~/D/clanky$ zotero2papis -z ~/.local/share/zotero/ -o ~/Dokumenty/clanky/bibliography/ --
verbose
===================================
  TITLE: Declaration "Dominus Iesus" On the Unicity and Salvific Universality of Jesus Christ and the Church
AUTHORS: Ratzinger, Joseph
===================================
    Now parsing other storage files...
-----------------------
    KEY   DNTRT475
    PATH  storage:rc_con_cfaith_doc_20000806_dominus-iesus_en.html
    PARID 2
      Storage File: rc_con_cfaith_doc_20000806_dominus-iesus_en.html
      :Orig:  /home/matej/.local/share/zotero/storage/DNTRT475/rc_con_cfaith_doc_20000806_dominus-iesus_en.html
      :Dest:  /home/matej/Dokumenty/clanky/bibliography/2000_Declaration "Dominus Iesus" On the Unicity and Salvific Universality of Jesus Christ and the Church/rc_con_cfaith_doc_20000806_dominus-iesus_en.html
       - Copied



===================================
  TITLE: Tomáš Halík: smířená různost: rozhovor
AUTHORS: Halík, Tomáš
===================================
    Now parsing other storage files...
Traceback (most recent call last):
  File "/home/matej/.bin/zotero2papis", line 33, in <module>
    sys.exit(load_entry_point('zotero2papis', 'console_scripts', 'zotero2papis')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matej/archiv/knihovna/repos/tmp/zotero2papis/zotero2papis/zotero2papis.py", line 549, in run
    client.run()
  File "/home/matej/archiv/knihovna/repos/tmp/zotero2papis/zotero2papis/zotero2papis.py", line 513, in run
    files, target_dir, deleted_entry = self.getFiles(conn, itemID, itemKey)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matej/archiv/knihovna/repos/tmp/zotero2papis/zotero2papis/zotero2papis.py", line 421, in getFiles
    if files == [] and defaultFile:
                       ^^^^^^^^^^^
NameError: name 'defaultFile' is not defined
fun~/D/clanky$ 

Using papis 0.12 and Zotero 6.0.26 from Flatpak.

zotero.sqlite.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant