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

Plotly.js backend: access to undefined reference #2440

Open
aterenin opened this issue Mar 6, 2020 · 1 comment
Open

Plotly.js backend: access to undefined reference #2440

aterenin opened this issue Mar 6, 2020 · 1 comment
Labels

Comments

@aterenin
Copy link

@aterenin aterenin commented Mar 6, 2020

Getting this on a large contour plot, which works fine on GR and other backends.

ERROR: UndefRefError: access to undefined reference
Stacktrace:
 [1] getindex at ./array.jl:744 [inlined]
 [2] copyto!(::Array{Any,1}, ::Int64, ::Array{Dict{Symbol,Any},1}, ::Int64, ::Int64) at ./abstractarray.jl:842
 [3] append!(::Array{Any,1}, ::Array{Dict{Symbol,Any},1}) at ./array.jl:911
 [4] plotly_show_js(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/aterenin/.julia/packages/Plots/B2J6j/src/backends/plotly.jl:855
 [5] _show at /Users/aterenin/.julia/packages/Plots/B2J6j/src/backends/plotlyjs.jl:34 [inlined]
 [6] show at /Users/aterenin/.julia/packages/Plots/B2J6j/src/output.jl:207 [inlined]
 [7] __binrepr at ./multimedia.jl:157 [inlined]
 [8] _textrepr at ./multimedia.jl:149 [inlined]
 [9] #stringmime#6 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Base64/src/Base64.jl:43 [inlined]
 [10] stringmime(::MIME{Symbol("application/vnd.plotly.v1+json")}, ::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Base64/src/Base64.jl:43
 [11] display(::Main._vscodeserver.InlineDisplay, ::MIME{Symbol("application/vnd.plotly.v1+json")}, ::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/aterenin/.vscode/extensions/julialang.language-julia-0.14.11/scripts/terminalserver/terminalserver.jl:244
 [12] display(::Main._vscodeserver.InlineDisplay, ::String, ::Any) at ./multimedia.jl:214
 [13] display(::Main._vscodeserver.InlineDisplay, ::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/aterenin/.vscode/extensions/julialang.language-julia-0.14.11/scripts/terminalserver/terminalserver.jl:273
 [14] display(::Any) at ./multimedia.jl:323
 [15] #15 at /Users/aterenin/.julia/packages/Media/ItEPc/src/compat.jl:28 [inlined]
 [16] hookless(::Media.var"#15#16"{Plots.Plot{Plots.PlotlyJSBackend}}) at /Users/aterenin/.julia/packages/Media/ItEPc/src/compat.jl:14
 [17] render at /Users/aterenin/.julia/packages/Media/ItEPc/src/compat.jl:27 [inlined]
 [18] render(::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/aterenin/.julia/packages/Media/ItEPc/src/system.jl:160
 [19] display(::Media.DisplayHook, ::Plots.Plot{Plots.PlotlyJSBackend}) at /Users/aterenin/.julia/packages/Media/ItEPc/src/compat.jl:9
 [20] display(::Any) at ./multimedia.jl:323
 [21] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [22] invokelatest at ./essentials.jl:708 [inlined]
 [23] print_response(::IO, ::Any, ::Bool, ::Bool, ::Any) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:156
 [24] print_response(::REPL.AbstractREPL, ::Any, ::Bool, ::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:141
 [25] (::REPL.var"#do_respond#38"{Bool,REPL.var"#48#57"{REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:719
 [26] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [27] invokelatest at ./essentials.jl:708 [inlined]
 [28] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
 [29] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
 [30] run_repl(::REPL.AbstractREPL, ::Any) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
 [31] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
 [32] #invokelatest#1 at ./essentials.jl:709 [inlined]
 [33] invokelatest at ./essentials.jl:708 [inlined]
 [34] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
 [35] exec_options(::Base.JLOptions) at ./client.jl:304
 [36] _start() at ./client.jl:460```
@daschw

This comment has been minimized.

Copy link
Member

@daschw daschw commented Mar 6, 2020

Could you provide MWE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.