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

_registerself fails when readdoc doc_id not found #11

Open
damies13 opened this issue Dec 21, 2022 · 0 comments
Open

_registerself fails when readdoc doc_id not found #11

damies13 opened this issue Dec 21, 2022 · 0 comments

Comments

@damies13
Copy link
Owner

damies13 commented Dec 21, 2022

See log:

Exception in thread Thread-2 (_servedb):
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/dave/.local/lib/python3.10/site-packages/MyNoSQL/__init__.py", line 285, in _servedb
    self.doc_id = self._registerself()
  File "/home/dave/.local/lib/python3.10/site-packages/MyNoSQL/__init__.py", line 595, in _registerself
    doc = self.readdoc(self.doc_id)
  File "/home/dave/.local/lib/python3.10/site-packages/MyNoSQL/__init__.py", line 960, in readdoc
    raise Exception("doc", doc_id, "not found")
Exception: ('doc', '3236b84e-7ecd-11ed-9557-ab88946e4365', 'not found')
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