question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conda package 0.4.4 is broken

See original GitHub issue

I got a fresh install of both jupyter notebook, conda, and ipycanvas. ipycanvas, however, doesn’t work:

404 GET /static/ipycanvas.js?v=20200328182705

Related JS output:

The resource from “http://localhost:8888/static/ipycanvas.js?v=20200328182705” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Untitled.ipynb
Loading failed for the <script> with source “http://localhost:8888/static/ipycanvas.js?v=20200328182705”. Untitled.ipynb:1:1
Could not instantiate widget manager-base.js:273
Error: "Could not create a model."
    v utils.js:119
utils.js:119
Couldn't process kernel message Error: "Script error for "ipycanvas"
http://requirejs.org/docs/errors.html#scripterror"
    makeError http://localhost:8888/static/components/requirejs/require.js?v=951f856e81496aaeec2e71a1c2c0d51f:168
    onScriptError http://localhost:8888/static/components/requirejs/require.js?v=951f856e81496aaeec2e71a1c2c0d51f:1735
main.min.js:48686:42
Error: Script error for "ipycanvas"
http://requirejs.org/docs/errors.html#scripterror 2 require.js:168:17
Source map error: Error: request failed with status 404
Resource URL: http://localhost:8888/static/notebook/js/main.min.js?v=fd76f62c63dfcfdb33c73b0d15290316
Source Map URL: main.min.js.map

(presumably related to ipycanvas’ JS file not existing)

My last runs were against examples copied straight from the docs, to eliminate coding errors on my side, before I noticed the 404 on the JS file. The python class itself imports fine though, so it looks like it’s just a rendering issue.

I’m assuming there’s a config/install error on my part, but I’m not sure where. I followed the docs, but it doesn’t properly install it. If relevant, I also installed ipywidgets after ipycanvas (I reinstalled ipycanvas afterwards just to see if that was relevant, but after testing), but ipywidgets works as expected (and the widgets actually appear). ipycanvas is still broken, and I’m not sure why.

I’m also not sure what info is needed to debug this, so if you need anything else, just tell me and I’ll grab it. Running Linux Mint 19.3 x64 with the latest versions I can get my hands on of all the packages.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
martinRenoucommented, Mar 30, 2020

I am not sure yet where the issue comes from. The PyPi package looks fine, only the conda package is broken.

https://github.com/conda-forge/ipycanvas-feedstock/pull/16

1reaction
martinRenoucommented, Mar 30, 2020

Thanks a lot for reporting this. This is really helpful. It’s been almost a month since it’s broken and I did not see it.

Let’s keep this issue open until 0.4.4 is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

n base conda` is interrupted · Issue #11291 - GitHub
I first ran the cmd conda update -n base conda , and there was an error related to missing ruamel_yaml module, which seemed...
Read more >
How to resolve inconsistent package warnings in conda?
Run: conda install anaconda. It may solve the problem. If that doesn't work, run conda install package_name for the inconsistent packages to ...
Read more >
Xeus Robot - :: Anaconda.org
xeus-robot is a Jupyter kernel for the Robot Framework based on the Xeus library, a native implementation of the Jupyter protocol.
Read more >
2. EQcorrscan installation
EQcorrscan is a Python package with C extensions. The C extensions in EQcorrscan have their own dependencies on ... conda install -c conda-forge...
Read more >
AstroConda Documentation - Read the Docs
Conda is an open-source software package management system provided and ... Imagine stsci.tools is broken, and the hotfix release of.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found