hundreds-breakfast-49010
03/18/2020, 6:26 PM./v2 --enable-pantsd lint src/python/pants/engine::
, I get a rust panic error message printed from an unwrap
deep within the termion codehundreds-breakfast-49010
03/18/2020, 6:27 PMhundreds-father-404
03/18/2020, 6:27 PM./v2
is shorthand for ./pants --no-v1 --v2 --v2-ui
.
If you turn off --v2-ui
, does the error go away?hundreds-breakfast-49010
03/18/2020, 6:28 PMhundreds-breakfast-49010
03/18/2020, 6:28 PMhundreds-breakfast-49010
03/18/2020, 6:28 PMhundreds-breakfast-49010
03/18/2020, 6:29 PMhundreds-breakfast-49010
03/18/2020, 6:30 PMhundreds-father-404
03/18/2020, 6:33 PMbut we still probably shouldn’t be trying to run any console code in pantsd modeWhat do you mean? For example, you couldn’t run
./v2 repl
with pantsd? I believe pantsd works with V1 replhundreds-breakfast-49010
03/18/2020, 6:34 PMhundreds-breakfast-49010
03/18/2020, 6:34 PMhundreds-breakfast-49010
03/18/2020, 6:34 PMhundreds-breakfast-49010
03/18/2020, 6:35 PMhundreds-father-404
03/18/2020, 6:36 PMbut I don’t think that many people have tried to run --enable-pantsd and --v2-ui simultaneously, so we might not have run into this beforeAgreed
witty-crayon-22786
03/18/2020, 7:15 PMpantsd
, pants attempts to redirect stdout/stderr to filehandles that are copied to the socket. it also attempts to clone/redirect a TTY temporarily.witty-crayon-22786
03/18/2020, 7:16 PMhundreds-breakfast-49010
03/18/2020, 7:19 PMSession::new()
in rusthundreds-breakfast-49010
03/18/2020, 7:19 PMhundreds-breakfast-49010
03/18/2020, 7:20 PMshould_render_ui
is false for pantsdwitty-crayon-22786
03/18/2020, 7:20 PMwitty-crayon-22786
03/18/2020, 7:20 PMSession::new
...? hm.witty-crayon-22786
03/18/2020, 7:21 PMhundreds-breakfast-49010
03/18/2020, 7:21 PMhundreds-breakfast-49010
03/18/2020, 7:21 PMwitty-crayon-22786
03/18/2020, 7:23 PMwitty-crayon-22786
03/18/2020, 7:23 PMhundreds-breakfast-49010
03/18/2020, 7:24 PMhundreds-breakfast-49010
03/18/2020, 7:25 PM./v2 --enable-pantsd lint src/python/pants/engine::
hundreds-breakfast-49010
03/18/2020, 7:25 PMhundreds-breakfast-49010
03/18/2020, 7:25 PMasync_stdin
spawns to read stdin without blockinghundreds-breakfast-49010
03/18/2020, 7:26 PMthread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 6, kind: Other, message: "No such device or address" }', /home/gregs/.cache/pants/rust/cargo/registry/src/github.com-1ecc6299db9ec823/termion-1.5.5/src/async.rs:43:36
witty-crayon-22786
03/18/2020, 7:27 PM