GenieFramework / GenieBuilder.jl

Other
16 stars 1 forks source link

GenieBuilder server does not start, fresh install #42

Open ahjulstad opened 1 year ago

ahjulstad commented 1 year ago

After fresh install of GenieBuilder plugin in VS code, unable to start server.

win11, julia 1.9 beta 3

(base) PS C:\Users\asmun\.vscode\extensions\geniebuilder.geniebuilder-0.2.6\scripts> julia --startup-file=no --depwarn=no c:\Users\asmun\.vscode\extensions\geniebuilder.geniebuilder-0.2.6\scripts/rungb.jl
 _____         _        _____     _ _   _
|   __|___ ___|_|___   | __  |_ _|_| |_| |___ ___
|  |  | -_|   | | -_|  | __ -| | | | | . | -_|  _|
|_____|___|_|_|_|___|  |_____|___|_|_|___|___|_|
v0.12 -- release
LOADING -- PLEASE WAIT.

ERROR: ArgumentError: Package GenieBuilder not found in current path.
- Run `import Pkg; Pkg.add("GenieBuilder")` to install the GenieBuilder package.
Stacktrace:
 [1] macro expansion
   @ .\loading.jl:1537 [inlined]
 [2] macro expansion
   @ .\lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1518
ERROR: LoadError: failed process: Process(setenv(`julia --startup-file=no --banner=no --depwarn=no -e '
            using Pkg;
            Pkg.activate("."; io = devnull);
            Pkg.update(; io = devnull);
;
            using GenieBuilder;
            GenieBuilder.postinstall();'`,["PATH=C:\\Users\\asmun\\minif
DiracM commented 1 year ago

Hi @ahjulstad I had the same problem, I was able to bypass by downloading the repository and add it manually on my Julia environment with "]dev path" where the path is the directory with the GenieBuilder.jl.

hbonnavaud commented 1 year ago

Same problem here. @DiracM can you give more details please? How did you add it manually? Where have you put "]dev path"? How to find the GenieBuilder.jl?

kongdd commented 1 year ago

I have the same issue.

technocrat commented 10 months ago

Julia 1.9.4 macOS Sonoma fresh install, server doesn't start in VSCode, attempting to use in REPL didn't help

using GenieBuilder julia> GenieBuilder.create() ERROR: UndefVarError:createnot defined Stacktrace: [1] getproperty(x::Module, f::Symbol) @ Base ./Base.jl:31 [2] top-level scope @ REPL[19]:1 after activating in new folder. Don't know where to go from here.

DiracM commented 9 months ago

Same problem here. @DiracM can you give more details please? How did you add it manually? Where have you put "]dev path"? How to find the GenieBuilder.jl?

I no longer have this problem after a fresh installation but the steps that I took was: 1) Download the GitHub repository as a .zip 2) Extract it to a path as for example "C:\GenieBuilder" 3) Open Julia and type "]dev C:\GenieBuilder" to enter the package mode and add the new directory to the environment 4) Hopefully the package should be now detected when you try to open Genie Builder

pfakcharoenphol commented 5 months ago

@technocrat did you find the solution? I have the same issue, don't know how to proceed.

technocrat commented 5 months ago

Nope. I've set it aside because life is just too short, especially at my advanced age.