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

Bug + Documentation:: troubleshooting suspect packages and lining up error in web console #1353

Open
bugsbunny88 opened this issue Mar 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bugsbunny88
Copy link

If I get errors in web browser console after adding packages from one of the demo templates, I suspect its the new additions that have caused it. For documentation how does one figure out which package is the culprit ?

ERROR: received bad message: No such comm registered: 261e3190-6ddb-4ce8-99fd-ebc03f71c0dd

or ie.

Message type: comm_msg [xpython.js:8:68812](https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js)
    put_char https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    write https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    write https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    doWritev https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    _fd_write https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6638269
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6727614
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6727785
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:7105001
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:7036102
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:7060179
    invoke_iii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:7060305
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:3353705
    invoke_ii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6570437
    invoke_viii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6560828
    invoke_vii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6576160
    invoke_vii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:6609011
    invoke_vii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:3348993
    invoke_vii https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js:8
    <anonymous> https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.wasm:3290525
    xserver_emscripten$notify_listener https://bugsbunny88.github.io/xeus-me/xeus/bin/xpython.js line 8 > Function:10
    processMessage https://bugsbunny88.github.io/xeus-me/extensions/@jupyterlite/xeus/static/213.d616ac417a8e48894385.js?v=d616ac417a8e48894385:1
    s https://bugsbunny88.github.io/xeus-me/extensions/@jupyterlite/xeus/static/213.d616ac417a8e48894385.js?v=d616ac417a8e48894385:1

And from a solutions perspective , what does one have to do to rectify or act on the warnings like :

Default kernel not found, using 'xpython'

does that mean its a configuration issue when doing jupyter lite build , or its just a minor quibble that should just be ignored ?

@bugsbunny88 bugsbunny88 added the bug Something isn't working label Mar 25, 2024
@Carreau
Copy link
Contributor

Carreau commented Mar 26, 2024

I believe this can be ignored. If you do experience actual issues when using Jupyter-lite, this might be related but I doubt this will have an impact.

This can happen if you for example have a widget displayed but the kernel have been restarted (or vice versa, the kernel has a widget handle but the widget on the frontend has ben deleted).

You end up with a message with a non-existing ID.

A few other things use comms, so maybe something else is not working, but I'm not sure how to track that down in wasm.

I wouldn't worry for now, and report back if/when you find something not actually working.

@bugsbunny88
Copy link
Author

Thank you for that advice , my initial belief was to ensure there were no errors in the browser console. I will focus on usability within the notebooks themselves as the main marker. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants