Keno / Keno/TerminalExtensions.jl

using terminalextensions breaks plots with plotlyjs backend in 0.6

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
42
Forks
10
PR merge metrics
No merged PRs in 30d

Description

With TerminalExtensions, attempts to `plot(1:10)` with the plotlyjs backend result in
```
Error showing value of type Plots.Plot{Plots.PlotlyJSBackend}:
ERROR: MethodError: no method matching handle_new_from_data(::String)
The applicable method may be too new: running in world age 21869, while current world is 21889.
Closest candidates are:
handle_new_from_data(::AbstractString) at /Users/bromberger1/.julia/v0.6/Rsvg/src/calls.jl:69 (method too new to be called from this world context.)
handle_new_from_data(::AbstractString, ::Gtk.GLib.GError) at /Users/bromberger1/.julia/v0.6/Rsvg/src/calls.jl:61 (method too new to be called from this world context.)
```

When TerminalExtensions is not loaded via `~/.juliarc.jl`, plots work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by loading TerminalExtensions through ~/.juliarc.jl, then running plot(1:10) with the plotlyjs backend. Compare that startup path with loading the package later and trace the reported Rsvg/calls.jl method error. Done means the plot renders successfully in both loading modes without the world-age error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.