-
Notifications
You must be signed in to change notification settings - Fork 3
Closed as not planned
Description
Occasionally comet will give this error:
Oct 08 13:53:23 recv1 comet[18771]: Traceback (most recent call last):
Oct 08 13:53:23 recv1 comet[18771]: [2019-10-08 13:53:23,570] sanic.root: Exception occurred while handling uri:
Oct 08 13:53:23 recv1 comet[18771]: RuntimeError: Lock is not acquired.
Oct 08 13:53:23 recv1 comet[18771]: raise RuntimeError('Lock is not acquired.')
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/asyncio/locks.py", line 218, in release
Oct 08 13:53:23 recv1 comet[18771]: self.release()
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/asyncio/locks.py", line 98, in __aexit__
Oct 08 13:53:23 recv1 comet[18771]: break
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/site-packages/comet/broker.py", line 439, in
Oct 08 13:53:23 recv1 comet[18771]: found = await wait_for_dset(ds["base_dset"])
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/site-packages/comet/broker.py", line 374, in
Oct 08 13:53:23 recv1 comet[18771]: dataset_valid = await checkDataset(ds)
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/site-packages/comet/broker.py", line 248, in
Oct 08 13:53:23 recv1 comet[18771]: response = await response
Oct 08 13:53:23 recv1 comet[18771]: File "/usr/local/lib/python3.7/site-packages/sanic/app.py", line 917, in ha
Oct 08 13:53:23 recv1 comet[18771]: Traceback (most recent call last):
This looks suspiciously similar to python/cpython#7216, however that should have been fixed in Python 3.7 which we are running. I can't easily reproduce this locally. I've attached an example script which is similar to the relevant code in coco which doesn't fail.
Also, things are a little weird with branches. The version running above in this failure seems to be d030e1c
Metadata
Metadata
Assignees
Labels
No labels