UNKNOWN watchdog error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 498
- Forks
- 62
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 2
Description
@mmarras wrote
Is this related?
with (plots / "test.png").open("w", encoding="utf-8") as f:
f.write(
fig.to_image(format="png", scale=5)
)Task exception was never retrieved
future: <Task finished name='Task-8' coro=<Browser._watchdog() done, defined at c:\Users\XXX(NL)\AppData\Local\miniconda3\envs\datamore\lib\site-packages\choreographer\browser.py:227> exception=TypeError("object int can't be used in 'await' expression")>
Traceback (most recent call last):
File "c:\Users\XXX(NL)\AppData\Local\miniconda3\envs\datamore\lib\site-packages\choreographer\browser.py", line 230, in _watchdog
await self.subprocess.wait()
TypeError: object int can't be used in 'await' expression
@mmarras, my response:
No, this looks a little more concerning. Could you make a new issue, and preferably, before you run the code with this error, please set:
import logging
logging.getLogger().setLevel(1)
So that I see all output?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with choreographer/browser.py around Browser._watchdog at line 227 and reproduce the reported TypeError with root logging set to level 1. Review the resulting output and determine why subprocess.wait() returns an int in this environment. Done means the watchdog no longer reports the UNKNOWN error during the provided image-export scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100