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

WARNING: bytestring is deprecated #103

Closed
juliohm opened this issue Jan 3, 2017 · 1 comment
Closed

WARNING: bytestring is deprecated #103

juliohm opened this issue Jan 3, 2017 · 1 comment

Comments

@juliohm
Copy link

juliohm commented Jan 3, 2017

WARNING: bytestring(s::AbstractString...) is deprecated, use string(s...) instead.
in depwarn(::String, ::Symbol) at ./deprecated.jl:64
in bytestring(::String) at ./deprecated.jl:50
in handle_new_from_data(::String, ::Gtk.GLib.GError) at /home/juliohm/.julia/v0.5/Rsvg/src/calls.jl:61
in handle_new_from_data(::String) at /home/juliohm/.julia/v0.5/Rsvg/src/calls.jl:69
in #savefig#175(::Symbol, ::Function, ::PlotlyJS.SyncPlot{PlotlyJS.ElectronDisplay}, ::String) at /home/juliohm/.julia/v0.5/PlotlyJS/src/savefig.jl:164
in savefig(::PlotlyJS.SyncPlot{PlotlyJS.ElectronDisplay}, ::String) at /home/juliohm/.julia/v0.5/PlotlyJS/src/savefig.jl:106
in #savefig#184(::Array{Any,1}, ::Function, ::PlotlyJS.SyncPlot{PlotlyJS.JupyterDisplay}, ::String, ::Vararg{String,N}) at /home/juliohm/.julia/v0.5/PlotlyJS/src/savefig.jl:204
in savefig(::PlotlyJS.SyncPlot{PlotlyJS.JupyterDisplay}, ::String) at /home/juliohm/.julia/v0.5/PlotlyJS/src/savefig.jl:204
in plotlyjs_save_hack at /home/juliohm/.julia/v0.5/Plots/src/backends/plotlyjs.jl:98 [inlined]
in _show at /home/juliohm/.julia/v0.5/Plots/src/backends/plotlyjs.jl:101 [inlined]
in show(::IOStream, ::MIME{Symbol("image/png")}, ::Plots.Plot{Plots.PlotlyJSBackend}) at /home/juliohm/.julia/v0.5/Plots/src/output.jl:196
in png(::Plots.Plot{Plots.PlotlyJSBackend}, ::String) at /home/juliohm/.julia/v0.5/Plots/src/output.jl:8
in savefig(::Plots.Plot{Plots.PlotlyJSBackend}, ::String) at /home/juliohm/.julia/v0.5/Plots/src/output.jl:116
in macro expansion; at ./In[2]:16 [inlined]
in anonymous at ./:?
in include_string(::String, ::String) at ./loading.jl:441
in execute_request(::ZMQ.Socket, ::IJulia.Msg) at /home/juliohm/.julia/v0.5/IJulia/src/execute_request.jl:175
in eventloop(::ZMQ.Socket) at /home/juliohm/.julia/v0.5/IJulia/src/eventloop.jl:8
in (::IJulia.##13#19)() at ./task.jl:360
while loading In[2], in expression starting on line 4

@sglyon
Copy link
Member

sglyon commented Jan 4, 2017

Thanks @juliohm for bringing this up.

The third line of the traceback (first line that isn't in base julia) says

in handle_new_from_data(::String, ::Gtk.GLib.GError) at /home/juliohm/.julia/v0.5/Rsvg/src/calls.jl:61

indicating that the problem is in the Rsvg package. I'm going to close here as there is nothing we to do inside PlotlyJS.jl, but I recommend opening an issue (or better yet, a pull request) over in Rsvg.jl

@sglyon sglyon closed this as completed Jan 4, 2017
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

2 participants