-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Errors on importing PlotlyJS after fresh install on nightly Julia #363
Comments
Thanks @robsmith11 I'm not working on nightly right now, so I don't think I'll be able to contribute a fix. That being said, I'm happy to review a PR if someone who does work on nightly is willing to tackle this one |
I am encountering the same issue on 1.6.0-rc1. However, the generated plots are not displayed in the Blink window. EDIT: Okay, I have found the culprit much sooner than expected. The To my understanding, there is now the scratch spaces API which places files such as logfiles (which usually do not have to be accessed by the user with a file browser) in a a package-specific mutable directory. |
Thanks for looking into it more, @jonas-kr. I've always just exported the plot to a html file and viewed it in Firefox, so I've never tried using Blink, but it's likely broken here too. |
@jonas-kr I don't know much about this scratch spaces api Is this something you could help us integrate here? |
Honestly, I do not know anything about this api, yet. However, I will try to look into this. |
It looks to me like this was fixed (or at least worked-around) in c4418cc, there just hasn't been a release since then |
@ericphanson Thanks a lot for this hint, this commit does provide a workaround for the issue. Actually, building the package on an 1.6.0-rc3 build creates an (in my case empty) build.log file in a subdirectory of .julia/scratchspaces. Hence, it seems like the only thing that remains to be fixed is the path of this build.log file. I will try to resolve this issue asap. |
I did just release a fresh version of plotlyJS in response to @ericphanson comment (thanks for the reminder!) Hopefully things work on latest release of this package |
If I call import/using a second time, there is no error and I can use PlotlyJS fine.
The text was updated successfully, but these errors were encountered: