indygreg / indygreg/PyOxidizer
Error when running init - `Result::unwrap()`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
Hey there,
Not sure about this error, I am new to Rust. I am on a windows machine, followed the Rust install, and the cargo install of PyOxidizer. No errors reported. When I try:
pyoxidizer init test_app
I get the following error after the \src\pystr.rs
Error:
writing trtertretre\pyembed\src\pystr.rs
thread 'main' panicked at 'called Result::unwrap() on an Err value: Error { code: -9, klass: 4, message: "reference 'refs/heads/master' not found" }', src\libcore\result.rs:999:5
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.
As a result no pyoxidizer.toml is created.
Any thoughts? No rush on response, not critical. Very intrigued by this project!
Dan
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing pyoxidizer init test_app on Windows and inspect the initialization path around src\pystr.rs and the reported Result::unwrap() failure. Done means the command completes without panicking and creates pyoxidizer.toml as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100