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

Cylc UI Server: document how to troubleshoot asyncio errors #74

Closed
kinow opened this issue Aug 28, 2019 · 3 comments
Closed

Cylc UI Server: document how to troubleshoot asyncio errors #74

kinow opened this issue Aug 28, 2019 · 3 comments

Comments

@kinow
Copy link
Member

kinow commented Aug 28, 2019

Exceptions in the asyncio loop may not be logged/displayed to the user. We should document somewhere how to troubleshoot or identify these issues. I suspect it will go to Cylc Doc, somewhere a user/site admin would read.

See cylc/cylc-uiserver#65 (comment) comment for instructions how to enable it.

The official docs for Python 3 asyncio: https://docs.python.org/3/library/asyncio-dev.html#debug-mode

@kinow
Copy link
Member Author

kinow commented Aug 28, 2019

ps: should we have a label for each component? Or just the title prefix is fine?

@oliver-sanders
Copy link
Member

The nature of this issue may change with cylc/cylc-uiserver#219

After which point it may become a slightly more generic Jupyter Server problem and we may be able to defer to the Jupyter documentation with instruction on how to redirect just the Cylc stuff into its own file if desirable.

@oliver-sanders oliver-sanders added content Addition or modification of documentation and removed hacktoberfest labels Jul 20, 2021
@oliver-sanders oliver-sanders removed the content Addition or modification of documentation label Jun 13, 2022
@oliver-sanders
Copy link
Member

Since cylc/cylc-uiserver#219 (and some other changes) things have now changed. Exceptions within the workflow scanning are logged and will soon be written to a log file by default.

This is now more a UIS issue to ensure that async code is configured correctly, if anything goes wrong we want a traceback or error message to be omitted.

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

2 participants