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

Plans to register package #15

Closed
djsegal opened this issue Jun 17, 2017 · 2 comments
Closed

Plans to register package #15

djsegal opened this issue Jun 17, 2017 · 2 comments

Comments

@djsegal
Copy link
Contributor

djsegal commented Jun 17, 2017

Is there a reason you're keeping this project unregistered?

@shashi
Copy link
Member

shashi commented Jun 17, 2017

Will be registering this shortly. I was hoping #5 could get done before registering, but now I'm fine with registering once there's some decent docs... (I did some work on it here)

@shashi
Copy link
Member

shashi commented Feb 22, 2018

will close this in favor of #42

@shashi shashi closed this as completed Feb 22, 2018
pfitzseb pushed a commit that referenced this issue May 12, 2021
Revert "expand macros in JSExpr instead of current_module()"
halleysfifthinc added a commit to halleysfifthinc/WebIO.jl that referenced this issue Oct 29, 2022
Non-MWE:
- In IJulia, with PlotlyJS, an observer on a plot event (e.g.
  "hover", "click", etc) gave the following error when updating/being run:

```julia
KERNEL EXCEPTION
MethodError: objects of type Pair{Int64, Any} are not callable

Stacktrace:
  [1] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
  [2] invokelatest
    @ ./essentials.jl:726 [inlined]
  [3] set_nosync(ob::Observable{Dict{Any, Any}}, val::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/scope.jl:355
  [4] dispatch(ctx::Scope, key::String, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/scope.jl:368
  [5] dispatch_command(conn::WebIO.IJuliaConnection, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/messaging.jl:104
  [6] dispatch(conn::WebIO.IJuliaConnection, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/messaging.jl:81
  [7] (::WebIO.var"JuliaGizmos#97#98"{WebIO.IJuliaConnection})(msg::IJulia.Msg)
    @ WebIO ~/.julia/dev/WebIO/src/providers/ijulia.jl:21
  [8] comm_msg(sock::ZMQ.Socket, msg::IJulia.Msg)
    @ IJulia.CommManager ~/.julia/packages/IJulia/AQu2H/src/comm_manager.jl:134
  [9] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
 [10] invokelatest
    @ ./essentials.jl:726 [inlined]
 [11] eventloop(socket::ZMQ.Socket)
    @ IJulia ~/.julia/packages/IJulia/AQu2H/src/eventloop.jl:8
 [12] (::IJulia.var"JuliaGizmos#15#18")()
    @ IJulia ./task.jl:484
```

I narrowed the problem down to an incorrect assumption about what is
returned from `Observables.listeners`. The previous expectation was an
array of functions, the reality is a `Vector{Pair,Function}`.
halleysfifthinc added a commit to halleysfifthinc/WebIO.jl that referenced this issue Oct 31, 2022
Non-MWE:
- In IJulia, with PlotlyJS, an observer on a plot event (e.g.
  "hover", "click", etc) gave the following error when updating/being run:

```julia
KERNEL EXCEPTION
MethodError: objects of type Pair{Int64, Any} are not callable

Stacktrace:
  [1] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
  [2] invokelatest
    @ ./essentials.jl:726 [inlined]
  [3] set_nosync(ob::Observable{Dict{Any, Any}}, val::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/scope.jl:355
  [4] dispatch(ctx::Scope, key::String, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/scope.jl:368
  [5] dispatch_command(conn::WebIO.IJuliaConnection, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/messaging.jl:104
  [6] dispatch(conn::WebIO.IJuliaConnection, data::Dict{String, Any})
    @ WebIO ~/.julia/dev/WebIO/src/messaging.jl:81
  [7] (::WebIO.var"JuliaGizmos#97#98"{WebIO.IJuliaConnection})(msg::IJulia.Msg)
    @ WebIO ~/.julia/dev/WebIO/src/providers/ijulia.jl:21
  [8] comm_msg(sock::ZMQ.Socket, msg::IJulia.Msg)
    @ IJulia.CommManager ~/.julia/packages/IJulia/AQu2H/src/comm_manager.jl:134
  [9] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
 [10] invokelatest
    @ ./essentials.jl:726 [inlined]
 [11] eventloop(socket::ZMQ.Socket)
    @ IJulia ~/.julia/packages/IJulia/AQu2H/src/eventloop.jl:8
 [12] (::IJulia.var"JuliaGizmos#15#18")()
    @ IJulia ./task.jl:484
```

I narrowed the problem down to an incorrect assumption about what is
returned from `Observables.listeners`. The previous expectation was an
array of functions, the reality is a `Vector{Pair,Function}`.
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