JuliaPlots / JuliaPlots/PlotlyJS.jl

fails on julia 6.4

Open
#226 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
444
Forks
86
PR merge metrics
No merged PRs in 30d

Description

INFO: Precompiling module PlotlyJS.
ERROR: LoadError: LoadError: LoadError: UndefVarError: JSString not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] include_from_node1(::String) at ./loading.jl:576
[6] include(::String) at ./sysimg.jl:14
[7] anonymous at ./:2
while loading /Users/monty/.julia/v0.6/PlotlyJS/src/displays/electron.jl, in expression starting on line 228
while loading /Users/monty/.julia/v0.6/PlotlyJS/src/display.jl, in expression starting on line 124
while loading /Users/monty/.julia/v0.6/PlotlyJS/src/PlotlyJS.jl, in expression starting on line 34
ERROR: LoadError: Failed to precompile PlotlyJS to /Users/monty/.julia/lib/v0.6.4/PlotlyJS.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:497
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] eval(::Module, ::Any) at ./boot.jl:235
[6] _require(::Symbol) at ./loading.jl:490
[7] require(::Symbol) at ./loading.jl:405
while loading /Users/monty/.julia/v0.6/Plotly/src/Plotly.jl, in expression starting on line 11

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the precompilation failure on Julia 0.6.4, then inspect src/displays/electron.jl around line 228 and the loading paths through src/display.jl and src/PlotlyJS.jl. Confirm the package precompiles successfully and that the reported JSString error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.