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

Loading errors #5

Open
cloud-rocket opened this issue Mar 1, 2021 · 3 comments
Open

Loading errors #5

cloud-rocket opened this issue Mar 1, 2021 · 3 comments

Comments

@cloud-rocket
Copy link

Hi Marc,

I am getting back to work on this effort.

I noticed that when reusing this template in my apps - the page content is sometimes loading and sometimes not. There are frontend exceptions.
I tried loading the template as-is the same exceptions occur. Before digging further, I'd like to fix those:

Uncaught Error: Cannot find module '@bokehjs/styles/buttons'
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:89)
    at Object._ (panel.min.js:84)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object._ (panel.min.js:45)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object._ (panel.min.js:44)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object.main.register_plugin (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:147)
    at panel.min.js:38
    at panel.min.js:43
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:91 Uncaught Error: Cannot find module '@bokehjs/styles/mixins'
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:89)
    at Object._ (awesome_panel_extensions.js:240)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object._ (awesome_panel_extensions.js:58)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object._ (awesome_panel_extensions.js:47)
    at require (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:107)
    at Object.main.register_plugin (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:147)
    at awesome_panel_extensions.js:38
    at awesome_panel_extensions.js:43
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:184 [bokeh] setting log level to: 'info'
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585 [bokeh] Websocket connection 0 is now open
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585 Error: Model 'panel.models.markup.HTML' does not exist. This could be due to a widget or a custom model not being registered before first usage.
    at Object.r.Models (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:166)
    at Function._instantiate_object (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at Function._instantiate_references_json (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at Function.from_json (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at d._repull_session_doc (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585)
_repull_session_doc @ bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585 [bokeh] Failed to repull session Error: Model 'panel.models.markup.HTML' does not exist. This could be due to a widget or a custom model not being registered before first usage.
_repull_session_doc @ bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:584 [bokeh] Failed to load Bokeh session H3LcnKsWtjDuACHRp1LbHRjoNpgli5rYekjQWtEvqgcD: Error: Model 'panel.models.markup.HTML' does not exist. This could be due to a widget or a custom model not being registered before first usage.
t.add_document_from_session @ bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:584
bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:163 Error rendering Bokeh items: Error: Model 'panel.models.markup.HTML' does not exist. This could be due to a widget or a custom model not being registered before first usage.
    at Object.r.Models (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:166)
    at Function._instantiate_object (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at Function._instantiate_references_json (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at Function.from_json (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:165)
    at d._repull_session_doc (bokeh.min.js?v=53a5940fe1028de5b74a0dfa95ff5b5d:585)
DevTools failed to load SourceMap: Could not load content for http://localhost:5007/static/extensions/awesome_panel_extensions/awesome_panel_extensions.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Any idea?
Thanks

@MarcSkovMadsen
Copy link
Owner

I believe it’s because you have Updated to the just released bokeh 2.3.0.

try downgrading to bokeh 2.2.3.

————

panel 0.11 Will be released ASAP. I Will follow ASAP. I am in the process of adapting things.

————

thanks for reaching out

@cloud-rocket
Copy link
Author

Genius! I was trying to recompile bokeh extensions without success....

@nickk
Copy link

nickk commented Sep 11, 2021

I believe it’s because you have Updated to the just released bokeh 2.3.0.

try downgrading to bokeh 2.2.3.

————

panel 0.11 Will be released ASAP. I Will follow ASAP. I am in the process of adapting things.

————

thanks for reaching out

Hi,

Just wanted to say thanks for flagging this. I'm a brand new user and none of the plots, etc. worked out of the box until I downgraded bokeh to version 2.2.3.

In case anyone else has this problem, the above solved it for me.

Now it looks beautiful!

Thanks for your project and work!

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

3 participants