Is Interact package dead?

I see that it is impossible lo “add Interact” to both “v16.5” (LTS) and to “v17.2” …
Please let me know …
Thanks !!

It’s generally more helpful to post an actual error message - I have no problems adding and using Interact on either Julia 1.7.2 or 1.6.5.

Not at all! I use it on 1.7 all the time.

Yes best to post your full error message.

Thany tou for the suggestions. Hope the below is correctly formatted. I’m a newcomer …

julia> import Pkg; Pkg.add(“Interact”)

ERROR: The following package names could not be resolved:

  • Interact (not found in project, manifest or registry)

Stacktrace:

[1] pkgerror( msg::String )

@ Pkg.Types /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55

[2] ensure_resolved( ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; registry::Bool )

@ Pkg.Types /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:883

[3] add( ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}} )

@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:193

[4] add( pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}} )

@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:80

[5] add( pkgs::Vector{Pkg.Types.PackageSpec} )

@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:78

[6] #add#23

@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:76 [inlined]

[7] add

@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:76 [inlined]

[8] #add#22

@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:75 [inlined]

[9] add( pkg::String )

@ Pkg.API /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:75

[10] top-level scope

@ REPL[27]:1

julia>

Can you add any other packages? What do you get from ] registry status?

(Also to format your code properly enclose it in triple backticks ```)

1 Like
(@v1.6) pkg> registry status
Registry Status 
 [bbcd6645] JuliaComputingRegistry (https://github.com/JuliaComputing/JuliaComputingRegistry)

How did you end up with that? Please do

] registry rm JuliaComputingRegistry
] registry add General
] add Interact
3 Likes

JuliaComputingRegistry probably entered by using JuliaAcademy, but I’m not sure …
Now Interact is perfectly working …!! Thank you so much

1 Like

Hi guys,
the Interact package does not work again for me.
A notebook excerpt for 18S096/lectures/lecture2 follows, locally evaluated in my macbook w MacOS Monterey v"12.2.1", using Jupyter from Julia v"1.7.2".
Same error on Safari, Firefox and Chrome.
Thanks for your help:

using Interact

The package contains a @manipulate macro, that is wrapped around a for loop:

@manipulate for n in 1:1000
    n
end

Invalid dependency (must be a url, file, or AssetRegistry path): /Users/paoluzzi/.julia/packages/Knockout/3gjS1/src/../assets/knockout.js

Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] path2url(path::SubString{String})
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/asset.jl:209
  [3] dep2url(dep::String)
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/asset.jl:226
  [4] lower
    @ ~/.julia/packages/WebIO/VF9p5/src/asset.jl:51 [inlined]
  [5] lowerassets(x::Asset)
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/asset.jl:118
  [6] iterate
    @ ./generator.jl:47 [inlined]
  [7] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, typeof(WebIO.lowerassets)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base ./array.jl:695
  [8] collect_similar(cont::Vector{Any}, itr::Base.Generator{Vector{Any}, typeof(WebIO.lowerassets)})
    @ Base ./array.jl:606
  [9] map(f::Function, A::Vector{Any})
    @ Base ./abstractarray.jl:2294
 [10] lowerassets(x::Async)
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/asset.jl:119
 [11] (::WebIO.var"#23#24"{Async})(io::IOBuffer)
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/syntax.jl:221
 [12] sprint(::Function; context::Nothing, sizehint::Int64)
    @ Base ./strings/io.jl:105
 [13] sprint
    @ ./strings/io.jl:101 [inlined]
 [14] tojs
    @ ~/.julia/packages/WebIO/VF9p5/src/asset.jl:112 [inlined]
 [15] (::WebIO.var"#42#43"{Scope, WebIO.JSString})(io::IOBuffer)
    @ WebIO ~/.julia/packages/WebIO/VF9p5/src/syntax.jl:221
 [16] sprint(::Function; context::Nothing, sizehint::Int64)
    @ Base ./strings/io.jl:105
 [17] sprint
    @ ./strings/io.jl:101 [inlined]
 [18] onimport
    @ ~/.julia/packages/WebIO/VF9p5/src/scope.jl:313 [inlined]
 [19] knockout(template::Node{WebIO.DOM}, data::Vector{Pair{String, Any}}, extra_js::WebIO.JSString; computed::Vector{Pair{String, WebIO.JSString}}, methods::Vector{Any})
    @ Knockout ~/.julia/packages/Knockout/3gjS1/src/Knockout.jl:124
 [20] input(theme::Interact.Bulma, o::Int64; extra_js::WebIO.JSString, extra_obs::Vector{Pair{String, Vector{String}}}, label::Nothing, typ::String, wdgtyp::String, className::String, style::Dict{Any, Any}, isnumeric::Bool, computed::Vector{Pair{String, WebIO.JSString}}, attributes::Dict{Any, Any}, bind::String, bindto::String, valueUpdate::String, changes::Int64, kwargs::Base.Iterators.Pairs{Symbol, Int64, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:min, :max, :step), Tuple{Int64, Int64, Int64}}})
    @ InteractBase ~/.julia/packages/InteractBase/h8Fwe/src/input.jl:259
 [21] slider(theme::Interact.Bulma, vals::UnitRange{Int64}, formatted_vals::Vector{String}; className::String, readout::Bool, label::String, value::Int64, orientation::String, attributes::Dict{Any, Any}, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ InteractBase ~/.julia/packages/InteractBase/h8Fwe/src/slider.jl:58
 [22] slider(args::UnitRange{Int64}; kwargs::Base.Iterators.Pairs{Symbol, String, Tuple{Symbol}, NamedTuple{(:label,), Tuple{String}}})
    @ Widgets ~/.julia/packages/Widgets/7O8AV/src/defaults.jl:10
 [23] #widget#103
    @ ~/.julia/packages/Widgets/7O8AV/src/defaults.jl:56 [inlined]
 [24] top-level scope
    @ ~/.julia/packages/Widgets/7O8AV/src/manipulate.jl:97
 [25] eval
    @ ./boot.jl:360 [inlined]
 [26] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:1116