GenieFramework / Genie.jl

🧞The highly productive Julia web framework
https://genieframework.com
MIT License
2.27k stars 192 forks source link

Genie Builder seems to crash after installation #612

Closed 00krishna closed 1 year ago

00krishna commented 1 year ago

Describe the bug I installed the Genie Builder extension in VSCode 1.74.2 on ubuntu 20.04 LTS on Julia 1.8.3. The extension seems to install, but the first time that I start the server, the extension crashes. I have the details for the stacktrace below. The Builder app keeps showing that the Genie Server is "starting", and the "Genie Builder Apps" section keeps saying "Starting GenieBuilder, please wait ..."

Error stacktrace

0% ❯ julia --startup-file=no --depwarn=no /home/krishnab/.vscode/extensions/geniebuilder.geniebuilder-0.2.6/scripts/rungb.jl
 _____         _        _____     _ _   _
|   __|___ ___|_|___   | __  |_ _|_| |_| |___ ___
|  |  | -_|   | | -_|  | __ -| | | | | . | -_|  _|
|_____|___|_|_|_|___|  |_____|___|_|_|___|___|_|
v0.12 -- release
LOADING -- PLEASE WAIT.

/usr/lib/julia-1.8.3/bin/julia: symbol lookup error: /home/krishnab/.julia/artifacts/53037ac9d528ee46c3526799b407ee52b7c224f3/lib/libssl.so: undefined symbol: EVP_idea_cbc, version OPENSSL_1_1_0
ERROR: LoadError: Failed to precompile Genie [c43c736e-a2d1-11e8-161f-af95117fbd1e] to /home/krishnab/.julia/compiled/v1.8/Genie/jl_M7waid.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base ./loading.jl:1707
  [3] compilecache
    @ ./loading.jl:1651 [inlined]
  [4] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1337
  [5] _require_prelocked(uuidkey::Base.PkgId)
    @ Base ./loading.jl:1200
  [6] macro expansion
    @ ./loading.jl:1180 [inlined]
  [7] macro expansion
    @ ./lock.jl:223 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1144
  [9] include
    @ ./Base.jl:419 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base ./loading.jl:1554
 [11] top-level scope
    @ stdin:1
in expression starting at /home/krishnab/.julia/packages/GenieBuilder/o5arh/src/GenieBuilder.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile GenieBuilder [c9453c14-af8a-11ec-351d-c7c9a2035d70] to /home/krishnab/.julia/compiled/v1.8/GenieBuilder/jl_NzQC8m.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:1707
 [3] compilecache
   @ ./loading.jl:1651 [inlined]
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1337
 [5] _require_prelocked(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1200
 [6] macro expansion
   @ ./loading.jl:1180 [inlined]
 [7] macro expansion
   @ ./lock.jl:223 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
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();'`,["_CE_M=", "SETVARS_COMPLETED=1", "PATH=/drives/lakshmi/.oneapi/vtune/2023.0.0/bin64:/drives/lakshmi/.oneapi/vpl/2023.0.0/bin:/drives/lakshmi/.oneapi/mpi/2021.8.0//libfabric/bin:/drives/lakshmi/.oneapi/mpi/2021.8.0//bin:/drives/lakshmi/.oneapi/mkl/2023.0.0/bin/intel64:/drives/lakshmi/.oneapi/itac/2021.8.0/bin:/drives/lakshmi/.oneapi/intelpython/latest/bin:/drives/lakshmi/.oneapi/inspector/2023.0.0/bin64:/drives/lakshmi/.oneapi/dpcpp-ct/2023.0.0/bin:/drives/lakshmi/.oneapi/dev-utilities/2021.8.0/bin:/drives/lakshmi/.oneapi/debugger/2023.0.0/gdb/intel64/bin:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/oclfpga/bin:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/bin/intel64:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/bin:/drives/lakshmi/.oneapi/clck/2021.7.2/bin/intel64:/drives/lakshmi/.oneapi/advisor/2023.0.0/bin64:/drives/lakshmi/anaconda3/condabin:/usr/local/cuda-10.0/bin:/home/krishnab/.rbenv/bin:/home/krishnab/.cargo/bin:/home/krishnab/.rbenv/plugins/ruby-build/bin:/home/krishnab/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/bin:/home/krishnab/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "DEFAULTS_PATH=/usr/share/gconf/i3.default.path", "QT_ACCESSIBILITY=1", "HISTFILE=/home/krishnab/.zsh_history", "LD_LIBRARY_PATH=/drives/lakshmi/.oneapi/vpl/2023.0.0/lib:/drives/lakshmi/.oneapi/tbb/2021.8.0/env/../lib/intel64/gcc4.8:/drives/lakshmi/.oneapi/mpi/2021.8.0//libfabric/lib:/drives/lakshmi/.oneapi/mpi/2021.8.0//lib/release:/drives/lakshmi/.oneapi/mpi/2021.8.0//lib:/drives/lakshmi/.oneapi/mkl/2023.0.0/lib/intel64:/drives/lakshmi/.oneapi/itac/2021.8.0/slib:/drives/lakshmi/.oneapi/ipp/2021.7.0/lib/intel64:/drives/lakshmi/.oneapi/ippcp/2021.6.3/lib/intel64:/drives/lakshmi/.oneapi/ipp/2021.7.0/lib/intel64:/drives/lakshmi/.oneapi/dnnl/2023.0.0/cpu_dpcpp_gpu_dpcpp/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/gdb/intel64/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/libipt/intel64/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/dep/lib:/drives/lakshmi/.oneapi/dal/2023.0.0/lib/intel64:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/x64:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/oclfpga/host/linux64/lib:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin:/drives/lakshmi/.oneapi/ccl/2021.8.0/lib/cpu_gpu_dpcpp:/usr/local/cuda-10.0/lib64:/usr/local/cuda/extras/CUPTI/lib64:", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "FPGA_VARS_DIR=/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/oclfpga", "MANPATH=/drives/lakshmi/.oneapi/mpi/2021.8.0/man:/drives/lakshmi/.oneapi/itac/2021.8.0/man:/drives/lakshmi/.oneapi/debugger/2023.0.0/documentation/man:/drives/lakshmi/.oneapi/compiler/2023.0.0/documentation/en/man/common:/drives/lakshmi/.oneapi/clck/2021.7.2/man::"  …  "MANDATORY_PATH=/usr/share/gconf/i3.mandatory.path", "XDG_SESSION_ID=2", "INTELFPGAOCLSDKROOT=/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/oclfpga", "APM=/drives/lakshmi/.oneapi/advisor/2023.0.0/perfmodels", "PKG_CONFIG_PATH=/drives/lakshmi/.oneapi/vtune/2023.0.0/include/pkgconfig/lib64:/drives/lakshmi/.oneapi/vpl/2023.0.0/lib/pkgconfig:/drives/lakshmi/.oneapi/tbb/2021.8.0/env/../lib/pkgconfig:/drives/lakshmi/.oneapi/mpi/2021.8.0/lib/pkgconfig:/drives/lakshmi/.oneapi/mkl/2023.0.0/lib/pkgconfig:/drives/lakshmi/.oneapi/ippcp/2021.6.3/lib/pkgconfig:/drives/lakshmi/.oneapi/inspector/2023.0.0/include/pkgconfig/lib64:/drives/lakshmi/.oneapi/dpl/2022.0.0/lib/pkgconfig:/drives/lakshmi/.oneapi/dnnl/2023.0.0/cpu_dpcpp_gpu_dpcpp/../lib/pkgconfig:/drives/lakshmi/.oneapi/dal/2023.0.0/lib/pkgconfig:/drives/lakshmi/.oneapi/compiler/2023.0.0/lib/pkgconfig:/drives/lakshmi/.oneapi/ccl/2021.8.0/lib/pkgconfig:/drives/lakshmi/.oneapi/advisor/2023.0.0/include/pkgconfig/lib64:", "DPL_ROOT=/drives/lakshmi/.oneapi/dpl/2022.0.0", "DAL_MAJOR_BINARY=1", "WINDOWPATH=2", "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "MKLROOT=/drives/lakshmi/.oneapi/mkl/2023.0.0"]), 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:911 [inlined]
 [5] installgb()
   @ Main.RunGB ~/.vscode/extensions/geniebuilder.geniebuilder-0.2.6/scripts/rungb.jl:42
 [6] startgb()
   @ Main.RunGB ~/.vscode/extensions/geniebuilder.geniebuilder-0.2.6/scripts/rungb.jl:65
 [7] top-level scope
   @ ~/.vscode/extensions/geniebuilder.geniebuilder-0.2.6/scripts/rungb.jl:83
in expression starting at /home/krishnab/.vscode/extensions/geniebuilder.geniebuilder-0.2.6/scripts/rungb.jl:83

To reproduce I simple installed the Genie Builder app, restarted VSCode, and then tried to start the Genie Server.

Expected behavior The extension should register that the server has started without errors.

Additional context Please include the output of julia> versioninfo()

julia> versioninfo()
Julia Version 1.8.3
Commit 0434deb161e (2022-11-14 20:14 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, haswell)
  Threads: 4 on 8 virtual cores
Environment:
  LD_PRELOAD = /usr/lib/x86_64-linux-gnu/libcurl.so.4.6.0
  LD_LIBRARY_PATH = /drives/lakshmi/.oneapi/vpl/2023.0.0/lib:/drives/lakshmi/.oneapi/tbb/2021.8.0/env/../lib/intel64/gcc4.8:/drives/lakshmi/.oneapi/mpi/2021.8.0//libfabric/lib:/drives/lakshmi/.oneapi/mpi/2021.8.0//lib/release:/drives/lakshmi/.oneapi/mpi/2021.8.0//lib:/drives/lakshmi/.oneapi/mkl/2023.0.0/lib/intel64:/drives/lakshmi/.oneapi/itac/2021.8.0/slib:/drives/lakshmi/.oneapi/ipp/2021.7.0/lib/intel64:/drives/lakshmi/.oneapi/ippcp/2021.6.3/lib/intel64:/drives/lakshmi/.oneapi/ipp/2021.7.0/lib/intel64:/drives/lakshmi/.oneapi/dnnl/2023.0.0/cpu_dpcpp_gpu_dpcpp/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/gdb/intel64/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/libipt/intel64/lib:/drives/lakshmi/.oneapi/debugger/2023.0.0/dep/lib:/drives/lakshmi/.oneapi/dal/2023.0.0/lib/intel64:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/x64:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/lib/oclfpga/host/linux64/lib:/drives/lakshmi/.oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin:/drives/lakshmi/.oneapi/ccl/2021.8.0/lib/cpu_gpu_dpcpp:/usr/local/cuda-10.0/lib64:/usr/local/cuda/extras/CUPTI/lib64:
  JULIA_NUM_THREADS = 4

and pkg> st

(@v1.8) pkg> st
Status `~/.julia/environments/v1.8/Project.toml`
  [c43c736e] Genie v5.13.0
  [5fb14364] OhMyREPL v0.5.12
  [14b8a8f1] PkgTemplates v0.7.29
  [ccf2f8ad] PlotThemes v3.1.0
⌃ [295af30f] Revise v3.4.0
00krishna commented 1 year ago

Sorry, I think I posted this issue to the wrong location. I posted to the GenieBuilder Issues section: https://github.com/GenieFramework/GenieBuilderIssues/issues/7