JuliaPlots / InspectDR.jl

Fast, interactive Julia/GTK+ plots (+Smith charts +Gtk widget +Cairo-only images)
MIT License
68 stars 9 forks source link

trying to run on v0.6-rc1 #4

Closed lobingera closed 7 years ago

lobingera commented 7 years ago
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0-rc1.0 (2017-05-07 00:00 UTC)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |  x86_64-linux-gnu

julia> include("../.julia/v0.6/InspectDR/sample/demo3.jl")

** (julia:2401): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ppOU1eWlB5: Connection refused
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] Array(::Type{InspectDR.Point2D}, ::Int64) at ./deprecated.jl:51
 [3] _reduce(::InspectDR.IDataset{true}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/datasets.jl:62
 [4] _reduce at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:575 [inlined]
 [5] #56 at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:579 [inlined]
 [6] next at ./generator.jl:45 [inlined]
 [7] _collect(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::Base.Generator{Array{InspectDR.Waveform{InspectDR.IDataset},1},InspectDR.##56#57{InspectDR.PExtents1D,Int64}}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:442
 [8] _reduce(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:578
 [9] preprocess_data(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:644
 [10] update_ddata(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:661
 [11] render(::Cairo.CairoContext, ::InspectDR.Plot2D, ::Graphics.BoundingBox) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_top.jl:94
 [12] (::InspectDR.##66#67{InspectDR.Multiplot,Float64,Float64,Float64,Int64,Float64,Float64})(::Cairo.CairoContext) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:97
 [13] withsurf(::InspectDR.##66#67{InspectDR.Multiplot,Float64,Float64,Float64,Int64,Float64,Float64}, ::IOStream, ::MIME{Symbol("image/png")}, ::Float64, ::Float64) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:55
 [14] _show(::IOStream, ::MIME{Symbol("image/png")}, ::InspectDR.Multiplot, ::Float64, ::Float64) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:75
 [15] _write at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:147 [inlined]
 [16] _write(::String, ::MIME{Symbol("image/png")}, ::InspectDR.Multiplot) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:160
 [17] write_png(::String, ::InspectDR.Multiplot) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:173
 [18] include_from_node1(::String) at ./loading.jl:552
 [19] include(::String) at ./sysimg.jl:14
 [20] eval(::Module, ::Any) at ./boot.jl:235
 [21] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 [22] macro expansion at ./REPL.jl:97 [inlined]
 [23] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading /home/lobi/.julia/v0.6/InspectDR/sample/demo3.jl, in expression starting on line 58
WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] Array(::Type{InspectDR.Point2D}, ::Int64) at ./deprecated.jl:51
 [3] _reduce(::InspectDR.IDataset{true}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/datasets.jl:62
 [4] _reduce at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:575 [inlined]
 [5] #56 at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:579 [inlined]
 [6] next at ./generator.jl:45 [inlined]
 [7] _collect(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::Base.Generator{Array{InspectDR.Waveform{InspectDR.IDataset},1},InspectDR.##56#57{InspectDR.PExtents1D,Int64}}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:442
 [8] _reduce(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:578
 [9] preprocess_data(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:644
 [10] update_ddata(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:661
 [11] render(::Cairo.CairoContext, ::InspectDR.Plot2D, ::Graphics.BoundingBox) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_top.jl:94
 [12] (::InspectDR.##66#67{InspectDR.Multiplot,Float64,Float64,Float64,Int64,Float64,Float64})(::Cairo.CairoContext) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:97
 [13] withsurf at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:45 [inlined]
 [14] _show(::IOStream, ::MIME{Symbol("image/svg+xml")}, ::InspectDR.Multiplot, ::Float64, ::Float64) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:75
 [15] _write at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:147 [inlined]
 [16] _write(::String, ::MIME{Symbol("image/svg+xml")}, ::InspectDR.Multiplot) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:160
 [17] write_svg(::String, ::InspectDR.Multiplot) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_io.jl:174
 [18] include_from_node1(::String) at ./loading.jl:552
 [19] include(::String) at ./sysimg.jl:14
 [20] eval(::Module, ::Any) at ./boot.jl:235
 [21] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
 [22] macro expansion at ./REPL.jl:97 [inlined]
 [23] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading /home/lobi/.julia/v0.6/InspectDR/sample/demo3.jl, in expression starting on line 59
:DONE

julia> WARNING: Array{T}(::Type{T}, m::Int) is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] Array(::Type{InspectDR.Point2D}, ::Int64) at ./deprecated.jl:51
 [3] _reduce(::InspectDR.IDataset{true}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/datasets.jl:62
 [4] _reduce at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:575 [inlined]
 [5] #56 at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:579 [inlined]
 [6] next at ./generator.jl:45 [inlined]
 [7] _collect(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::Base.Generator{Array{InspectDR.Waveform{InspectDR.IDataset},1},InspectDR.##56#57{InspectDR.PExtents1D,Int64}}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:442
 [8] _reduce(::Array{InspectDR.Waveform{InspectDR.IDataset},1}, ::InspectDR.PExtents1D, ::Int64) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:578
 [9] preprocess_data(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:644
 [10] update_ddata(::InspectDR.Plot2D) at /home/lobi/.julia/v0.6/InspectDR/src/base.jl:661
 [11] render(::InspectDR.CairoBufferedPlot, ::InspectDR.Plot2D, ::Graphics.BoundingBox, ::Bool) at /home/lobi/.julia/v0.6/InspectDR/src/cairo_top.jl:117
 [12] #render#77(::Bool, ::Function, ::InspectDR.PlotWidget) at /home/lobi/.julia/v0.6/InspectDR/src/gtk_base.jl:212
 [13] macro expansion at /home/lobi/.julia/v0.6/InspectDR/src/gtk_top.jl:184 [inlined]
 [14] (::InspectDR.##79#80{InspectDR.PlotWidget})(::Gtk.GtkCanvas) at /home/lobi/.julia/v0.6/Gtk/src/base.jl:90
 [15] draw(::Gtk.GtkCanvas, ::Bool) at /home/lobi/.julia/v0.6/Gtk/src/cairo.jl:84
 [16] notify_resize(::Ptr{Gtk.GLib.GObject}, ::Ptr{Gtk.GdkRectangle}, ::Gtk.GtkCanvas) at /home/lobi/.julia/v0.6/Gtk/src/cairo.jl:61
 [17] (::Gtk.##227#228)() at /home/lobi/.julia/v0.6/Gtk/src/events.jl:2
 [18] g_sigatom(::Any) at /home/lobi/.julia/v0.6/Gtk/src/GLib/signals.jl:167
 [19] gtk_main() at /home/lobi/.julia/v0.6/Gtk/src/events.jl:1
while loading no file, in expression starting on line 0

on screen: snapshot10

ma-laforge commented 7 years ago

Yes, sorry about that. I just now started using v0.6 because they finally released an installable distribution.

I will try to get on that when I get some time.

Thanks.

ma-laforge commented 7 years ago

master branch now compatible with Julia v0.6. (You can also use the master branch of NumericIO to avoid warnings).

METADATA PR pending: https://github.com/JuliaLang/METADATA.jl/pull/9311

Please let me know if there are issues.

ma-laforge commented 7 years ago

Should no longer be an issue. Please re-open if needed.