-
Notifications
You must be signed in to change notification settings - Fork 189
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
Errors during new app creation in 0.6 #24
Comments
Please note the following error message below (using windows 10, 64bit, Julia and juno installed and both seem to be working fine). (Note: tried both juno's console and Julia's native terminal but unresolved) Pkg.build("Gumbo") INFO: Building Gumbo LoadError: could not spawn ================================================================================ ================================[ BUILD ERRORS ]================================ WARNING: Gumbo had build errors.
================================================================================ Finally, I know the first issue I received was an incomplete install of Gumbo, which lead to failing to run the following server; include("genie.jl") |_ ||_ Starting Genie in >> DEV << mode using 1 worker(s) LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: Gumbo not properly installed. Please run Pkg.build("Gumbo") in error(::String) at .\error.jl:21 Other useful details; Pkg.add("Gumbo") INFO: Nothing to be done INFO: Updating METADATA... |
Update: looks like there maybe an issue with both (master) files. 13 additional packages:
| |_ ||_ Starting Genie in >> DEV << mode using 1 worker(s) LoadError: MethodError: no method matching run() Checked reference to the above directory "C:\JuliaPro-0.5.2.2\Japp\genie.jl in expression starting on line 32" and points to this line of code; |
New update: tried the following attempts but still unable to resolve. julia> Genie.REPL.new_app("demo_app") 2017-06-23T17:49:32.85 - info: Done! New app created at C:\JuliaPro-0.5.2.2\demo_app 2017-06-23T17:49:33.082 - info: Looking for dependencies 2017-06-23T17:49:33.082 - info: Checking for Flax rendering engine support 2017-06-23T17:49:33.082 - info: Finished adding dependencies 2017-06-23T17:49:33.082 - info: Starting your brand new Genie app - hang tight! ERROR: could not spawn julia> AppServer.startup() ERROR: UndefVarError: config not defined @Spawn AppServer.startup() ERROR: LoadError: stat: unknown error (UNKNOWN) Error loading Atom.jl package Go to the Packages → Julia → Open Terminal menu and Extra note; since the recent file update - within Juno's bottom left corner (label: console) we have a continual loop of what appears to be julia's server feed running in the background which wrongfully seen as continued updates. But julia's server ends upon ending the session on the menu list above and by clicking; stop julia (message) "Julia has stopped". Also, checked the server 0.0.0.0:8000... and at localhost:8000 to make sure but nothing. |
Hi @wr125, could you open a new issue, as your issue is not the same as mine? I would appreciate it. Cheers. |
@hpoit I haven't yet released a version of Genie for Julia 0.6 - the master is still on 0.5. Looking at the stacktrace it looks like an error in one of the dependency packages, You can try Now that 0.6 is out I'll prepare a new release for 0.6 in the next few days. But such issues with dependencies will be hard to address. |
@wr125 It seems that in the beginning there were different problems with the dependencies. For the more recent issue, indeed, there is a problem with loading the app on windows. The app was successfully created, but loading it doesn't work. I'll release a patch in the next few days. Until then you can just do this:
That should bootstrap the app. Sorry for the troubles, I'll look into it ASAP. |
Thanks Adrian, I got it to work in 0.5.2, I should be good for now. Cheers. |
@hpoit Glead to hear it 👍 |
Latest update: Step 1 Pkg.update() Step 2 According to http://geniejl.readthedocs.io/en/stable/build/#Quick-start-1 Windows cannot cd into App directory as instructed using (Julia>) JuliaPro 0.5.2.2 Step 3 Starting Genie in >> DEV << mode using 1 worker(s) Tried manual instructions;
Console runtime (Julia server) continually running in background has now been resolved. |
Correct me if i'm wrong but the loading.jl file is trying to retrieve a direct file path that is not stated (undefined)! If so, where would the string "C://....." be placed? Also, looks like the initial install of Julia's terminal directory is stored "C://JuliaPro-0.5./" where the web development environment boots from "C:\Users\UserName\AppData\Local\JuliaPro-0.5.2.2" and so here is where we get this conflict?!! |
Ubuntu!!! |
@wr125 The workflow in the documentation is 100% *nix based - so macos and linux only. That would not work for windows, I need to update it. However, I have good news - I just finished adding support for windows for creating and starting Genie apps. 1 - please try again creating a new app, it should just work. Please let me know if that's not the case, I tested on Win 10, all good 2 - once you have the new app created, in 3 - from Juno or any other already running Julia environment, in order to load your existing Genie app, you need to: Let me know how this works for you. |
@wr125 I've added extra instructions to run on Windows on the repo's README page |
How do I know it is running or not? I just get empty prompt. But localhost:8000 is not running? Please update the documentation as I simply cannot restart again an app that is already created. |
Hi Adrian! I would appreciate your help!
https://gist.github.com/hpoit/6a036f8f562c9f7abb95aeb3124e788b
Version changes have been happening at the speed of light, I'm busy just keeping up with them.
The text was updated successfully, but these errors were encountered: