Open tgbugs opened 5 years ago
[2019-02-13 16:12:25,021] - DEBUG - hyputils.hypothesis - Removing Hybrid.byId('s_jaei74EemwRN835PK3yA') from 2 tag sets
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/tom/git/hyputils/hyputils/subscribe.py", line 220, in loop_target
loop.run_until_complete(ws_loop(loop))
File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete
return future.result()
File "/home/tom/git/hyputils/hyputils/subscribe.py", line 195, in ws_loop
await process_or_exit(ws, handler, exit_reader)
File "/home/tom/git/hyputils/hyputils/subscribe.py", line 140, in process_or_exit
raise future.exception()
File "/home/tom/git/hyputils/hyputils/subscribe.py", line 117, in process_messages
handler.process(msg)
File "/home/tom/git/hyputils/hyputils/subscribe.py", line 24, in process
fh(message)
File "/home/tom/git/hyputils/hyputils/handlers.py", line 22, in __call__
self.handler(message)
File "/home/tom/git/hyputils/hyputils/handlers.py", line 84, in handler
out.append(helper(anno, self.annos))
File "/home/tom/git/protc/protcur/protcur/analysis.py", line 347, in __new__
return HypothesisHelper.__new__(cls, anno, annos)
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 723, in __new__
obj.depopulateTags()
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 692, in depopulateTags
tset.remove(self) # this should never error if everything is working correctly
KeyError: <unprintable KeyError object>
[2019-02-13 16:12:43,837] ERROR in app: Exception on /curation/ [GET]
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib64/python3.6/site-packages/flask/app.py", line 1808, in full_dispatch_request
self.try_trigger_before_first_request_functions()
File "/usr/lib64/python3.6/site-packages/flask/app.py", line 1855, in try_trigger_before_first_request_functions
func()
File "./server.py", line 554, in sparc_runonce
hls = set(get_hypothesis_local(uri) for uri in SparcMI.uris)
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 621, in uris
return set(uri for uri, tags in self.uri_tags.items()
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 611, in uri_tags
uri_tags[obj.uri].update(obj._tags)
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 810, in uri
def uri(self): return self._anno.uri
File "/home/tom/git/hyputils/hyputils/hypothesis.py", line 782, in _anno
def _anno(self): return self._annos[self.id] # this way updateds to annos will propagate
KeyError: 's_jaei74EemwRN835PK3yA'
127.0.0.1 - - [13/Feb/2019 16:12:43] "GET /curation/ HTTP/1.0" 500 -