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

Issues with examples #31

Closed
maacl opened this issue Jun 9, 2015 · 13 comments
Closed

Issues with examples #31

maacl opened this issue Jun 9, 2015 · 13 comments

Comments

@maacl
Copy link

maacl commented Jun 9, 2015

compose.jl

js console ouput:

Uncaught ReferenceError: IPython is not defined1../is-vpatch @ compose.jl:5s @ compose.jl:5e @ compose.jl:5(anonymous function) @ compose.jl:5

latex.jl

type: anonymous: in apply, expected Function, got ASCIIString
 in anonymous at /Users/mac/.julia/v0.3/Escher/src/cli/serve.jl:134
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:15
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in splitquery at /Users/mac/.julia/v0.3/Mux/src/basics.jl:28
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in wcatch at /Users/mac/.julia/v0.3/Mux/src/websockets.jl:12
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in todict at /Users/mac/.julia/v0.3/Mux/src/basics.jl:21
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/server.jl:36
 in handle at /Users/mac/.julia/v0.3/WebSockets/src/WebSockets.jl:287
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:359
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:99
 in http_parser_execute at /Users/mac/.julia/v0.3/HttpParser/src/HttpParser.jl:106
 in add_data at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:148
 in process_client at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:330
 in anonymous at task.jl:340

mc.jl

`lift` has no method matching lift(::Function, ::Type{Any}, ::Input{Bool})
while loading /Users/mac/.julia/v0.3/Escher/examples/mc.jl, in expression starting on line 11
 in loadfile at /Users/mac/.julia/v0.3/Escher/src/cli/serve.jl:24
 in anonymous at /Users/mac/.julia/v0.3/Escher/src/cli/serve.jl:128
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:15
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in splitquery at /Users/mac/.julia/v0.3/Mux/src/basics.jl:28
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in wcatch at /Users/mac/.julia/v0.3/Mux/src/websockets.jl:12
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in todict at /Users/mac/.julia/v0.3/Mux/src/basics.jl:21
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/server.jl:36
 in handle at /Users/mac/.julia/v0.3/WebSockets/src/WebSockets.jl:287
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:359
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:99
 in http_parser_execute at /Users/mac/.julia/v0.3/HttpParser/src/HttpParser.jl:106
 in add_data at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:148
 in process_client at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:330
 in anonymous at task.jl:340

plot.jl

plot not defined
 in anonymous at /Users/mac/.julia/v0.3/Escher/src/cli/serve.jl:134
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:15
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in splitquery at /Users/mac/.julia/v0.3/Mux/src/basics.jl:28
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in wcatch at /Users/mac/.julia/v0.3/Mux/src/websockets.jl:12
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in todict at /Users/mac/.julia/v0.3/Mux/src/basics.jl:21
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/server.jl:36
 in handle at /Users/mac/.julia/v0.3/WebSockets/src/WebSockets.jl:287
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:359
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:99
 in http_parser_execute at /Users/mac/.julia/v0.3/HttpParser/src/HttpParser.jl:106
 in add_data at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:148
 in process_client at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:330
 in anonymous at task.jl:340

plotting.jl

drawing not defined
 in anonymous at /Users/mac/.julia/v0.3/Escher/src/cli/serve.jl:134
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:15
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in splitquery at /Users/mac/.julia/v0.3/Mux/src/basics.jl:28
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in wcatch at /Users/mac/.julia/v0.3/Mux/src/websockets.jl:12
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in todict at /Users/mac/.julia/v0.3/Mux/src/basics.jl:21
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/Mux.jl:8
 in anonymous at /Users/mac/.julia/v0.3/Mux/src/server.jl:36
 in handle at /Users/mac/.julia/v0.3/WebSockets/src/WebSockets.jl:287
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:359
 in on_message_complete at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:99
 in http_parser_execute at /Users/mac/.julia/v0.3/HttpParser/src/HttpParser.jl:106
 in add_data at /Users/mac/.julia/v0.3/HttpServer/src/RequestParser.jl:148
 in process_client at /Users/mac/.julia/v0.3/HttpServer/src/HttpServer.jl:330
 in anonymous at task.jl:340

widgets.jl

Buttons are unresponsive, don't know if that is intentional.

@shashi
Copy link
Member

shashi commented Jun 9, 2015

Hey can you run Pkg.checkout("Escher") in the Julia repl and try again?

@maacl
Copy link
Author

maacl commented Jun 9, 2015

I get:

julia> Pkg.checkout("Escher")
INFO: Checking out Escher master...
INFO: Pulling Escher latest master...
INFO: No packages to install, update or remove

and the same errors.

@durcan
Copy link

durcan commented Jun 10, 2015

I see these same errors on my OSX machine as well. The examples with the exception of mc.jl work for me on Ubuntu.

@dhoegh
Copy link

dhoegh commented Jun 10, 2015

I get the same errors as above except latex.jl which works. I am using Julia 0.3.8 on windows 7.

@shashi
Copy link
Member

shashi commented Jun 13, 2015

All these examples work for me on the current master branch of this repo on Linux. Can someone confirm that the problem persists after running Pkg.checkout("Escher"); Pkg.update() ?

@maacl
Copy link
Author

maacl commented Jun 13, 2015

I can confirm that the above still applies.

@shashi
Copy link
Member

shashi commented Jun 13, 2015

Okay I will need to get hold of a Mac to fix this. Will do.

@dhoegh
Copy link

dhoegh commented Jun 13, 2015

It is also present under windows.

@farzonl
Copy link

farzonl commented Jun 14, 2015

I see this is still open, what is the time line for a resolution?
Also I can confirm that Pkg.checkout("Escher"); Pkg.update() does not fix my issue.

@shashi shashi closed this as completed in f53d344 Jun 15, 2015
@shashi
Copy link
Member

shashi commented Jun 15, 2015

This was related to #29 and JuliaLang/julia#9079. using Gadfly was loading examples/compose.jl instead of Compose.

@dhoegh
Copy link

dhoegh commented Jun 15, 2015

Now plotting.jl and plot.jl works. vectorgraphics.jl do not show the Sierpinski's Triangle and mc.jl and code.jl give errors.

mc.jl:

`lift` has no method matching lift(::Function, ::Type{Any}, ::Input{Bool})
while loading C:\Users\Hoegh\.julia\v0.3\Escher\examples\mc.jl, in expression starting on line 11
 in loadfile at C:\Users\Hoegh\.julia\v0.3\Escher\src\cli\serve.jl:24
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Escher\src\cli\serve.jl:128
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:15
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in splitquery at C:\Users\Hoegh\.julia\v0.3\Mux\src\basics.jl:28
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in wcatch at C:\Users\Hoegh\.julia\v0.3\Mux\src\websockets.jl:12
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in todict at C:\Users\Hoegh\.julia\v0.3\Mux\src\basics.jl:21
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:12 (repeats 2 times)
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\server.jl:36
 in handle at C:\Users\Hoegh\.julia\v0.3\WebSockets\src\WebSockets.jl:287
 in on_message_complete at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\HttpServer.jl:359
 in on_message_complete at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\RequestParser.jl:99
 in http_parser_execute at C:\Users\Hoegh\.julia\v0.3\HttpParser\src\HttpParser.jl:106
 in add_data at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\RequestParser.jl:148
 in process_client at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\HttpServer.jl:330
 in anonymous at task.jl:340

code.jl:

`sampler` has no method matching sampler()
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Escher\src\cli\serve.jl:134
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:15
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in splitquery at C:\Users\Hoegh\.julia\v0.3\Mux\src\basics.jl:28
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in wcatch at C:\Users\Hoegh\.julia\v0.3\Mux\src\websockets.jl:12
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in todict at C:\Users\Hoegh\.julia\v0.3\Mux\src\basics.jl:21
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:12 (repeats 2 times)
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\Mux.jl:8
 in anonymous at C:\Users\Hoegh\.julia\v0.3\Mux\src\server.jl:36
 in handle at C:\Users\Hoegh\.julia\v0.3\WebSockets\src\WebSockets.jl:287
 in on_message_complete at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\HttpServer.jl:359
 in on_message_complete at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\RequestParser.jl:99
 in http_parser_execute at C:\Users\Hoegh\.julia\v0.3\HttpParser\src\HttpParser.jl:106
 in add_data at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\RequestParser.jl:148
 in process_client at C:\Users\Hoegh\.julia\v0.3\HttpServer\src\HttpServer.jl:330
 in anonymous at task.jl:340

@rudimk
Copy link

rudimk commented Oct 5, 2015

Facing the same issue with code-cell.jl:

`sampler` has no method matching sampler()
 in anonymous at /Users/rudimk/.julia/v0.3/Escher/src/cli/serve.jl:170
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:15
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:8
 in splitquery at /Users/rudimk/.julia/v0.3/Mux/src/basics.jl:28
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:8
 in wcatch at /Users/rudimk/.julia/v0.3/Mux/src/websockets_integration.jl:12
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:8
 in todict at /Users/rudimk/.julia/v0.3/Mux/src/basics.jl:21
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/Mux.jl:8
 in anonymous at /Users/rudimk/.julia/v0.3/Mux/src/server.jl:38
 in handle at /Users/rudimk/.julia/v0.3/WebSockets/src/WebSockets.jl:353
 in on_message_complete at /Users/rudimk/.julia/v0.3/HttpServer/src/HttpServer.jl:366
 in on_message_complete at /Users/rudimk/.julia/v0.3/HttpServer/src/RequestParser.jl:103
 in http_parser_execute at /Users/rudimk/.julia/v0.3/HttpParser/src/HttpParser.jl:92
 in add_data at /Users/rudimk/.julia/v0.3/HttpServer/src/RequestParser.jl:151
 in process_client at /Users/rudimk/.julia/v0.3/HttpServer/src/HttpServer.jl:337
 in anonymous at task.jl:340

I've tried checking out and updating Escher, but to no avail.

@shashi
Copy link
Member

shashi commented Oct 5, 2015

Try Escher.sampler()

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

6 participants