Giter Club home page Giter Club logo

geniebuilder.jl's Introduction

GenieBuilder.jl

Installation

Optional: create a project for GenieBuilder

> mkdir "mygeniebuilder"
> cd "mygeniebuilder"
> julia
pkg> activate .

or install globally:

> julia

Install GenieBuilder

pkg> add https://github.com/GenieFramework/GenieBuilder.jl#v0.16

or

pkg> dev https://github.com/GenieFramework/GenieBuilder.jl#v0.16

Usage

julia> using GenieBuilder

This will bring GenieBuilder into scope and start the GenieBuilder service. The service is responsible for managing the list of registered Genie apps, as well as the no-code editor.

By default, the service will start on port 10101 over HTTP, and on port 10102 for websockets.

Creating a boilerplate Genie app

julia> GenieBuilder.create([name], [path])

API endpoint:

/api/v1/apps/create?path=/Users/adrian/Projects/GenieBuilderNextGen&name=testapp

-> name is the name of the app, and path is the path to the app's directory. If name is not provided, the name of the app will be the name of the directory. If path is not provided, the current directory will be used. -> returns information about the registered app

This will create a new Julia project in the current directory. You will see the new project files: Project.toml, Manifest.toml -- as well as the application itself: app.jl (for the backend) and app.jl.html (for the frontend/UI).

Upon successfully creating the app, the new application is automatically registered with GenieBuilder so you can edit it with the no-code editor.

Working with the GenieBuilder API

The following functions are available to interact with GenieBuilder:

Get the list of apps registered with GenieBuilder

julia> GenieBuilder.apps()

-> Returns an array of GenieBuilder.App objects.

API endpoint:

/api/v1/apps
{
  "applications": [
    {
      "id": {
        "value": 1
      },
      "name": "geniebuildernextgen",
      "port": 9101,
      "path": "/Volumes/Storage/Dropbox/Projects/GenieBuilderNextGen/",
      "status": "offline",
      "channel": "HSTYSOOKBWUMHXUZIABDTXFEHDEHHWIU",
      "replport": 9102
    }
  ]
}

Register an app with GenieBuilder

julia> GenieBuilder.register([name], [path])

-> name is the name of the app, and path is the path to the app's directory. If name is not provided, the name of the app will be the name of the directory. If path is not provided, the current directory will be used. -> returns information about the registered app

API endpoint:

/api/v1/register

-> GET payload: name and path (see above for expected data for both vars).

Example

http://127.0.0.1:10101/api/v1/apps/register?path=/Users/adrian/Projects/GenieBuilderNextGen&name=testapp
{
  "id": {
    "value": 1
  },
  "name": "testapp",
  "port": 9101,
  "path": "/Users/adrian/Projects/GenieBuilderNextGen/",
  "status": "offline",
  "channel": "SERRLQOMSCNRBLARTUZOZZYBSDAACOAF",
  "replport": 9102
}

Edit an app with the no-code editor

In order to edit an app with the no-code editor, the app must be registered with GenieBuilder and started (running). For more information on how to register an app, see the register function above.

Start an app

julia> GenieBuilder.start(app::Application)

API endpoint:

/api/v1/apps/<app_id>/start

-> app_id is the ID of the app to start. The app must be registered with GenieBuilder. -> app is an instance of GenieBuilder.Application (see apps() for more information).

Open no-code editor

julia> GenieBuilder.editor(app::Application)

or

julia> GenieBuilder.editor([name], [path])

Stop an app

julia> GenieBuilder.stop(app::Application)

API endpoint:

/api/v1/apps/<app_id>/stop

-> app_id is the ID of the app to stop. The app must be registered with GenieBuilder. -> app is an instance of GenieBuilder.Application (see apps() for more information).

Get information about an app

API endpoint:

/api/v1/apps/<app_id>/pages

Unregister an app

julia> GenieBuilder.unregister(app::Application)

or

julia> GenieBuilder.unregister([name], [path])

API endpoint:

/api/v1/apps/<app_id>/unregister

or

API endpoint:

/api/v1/apps/unregister?path=/Users/adrian/Projects/GenieBuilderNextGen&name=testapp

Open app in browser

julia> GenieBuilder.openbrowser(app::Application)

Stop GenieBuilder

julia> GenieBuilder.stop!()

geniebuilder.jl's People

Contributors

abhimanyuaryan avatar diracm avatar essenciary avatar esterbvila avatar lia1986 avatar pgimenez avatar protozoo avatar sarthak528 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

diracm

geniebuilder.jl's Issues

Describe how to create multi tab app in docs/youtube

Hello,
I've watched the workshop from JuliaCon2023 and wanted to try out the GenieBuilder.
I really wanted to create a multi tab app like in streamlit or shiny and I didn't menage to do it.
First, I tried to use tabs/tab-panels from Genie Builder, then I tried copypasting examples from quasar, but I got errors like 500 Internal Error - UndefVarError: q__option__group not defined.

I truly believe that introducing docs on how to create multi tab application may benefit the adoption of Genie/GenieBuilder.

Cheers!

Unable to start a Genie Builder server

Hi, I cannot start a genie server due to this error :

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:1630 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611
ERROR: LoadError: failed process: Process(setenv(`julia --startup-file=no --banner=no --depwarn=no -e '
      using Pkg;
      Pkg._auto_gc_enabled[] = false;
      Pkg.activate("."; io = devnull);
      Pkg.update(; io = devnull);
;

I added "import Pkg; Pkg.add("GenieBuilder")" to the rungb.jl file, but then I have another error:

ERROR: LoadError: The following package names could not be resolved:
 * GenieBuilder (not found in project, manifest or registry)
   Suggestions: GenieBuiltLifeProto
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:69
  [2] ensure_resolved(ctx::Pkg.Types.Context, manifest::Pkg.Types.Manifest, pkgs::Vector{Pkg.Types.PackageSpec}; registry::Bool)
    @ Pkg.Types /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:1003
  [3] ensure_resolved
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:954 [inlined]
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:264
  [5] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
  [6] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
  [7] #add#25
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
  [8] add
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
  [9] #add#24
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
 [10] add(pkg::String)
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:143
 [11] top-level scope
    @ ~/.vscode/extensions/geniebuilder.geniebuilder-0.4.11/scripts/rungb.jl:4
in expression starting at /home/disc/h.bonnavaud/.vscode/extensions/geniebuilder.geniebuilder-0.4.11/scripts/rungb.jl:4

I am using GenieBuilder v0.4.11, on ubuntu 20.04, and julia 1.9.3.

Package GenieBuilder not found in current path.

Hi, I cannot start a genie server due to this error :

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:1630 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611
ERROR: LoadError: failed process: Process(setenv(`julia --startup-file=no --banner=no --depwarn=no -e '
      using Pkg;
      Pkg._auto_gc_enabled[] = false;
      Pkg.activate("."; io = devnull);
      Pkg.update(; io = devnull);
;

I added "import Pkg; Pkg.add("GenieBuilder")" to the rungb.jl file, but then I have another error:

ERROR: LoadError: The following package names could not be resolved:
 * GenieBuilder (not found in project, manifest or registry)
   Suggestions: GenieBuiltLifeProto
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:69
  [2] ensure_resolved(ctx::Pkg.Types.Context, manifest::Pkg.Types.Manifest, pkgs::Vector{Pkg.Types.PackageSpec}; registry::Bool)
    @ Pkg.Types /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:1003
  [3] ensure_resolved
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/Types.jl:954 [inlined]
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:264
  [5] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
  [6] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
  [7] #add#25
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
  [8] add
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
  [9] #add#24
    @ /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
 [10] add(pkg::String)
    @ Pkg.API /snap/julia/86/share/julia/stdlib/v1.9/Pkg/src/API.jl:143
 [11] top-level scope
    @ ~/.vscode/extensions/geniebuilder.geniebuilder-0.4.11/scripts/rungb.jl:4
in expression starting at /home/disc/h.bonnavaud/.vscode/extensions/geniebuilder.geniebuilder-0.4.11/scripts/rungb.jl:4

I am using GenieBuilder v0.4.11, on ubuntu 20.04, and julia 1.9.3.

The wired thing is that I was able to create a genie app using

:~/$ julia
julia> using Pkg
julia> Pkg.add("Genie")
julia> Genie.Builder.newapp("MyApp")

And to start the server using

:~/MyApp/$ bin/repl
julia> up()

And everything work well. But I when I use the interface of the VSCode plugin and try to start the server using the "start server" button, I get the error above, and I am then not able to load the editor.

Thanks a lot

Server Not Start When User Name Has Space

PC USERNAME = Harley V2.0

I install genie builder in vs market.

When i click the start server.

julia --startup-file=no --depwarn=no c:\Users\Harley V2.0\.vscode\extensions\geniebuilder.geniebuilder-0.2.5\scripts/rungb.jl

This code try to start and it throws an error.

ERROR: SystemError: opening file "c:\\Users\\Harley": No such file or directory

When i try to fix path issue and start this code.

julia --startup-file=no --depwarn=no c:\Users\'Harley V2.0'\.vscode\extensions\geniebuilder.geniebuilder-0.2.5\scripts/rungb.jl

It throw an error again

ERROR: LoadError: SystemError: opening file ".gbver": No such file or directory

When i check the file location. I found .gbver file, in vscode\extensions\geniebuilder.geniebuilder-0.2.5\script folder location.

resim

Start Server button error.

Hello, I get this error when I click the start button in the extension. If I manually start the server in command line It runs just fine with this line: julia --startup-file=no --depwarn=no c:\Users\Rene.vscode\extensions\geniebuilder.geniebuilder-0.4.11\scripts/rungb.jl

it seems like its adding to much directory information. Can anyone explain why this part is happening:

opening file "C:\Users\Rene\.vscode\extensions\geniebuilder.geniebuilder-0.4.11\scripts__\UsersRene.vscodeextensionsgeniebuilder.geniebuilder-0.4.11scripts\__rungb.jl": No such file or directory
Stacktrace:

error codes

Plot not working when running Genie Builder

I've added a UI using GB to the Iris Clustering demo app. However, when I view the app on the browser one of the plots doesn't work.

image

However, if I cd into the .julia/geniebuilder/irisclustering folder, start a Julia REPL and run the app with include("app.jl"); up() it works.

image

This is the code for app.jl

using Clustering
import RDatasets: dataset
import DataFrames
using GenieFramework
@genietools

const data = DataFrames.insertcols!(dataset("datasets", "iris"), :Cluster => zeros(Int, 150))
@out const features = [:SepalLength, :SepalWidth, :PetalLength, :PetalWidth]

function cluster(no_of_clusters = 3, no_of_iterations = 10)
    feats = Matrix(data[:, [c for c in features]])' |> collect
    result = kmeans(feats, no_of_clusters; maxiter = no_of_iterations)
    data[!, :Cluster] = assignments(result)
end

@handlers begin
    @in no_of_clusters = 3
    @in no_of_iterations = 10
    @in xfeature = :SepalLength
    @in yfeature = :SepalWidth
    @out datatable = DataTable()
    @out datatablepagination = DataTablePagination(rows_per_page=50)
    @out irisplot = PlotData[]
    @out clusterplot = PlotData[]
    @out title = "My Iris Dashboard"

    @onchangeany isready, xfeature, yfeature, no_of_clusters, no_of_iterations begin
    cluster(no_of_clusters, no_of_iterations)
    datatable = DataTable(data)
    irisplot = plotdata(data, xfeature, yfeature; groupfeature = :Species)
    clusterplot = plotdata(data, xfeature, yfeature; groupfeature = :Cluster)
    @show clusterplot
end
end

@page("/", "app.jl.html")

This is for app.jl.html:

<div class="row">
    <div class="col col-6 col-sm">
        <p v-text="no_of_clusters">Column 1 content</p>
        <q-slider v-model="no_of_clusters"></q-slider>
    </div>
    <div class="col col-6 col-sm">
        <p v-text="no_of_iterations">Column 2 content</p>
        <q-slider v-model="no_of_iterations"></q-slider>
    </div>
</div>
<div class="row">
    <div class="col col-6 col-sm">
        <p>Column 1 content</p>
        <q-select v-model="xfeature" :options="features"></q-select>
    </div>
    <div class="col col-6 col-sm">
        <p>Column 2 content</p>
        <q-select v-model="yfeature" :options="features"></q-select>
    </div>
</div>
<div class="row">
    <div class="col col-6 col-sm">
        <p>Column 1 content</p>
        <plotly :data="irisplot"></plotly>
    </div>
    <div class="col col-6 col-sm">
        <p>Column 2 content</p>
        <plotly :data="clusterplot"></plotly>
    </div>
</div>

GenieBuilder.jl errors out on startup under MacOS Catalina

Using the latest stable Julia release as of today on MacOS 10.15.7 (Catalina), I followed the instructions to setup GenieBuilder, wrote the token file required and then got this error. Maybe some other initialization is necessary that is not in the instructions. (I didn't do any of the manual repl setup or add julia to my PATH yet).

julia> using Genie; Genie.loadapp()
┌ Error: 2022-07-30 18:29:49 Exception while generating log record in module GenieBuilder.ApplicationsController at /Users/bk/Dropbox/GitHub/julia/GenieBuilder.jl/app/resources/applications/ApplicationsController.jl:775
│ exception =
│ UndefRefError: access to undefined reference
│ Stacktrace:
│ [1] getproperty
│ @ ./Base.jl:42 [inlined]
│ [2] getindex
│ @ ./refvalue.jl:56 [inlined]
│ [3] macro expansion
│ @ ./logging.jl:360 [inlined]
│ [4] ready()
│ @ GenieBuilder.ApplicationsController ~/Dropbox/GitHub/julia/GenieBuilder.jl/app/resources/applications/ApplicationsController.jl:775
│ [5] ready
│ @ ~/Dropbox/GitHub/julia/GenieBuilder.jl/routes.jl:123 [inlined]
│ [6] main()
│ @ GenieBuilder ~/Dropbox/GitHub/julia/GenieBuilder.jl/routes.jl:129
│ [7] top-level scope
│ @ ~/Dropbox/GitHub/julia/GenieBuilder.jl/bootstrap.jl:5
│ [8] include(fname::String)
│ @ Base.MainInclude ./client.jl:451
│ [9] top-level scope
│ @ ~/.julia/packages/Genie/mMGS8/src/Genie.jl:101
│ [10] eval
│ @ ./boot.jl:373 [inlined]
│ [11] loadapp(path::String; autostart::Bool, dbadapter::Nothing)
│ @ Genie ~/.julia/packages/Genie/mMGS8/src/Genie.jl:100
│ [12] loadapp (repeats 2 times)
│ @ ~/.julia/packages/Genie/mMGS8/src/Genie.jl:96 [inlined]
│ [13] top-level scope
│ @ REPL[6]:1
│ [14] eval
│ @ ./boot.jl:373 [inlined]
│ [15] eval_user_input(ast::Any, backend::REPL.REPLBackend)
│ @ REPL /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/REPL/src/REPL.jl:150
│ [16] repl_backend_loop(backend::REPL.REPLBackend)
│ @ REPL /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/REPL/src/REPL.jl:246
│ [17] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
│ @ REPL /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/REPL/src/REPL.jl:231
│ [18] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
│ @ REPL /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/REPL/src/REPL.jl:364
│ [19] run_repl(repl::REPL.AbstractREPL, consumer::Any)
│ @ REPL /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/stdlib/v1.7/REPL/src/REPL.jl:351
│ [20] (::Base.var"#936#938"{Bool, Bool, Bool})(REPL::Module)
│ @ Base ./client.jl:394
│ [21] #invokelatest#2
│ @ ./essentials.jl:716 [inlined]
│ [22] invokelatest
│ @ ./essentials.jl:714 [inlined]
│ [23] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
│ @ Base ./client.jl:379
│ [24] exec_options(opts::Base.JLOptions)
│ @ Base ./client.jl:309
│ [25] _start()
│ @ Base ./client.jl:495
└ @ GenieBuilder.ApplicationsController ~/Dropbox/GitHub/julia/GenieBuilder.jl/app/resources/applications/ApplicationsController.jl:775
ERROR: LoadError: UndefRefError: access to undefined reference
Stacktrace:
[1] getproperty
@ ./Base.jl:42 [inlined]
[2] getindex
@ ./refvalue.jl:56 [inlined]
[3] ready()
@ GenieBuilder.ApplicationsController ~/Dropbox/GitHub/julia/GenieBuilder.jl/app/resources/applications/ApplicationsController.jl:778
[4] ready
@ ~/Dropbox/GitHub/julia/GenieBuilder.jl/routes.jl:123 [inlined]
[5] main()
@ GenieBuilder ~/Dropbox/GitHub/julia/GenieBuilder.jl/routes.jl:129
[6] top-level scope
@ ~/Dropbox/GitHub/julia/GenieBuilder.jl/bootstrap.jl:5
[7] include(fname::String)
@ Base.MainInclude ./client.jl:451
[8] top-level scope
@ ~/.julia/packages/Genie/mMGS8/src/Genie.jl:101
[9] eval
@ ./boot.jl:373 [inlined]
[10] loadapp(path::String; autostart::Bool, dbadapter::Nothing)
@ Genie ~/.julia/packages/Genie/mMGS8/src/Genie.jl:100
[11] loadapp (repeats 2 times)
@ ~/.julia/packages/Genie/mMGS8/src/Genie.jl:96 [inlined]
[12] top-level scope
@ REPL[6]:1
in expression starting at /Users/bk/Dropbox/GitHub/julia/GenieBuilder.jl/bootstrap.jl:5

Server does not install/launch (Julia v1.9)

After installing Genie.jl and GenieBuilder extension for VS Code (v0.3.47), I click the "start server" button which launches a shell script, with the errors below.

 _____         _        _____     _ _   _
|   __|___ ___|_|___   | __  |_ _|_| |_| |___ ___
|  |  | -_|   | | -_|  | __ -| | | | | . | -_|  _|
|_____|___|_|_|_|___|  |_____|___|_|_|___|___|_|
v0.14 -- 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:1595 [inlined]
 [2] macro expansion
   @ .\lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1576
ERROR: LoadError: failed process: Process(setenv(`julia --startup-file=no --banner=no --depwarn=no -e '
            using Pkg;
            Pkg._auto_gc_enabled[] = false;
            Pkg.activate("."; io = devnull);
            Pkg.update(; io = devnull);
;
            using GenieBuilder;
            GenieBuilder.postinstall();'`,["PATH=C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.6.10-hotspot\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Amazon\\AWSCLIV2\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\MATLAB\\R2021b\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\takuy\\miniconda3;C:\\Users\\takuy\\miniconda3\\Library\\mingw-w64\\bin;C:\\Users\\takuy\\miniconda3\\Library\\usr\\bin;C:\\Users\\takuy\\miniconda3\\Library\\bin;C:\\Users\\takuy\\miniconda3\\Scripts;C:\\Users\\takuy\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\takuy\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\takuy\\AppData\\Local\\gitkraken\\bin;C:\\development\\julia-1.8.4\\bin\\;C:\\Users\\takuy\\AppData\\Local\\Microsoft\\WindowsApps;C:\\development\\ptime", "USERDOMAIN_ROAMINGPROFILE=TAK-WS01", "WSLENV=WT_SESSION::WT_PROFILE_ID", "HOMEPATH=\\Users\\takuy", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL", "SYSTEMROOT=C:\\WINDOWS", "APPDATA=C:\\Users\\takuy\\AppData\\Roaming", "PSMODULEPATH=C:\\Users\\takuy\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules", "COMMONPROGRAMW6432=C:\\Program Files\\Common Files", "PROGRAMDATA=C:\\ProgramData"  …  "PROGRAMFILES=C:\\Program Files", "CHROME_CRASHPAD_PIPE_NAME=\\\\.\\pipe\\LOCAL\\crashpad_7016_TNOSPJWVLIVADJJN", "LOGONSERVER=\\\\TAK-WS01", "DRIVERDATA=C:\\Windows\\System32\\Drivers\\DriverData", "ORIGINAL_XDG_CURRENT_DESKTOP=undefined", "POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro", "GENIE_BANNER=false", "SYSTEMDRIVE=C:", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ .\process.jl:565 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base .\process.jl:480
 [3] run
   @ .\process.jl:477 [inlined]
 [4] |>
   @ .\operators.jl:907 [inlined]
 [5] installgb()
   @ Main.RunGB c:\Users\takuy\.vscode\extensions\geniebuilder.geniebuilder-0.3.47\scripts\rungb.jl:44
 [6] startgb()
   @ Main.RunGB c:\Users\takuy\.vscode\extensions\geniebuilder.geniebuilder-0.3.47\scripts\rungb.jl:67
 [7] top-level scope
   @ c:\Users\takuy\.vscode\extensions\geniebuilder.geniebuilder-0.3.47\scripts\rungb.jl:87
in expression starting at c:\Users\takuy\.vscode\extensions\geniebuilder.geniebuilder-0.3.47\scripts\rungb.jl:87

Output from versioninfo()

Julia Version 1.9.0
Commit 8e63055292 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × AMD Ryzen 7 6800HS Creator Edition
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 1 on 16 virtual cores

GenieBuilder server does not start, fresh install

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.