Skip to content
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

Error on opening GUI when started from terminal on Ubuntu #1

Closed
Eben60 opened this issue Jan 2, 2025 · 2 comments
Closed

Error on opening GUI when started from terminal on Ubuntu #1

Eben60 opened this issue Jan 2, 2025 · 2 comments

Comments

@Eben60
Copy link
Owner

Eben60 commented Jan 2, 2025

The package works properly when run from VSCode, but broken if called from Julia in terminal.

Ubuntu 24.04.1 LTS , Julia v1.10 and 1.11

julia> versioninfo()
Julia Version 1.11.2
Commit 5e9a32e7af2 (2024-12-01 20:02 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, ivybridge)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
julia> gogui()
ERROR: IOError: connect: connection refused (ECONNREFUSED)
Stacktrace:
  [1] wait_connected(x::Sockets.TCPSocket)
    @ Sockets ~/.julia/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:528
  [2] connect
    @ ~/.julia/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:563 [inlined]
  [3] connect(addr::Sockets.IPv4, port::Int64)
    @ Sockets ~/.julia/juliaup/julia-1.11.2+0.x64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:549
  [4] try_connect(::Sockets.IPv4, ::Vararg{Any}; interval::Float64, attempts::Int64)
    @ Blink.AtomShell ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:77
  [5] try_connect
    @ ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:74 [inlined]
  [6] init(; debug::Bool)
    @ Blink.AtomShell ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:91
  [7] init
    @ ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:85 [inlined]
  [8] #shell#6
    @ ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:147 [inlined]
  [9] shell
    @ ~/.julia/packages/Blink/tnO3a/src/AtomShell/process.jl:138 [inlined]
 [10] Window
    @ ~/.julia/packages/Blink/tnO3a/src/AtomShell/window.jl:100 [inlined]
 [11] mainwin(fpath::String)
    @ PackageMaker ~/.julia/packages/PackageMaker/W20ti/src/blink_interactions.jl:17
 [12] initwin(wpath::String; make_prj::Bool)
    @ PackageMaker ~/.julia/packages/PackageMaker/W20ti/src/blink_interactions.jl:105
 [13] initwin (repeats 2 times)
    @ ~/.julia/packages/PackageMaker/W20ti/src/blink_interactions.jl:102 [inlined]
 [14] _gogui(exitjulia::Bool; make_prj::Bool)
    @ PackageMaker ~/.julia/packages/PackageMaker/W20ti/src/processvals.jl:241
 [15] _gogui
    @ ~/.julia/packages/PackageMaker/W20ti/src/processvals.jl:239 [inlined]
 [16] gogui
    @ ~/.julia/packages/PackageMaker/W20ti/src/processvals.jl:255 [inlined]
 [17] gogui()
    @ PackageMaker ~/.julia/packages/PackageMaker/W20ti/src/processvals.jl:255
 [18] top-level scope
    @ REPL[4]:1
@Eben60
Copy link
Owner Author

Eben60 commented Jan 10, 2025

Traced to JuliaGizmos/Blink.jl#325

@Eben60
Copy link
Owner Author

Eben60 commented Jan 10, 2025

Workaround in v0.1.4

@Eben60 Eben60 closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant