JuliaHomotopyContinuation / HomotopyContinuation.jl

A Julia package for solving systems of polynomials via homotopy continuation.
https://www.JuliaHomotopyContinuation.org
MIT License
185 stars 30 forks source link

`tty_width` error #474

Closed iliailmer closed 3 years ago

iliailmer commented 3 years ago

Hi, when running solve command on a CentOS system via ssh, I got this error:

ERROR: MethodError: no method matching tty_width(::String, ::Base.TTY)
Closest candidates are:
  tty_width(::Any, ::Any, ::Bool) at ~/.julia/packages/ProgressMeter/ScK4e/src/ProgressMeter.jl:217
Stacktrace:
 [1] make_progress(n::Int64; delay::Float64)
   @ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/bPsOT/src/solve.jl:530
 [2] #solve#278
   @ ~/.julia/packages/HomotopyContinuation/bPsOT/src/solve.jl:511 [inlined]
 [3] #solve#277
   @ ~/.julia/packages/HomotopyContinuation/bPsOT/src/solve.jl:501 [inlined]
 [4] solve(args::System; show_progress::Bool, threading::Bool, catch_interrupt::Bool, target_parameters::Nothing, stop_early_cb::Function, transform_result::Nothing, transform_parameters::typeof(identity), flatten::Nothing, target_subspaces::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/bPsOT/src/solve.jl:487
 [5] solve(args::System)
   @ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/bPsOT/src/solve.jl:446
 [6] top-level scope
   @ REPL[6]:1

It stems from the progress bar function, but I am not sure why it is not running on the machine. Any suggestions for a fix? Thank you!

iliailmer commented 3 years ago

sorry for a duplicate of #471 , i will close this issue