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

Rye with arguments without command fails #1331

Open
SamoylovMD opened this issue Aug 13, 2024 · 0 comments
Open

Rye with arguments without command fails #1331

SamoylovMD opened this issue Aug 13, 2024 · 0 comments

Comments

@SamoylovMD
Copy link

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 (3e3c854 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.

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