Skip to content

Kaimon crashes on startup on Windows (opening file "/dev/tty") #49

Description

@cstjean

Not sure if this is a Kaimon or a Tachikoma issue.

I don't think my setup is particularly exotic. The original setup worked fine, but afterwards I get this:

PS C:\Users\me> kaimon
ERROR: SystemError: opening file "/dev/tty": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:186
  [2] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Bool, append::Nothing)
    @ Base .\iostream.jl:317
  [3] open
    @ .\iostream.jl:296 [inlined]
  [4] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:380
  [5] open
    @ .\iostream.jl:379 [inlined]
  [6] _start_stdout_capture!()
    @ Kaimon C:\Users\a1058035\.julia\packages\Kaimon\6N7iB\src\tui\io.jl:211
  [7] init!(m::Kaimon.KaimonModel, _t::Tachikoma.Terminal)
    @ Kaimon C:\Users\a1058035\.julia\packages\Kaimon\6N7iB\src\tui\lifecycle.jl:212
  [8] (::Tachikoma.var"#229#230"{Int64, Bool, Kaimon.KaimonModel, Base.RefValue{Any}, Base.RefValue{Any}, Base.RefValue{Bool}})(t::Tachikoma.Terminal)
    @ Tachikoma C:\Users\a1058035\.julia\packages\Tachikoma\vrBon\src\app.jl:1011
  [9] with_terminal(f::Tachikoma.var"#229#230"{Int64, Bool, Kaimon.KaimonModel, Base.RefValue{Any}, Base.RefValue{Any}, Base.RefValue{Bool}}; tty_out::Nothing, tty_size::Nothing, on_stdout::Nothing, on_stderr::Nothing)
    @ Tachikoma C:\Users\a1058035\.julia\packages\Tachikoma\vrBon\src\terminal.jl:1515
 [10] with_terminal
    @ C:\Users\a1058035\.julia\packages\Tachikoma\vrBon\src\terminal.jl:1493 [inlined]
 [11] app(model::Kaimon.KaimonModel; fps::Int64, default_bindings::Bool, on_stdout::Nothing, on_stderr::Nothing, tty_out::Nothing, tty_size::Nothing)
    @ Tachikoma C:\Users\a1058035\.julia\packages\Tachikoma\vrBon\src\app.jl:1010
 [12] invokelatest
    @ .\Base_compiler.jl:250 [inlined]
 [13] tui(; port::Int64, theme_name::Nothing, revise_polling::Bool, revise_mod::Nothing)
    @ Kaimon C:\Users\a1058035\.julia\packages\Kaimon\6N7iB\src\tui\lifecycle.jl:440
 [14] main(ARGS::Vector{String})
    @ Kaimon C:\Users\a1058035\.julia\packages\Kaimon\6N7iB\src\Kaimon.jl:2657
 [15] _start()
    @ Base .\client.jl:556

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions