rye icon indicating copy to clipboard operation
rye copied to clipboard

Rye with arguments without command fails

Open SamoylovMD opened this issue 6 months ago • 0 comments

Steps to Reproduce

  1. Create .env file
  2. Run rye --env-file=.env

Expected Result

Should print help message (as rye without arguments does)

Actual Result

$ rye --env-file=.env thread 'main' panicked at rye/src/cli/mod.rs:122:9: internal error: entered unreachable code note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Version Info

$ rye --version rye 0.38.0 commit: 0.38.0 (3e3c8540f 2024-08-02) platform: macos (x86_64) self-python: [email protected] symlink support: true uv enabled: true

Stacktrace

$ RUST_BACKTRACE=1 rye --env-file=.env thread 'main' panicked at rye/src/cli/mod.rs:122:9: internal error: entered unreachable code stack backtrace: 0: _rust_begin_unwind 1: core::panicking::panic_fmt 2: core::panicking::panic 3: rye::cli::execute 4: std::panicking::try 5: rye::utils::panic::trap_bad_pipe 6: rye::main note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

SamoylovMD avatar Aug 13 '24 14:08 SamoylovMD