If it is Interact.jl you’re using, I also had some problems with it previously. I think it may need some maintenance to move it up to v"0.5", and certainly some to move it up to v"0.6.0-dev", to accommodate the syntax changes since v"0.4". If you feel comfortable with it, I’m sure a PR would be appreciated.
So, It looks like I will have to wait till the maintenance is carried out, too bad since I was using it for some classes and now I have to move back to 0.4 to run it.
“PR” stands for “pull request”. If your issue is because of a problem in a package, and you find a fix for it, you can open a pull request on GitHub to have that fix included with the package.
For package problems, it’s often best to open an issue at the package repository. It also helps if you can include the code that’s causing the problem.
I’m using Interact.jl regularly with julia 0.5 on both mac and linux, so it definitely should work. Can you provide more detail about the problem? Is there more to the error message than what you included in your first post? What code are you executing when the error happens?
Thanks for your help this is the simple code that used to work under 0.4.5 and now it does not:
x = linspace(1,500) @manipulate for α=0.001:0.001:0.02, β= 0:0.1:5
Gadfly.plot(layer(x=x,y=α*x+β, Geom.line),
layer(x=series[:,1]/1000, y=series[:,2], Geom.point),
Guide.xlabel(“Longitude”), Guide.ylabel(“Disp”), Guide.title(“Disp Vs Longitude”))
end
where
series[:,4] is just a four column array
this is the error now:
MethodError: call has no method matching call(::Array{Float64,1}, ::Base.KeyIterator{Dict{ASCIIString,Int64}})
Closest candidates are:
BoundsError()
BoundsError(::Any…)
DivideError()
…
in notify at /Users/ramon/.julia/v0.4/Interact/src/IJulia/setup.jl:77
in init_comm at /Users/ramon/.julia/v0.4/Interact/src/IJulia/setup.jl:82
in metadata at /Users/ramon/.julia/v0.4/Interact/src/IJulia/setup.jl:91
in execute_request at /Users/ramon/.julia/v0.4/IJulia/src/execute_request.jl:187
in eventloop at /Users/ramon/.julia/v0.4/IJulia/src/eventloop.jl:8
in anonymous at task.jl:447
I already tried changing the environment variable for JUPYTER and did a Pkg.build(“IJulia”) since that didn’t work I deleted everything in .julia and installed from fresh using the 0.4.7 version just to try it out.
I got the same error.
I’ve tried running your code on my machine (OSX with Julia 0.5) and it worked just fine. I also tried it on JuliaBox with Julia 0.4.7 and Julia 0.5, and it worked fine in both cases.
Sorry to all.
The problem was strange, But after your reply it was solved once I closed and re-opened the notebook .
Something must have been hanging around which caused the conflict.
I now works with both versions of julia.
Thank you for your time, although I still do not know what exactly went wrong.
Altough I still wonder since the first time Interact crashed was while copying the notebook to a fresh installation of julia on a laptop…
Anyway, thanks again