You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When adding a python env line to [env] block in .mise.toml file as follows:
[env]
_.file = 'server/.env'
_.python.venv = { path = ".venv", create = true } # create the venv if it doesn't exist
and trying to run tasks I get the following error
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: JoinPathsError { inner: JoinPathsError }
Location: src/path_env.rs:50
Full trace
❯ RUST_BACKTRACE=full mise run install
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: JoinPathsError { inner: JoinPathsError }
Location: src/path_env.rs:50
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 9 frames hidden ⋮
10: mise::toolset::Toolset::env_with_path::ha352fc7531460682
at <unknown source file>:<unknown line>
11: mise::cli::run::Run::run::h58120052c1c0853f
at <unknown source file>:<unknown line>
12: mise::cli::Cli::run::hf6cb0a1443c80811
at <unknown source file>:<unknown line>
13: mise::main::h4b059410b007a228
at <unknown source file>:<unknown line>
14: std::sys_common::backtrace::__rust_begin_short_backtrace::h59d757c488a0c1a5
at <unknown source file>:<unknown line>
15: std::rt::lang_start::{{closure}}::hc34123bf95d8d56d
at <unknown source file>:<unknown line>
16: std::panicking::try::h0cf3a98f51cee1e9
at <unknown source file>:<unknown line>
17: std::rt::lang_start_internal::h07dd9d9140cc1a1e
at <unknown source file>:<unknown line>
18: _main<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
To Reproduce
Add the following line under the [env] block
_.python.venv = { path = ".venv", create = true }
Expected behavior
Mise tasks should run as normal which happens when you remove that line
❯ mise run install --debug
[DEBUG] ARGS: /opt/homebrew/bin/mise run install --debug
[DEBUG] Config {
Config Files: [
"~/git/logbooks/.mise.toml",
"~/.mise.toml",
"~/.config/mise/config.toml",
],
}
[DEBUG] Toolset (1.376375ms): poetry@latest, node@16, python@3.11, pnpm@8, aws-iam-authenticator@0.6.11, kubectx@0.9.5, kubectl@1.28.1, awscli@2.13.14
[DEBUG] glob: "/Users/mohamed/git/logbooks/server/.env"
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: JoinPathsError { inner: JoinPathsError }
Location: src/path_env.rs:50
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Describe the bug
When adding a python env line to
[env]
block in.mise.toml
file as follows:and trying to run tasks I get the following error
Full trace
To Reproduce
[env]
block_.python.venv = { path = ".venv", create = true }
Expected behavior
Mise tasks should run as normal which happens when you remove that line
mise doctor
outputAdditional context
debug
outputTrace
outputThe text was updated successfully, but these errors were encountered: