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

Stalled import #2

Open
tshiunghan opened this issue Nov 15, 2023 · 0 comments
Open

Stalled import #2

tshiunghan opened this issue Nov 15, 2023 · 0 comments

Comments

@tshiunghan
Copy link

tshiunghan commented Nov 15, 2023

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 run set 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.
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