JuliaGizmos / Escher.jl

Composable Web UIs in Julia
https://juliagizmos.github.io/Escher.jl
Other
335 stars 63 forks source link

Examples fail on tagged version of Escher #88

Closed astrieanna closed 8 years ago

astrieanna commented 8 years ago

When I've just Pkg.add("Escher") and Pkg.checkout("Mux"), none of the examples work. Example errors from minesweeper are below. However, minesweeper does work if I Pkg.checkout("Escher"), so maybe you could tag a new version?

It is really frustrating to add a new package, follow the instructions to run an example, and literally spend an hour encountering and overcoming errors before even one example runs successfully. (...especially when all of the error seem to just be due to packages not being tagged.) Is there any test process setup for Escher to let you know if the currently tagged version "Just Works" on the examples, when installing on a fresh Julia instance with just Pkg.add("Escher")? Because I think that might help prevent this situation in the future.

In the terminal:

WARNING: both Escher and Base export "broadcast"; uses of it in module Main must be qualified

While attempting to load http://localhost:5555/minesweeper.jl:

LoadError: UndefVarError: broadcast not defined
while loading /Users/leah/.julia/v0.4/Escher/examples/minesweeper.jl, in expression starting on line 69
 in loadfile at /Users/leah/.julia/v0.4/Escher/src/cli/serve.jl:24
 in anonymous at /Users/leah/.julia/v0.4/Escher/src/cli/serve.jl:165
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:15
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:8
 in splitquery at /Users/leah/.julia/v0.4/Mux/src/basics.jl:28
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:8
 in wcatch at /Users/leah/.julia/v0.4/Mux/src/websockets_integration.jl:12
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:8
 in todict at /Users/leah/.julia/v0.4/Mux/src/basics.jl:21
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:12 (repeats 2 times)
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/Mux.jl:8
 in anonymous at /Users/leah/.julia/v0.4/Mux/src/server.jl:38
 in handle at /Users/leah/.julia/v0.4/WebSockets/src/WebSockets.jl:354
 in on_message_complete at /Users/leah/.julia/v0.4/HttpServer/src/HttpServer.jl:393
 in on_message_complete at /Users/leah/.julia/v0.4/HttpServer/src/RequestParser.jl:104
 in http_parser_execute at /Users/leah/.julia/v0.4/HttpParser/src/HttpParser.jl:92
 in process_client at /Users/leah/.julia/v0.4/HttpServer/src/HttpServer.jl:365
 in anonymous at task.jl:448