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

Electron backend on Windows throws error #51

Closed
krcools opened this issue Jun 18, 2016 · 4 comments
Closed

Electron backend on Windows throws error #51

krcools opened this issue Jun 18, 2016 · 4 comments

Comments

@krcools
Copy link

krcools commented Jun 18, 2016

When I try to plot on the command line through the Electron backend I get:

julia> using Plots

julia> plotlyjs()
Plots.PlotlyJSBackend()

julia> plot(1:10)
[Plots.jl] Initializing backend: plotlyjs
module.js:338
    throw err;
    ^

Error: Cannot find module 'app'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

    at Object.<anonymous> (C:\Users\ezzkc\.julia\v0.4\Blink\src\AtomShell\main.js:1:90)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:475:10)

Plotting in Jupyter works as intended.

I did run Blink.AtomShell.install() as per manual instructions. I get the same error if I use PlotlyJS directly.

@krcools
Copy link
Author

krcools commented Jun 18, 2016

Ah, apparently this is fixed on master. Apologies...

@sglyon
Copy link
Member

sglyon commented Jun 18, 2016

Ok great, so can we close this issue?

I believe that master should match the latest release of PlotlyJS because I cut a release very recently.

@krcools
Copy link
Author

krcools commented Jun 19, 2016

Actually now I experience this on both master and the latest release. Could you keep this open for a bit longer? I will try to provide some more deterministic information...

@krcools
Copy link
Author

krcools commented Jun 20, 2016

OK, I get this message only when calling PlotlyJS from the platformio-ide-terminal plugin from Atom. The bug lies with them it seems. This issue can be closed. Sorry for wasting your time...

@cc7768 cc7768 closed this as completed Jun 20, 2016
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