hypothesis-zotero
hypothesis-zotero copied to clipboard
Stalled import
The import process stalling at 26 notes (out of 50).
I've run the command twice now. Here's the traceback for the second time:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.11/tkinter/__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "/home/tshiunghan/hypothesis-zotero/hypothesis_zotero.py", line 98, in grab
entry_annotations = json.loads(h_annot.api.search(hyp_api_key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/python_hypothesis-0.4.2-py3.11.egg/h_annot/api.py", line 38, in search
raise APIError(r)
h_annot.exceptions.APIError: API call returned 400 (Bad Request): url.0: Required
^C^CTraceback (most recent call last):
File "/home/tshiunghan/hypothesis-zotero/hypothesis_zotero.py", line 174, in <module>
root.mainloop()
File "/usr/lib/python3.11/tkinter/__init__.py", line 1485, in mainloop
self.tk.mainloop(n)
KeyboardInterrupt
Other notes
-
source venv/bin/activate
failed because I am using fish shell. The error message instructed me to runset VIRTUAL_ENV '/home/tshiunghan/hypothesis-zotero/venv'
instead, which was successful. - Looking back over the
python setup.py install
details, it says that setup.py install is deprecated and that I should "use pypa/build, pypa/installer or other standards-based tool." I can include the full readout if it's helpful.