-
Notifications
You must be signed in to change notification settings - Fork 63
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
"/hello.jl did not return a UI function" #195
Comments
Um what's in hello.jl ? A file you are trying to serve should end with a function definition such as: function main(window) # must take an argument
end And this function should return the UI object you want to render |
hello.jl is just the hello world example 1 from escher-jl.org. Contains: function main(window) Similar results for most example files as well. |
I have recreated this issue on ubuntu as as well (initially on OSX), for both my created "hello.jl" file and on the example "forms.jl" |
I am having the same problem with most of the examples as well. edit: |
Here is a gist paste of the terminal output when I try to load the vectorgraphics example. |
The version of Escher you get from Pkg.add hasn't been updated for v0.5, go to ~/.julia/v0.5/Escher and checkout the master branch to get a working version of the code. |
I tried @Stinners solution, but it didn't seem to work.
Right after I start escher --serve and try to run the simple plaintext("Hello World!") example I get the following:
|
I this output for a basic hello world file from the tutorial as well as for many of the examples; others do not provide any output at all.
output:"... /hello.jl did not return a UI function"
I am running julia 0.5; is this the issue, or is there some other issue?
The text was updated successfully, but these errors were encountered: