plotly.py: Not able to use offlne when installing python-plotly on debian

Hi…

installing python-plotly (through normal aptitude method) on debian machine (stable, testing and unstable) I’m not able to use the offline methods.

The error is due to the missing file

/usr/lib/python2.7/dist-packages/plotly/offline/plotly.min.js

am I missing something? Should I download another package?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Hi @Stemby, Sorry for the delay Plotly is now in stretch backports https://tracker.debian.org/news/897752

Regards

Hi @noahfx,
thank you very much.

Have you found some problems with inclusion in Backports?

Ciao!

P.S.:
In any case I think this issue should be considered resolved and closed.

Hi I’ve uploaded the new version of plotly (2.0.12) to Debian Unstable suite 1, this will migrate to the Testing suite in about 5 days. I will be working to get this version to the current Stable (Debian 9) Backports this week so it can be available for the Stable suite.

Regards.

The problem isn’t the license. Minified javascript is considered to be a result of a “build” from the desired form for modifications (and that is true). And that means, not only needs the original form be included at least in the source package, the minified version also needs to be build as part of the package build process. That all isn’t a problem by itself and can be done, but it requires time to implement I assume.

I am sitting in the same boat: installed plotly explicitly for offline mode and have to see that the Debian version doesn’t work. Quite a bummer.

Hi, I am the maintainer of plython-plotly in Debian. Currently the Debian package is not including the offline mode. Since offline includes a minified Javascript file, this violates the DSFG §2 1. If I include the minified file I must move the package from main to non-free this affects another packages depending on python-plotly.
Since the source code of plotly.js is available I am working on get the Javascirpt library into the archive so python-plotly can work offline without moving it to another section. By now if you want to use the offline mode I recommend to use the pip version.

@ghtmtt I see you are running Debian Stable which includes the version 1.2.9, If I am not wrong this version does not include offline mode, Newer versions of the package are in Testing and Unstable, sadly without offline mode. When the offline mode is available in Debian, I will backport the newer version to Debian stable

Cheers