Comments (4)
Looks good to me 👍
from espup.
Thanks for reporting the issue! Just opened #346 fixing this, now when reproducing the issue you get:
Error: espup::remove_directory
× ⛔ Failed to remove '/home/esp/.rustup/toolchains/esp/hello.sh'.
Do you mind trying the fix to validate it works?
cargo uninstall espup
cargo install espup --git https://github.com/SergioGasquez/espup --branch fix/rustup-panic
mkdir ~/.rustup/toolchains/esp/ && touch ~/.rustup/toolchains/esp/hello.sh
espup install
from espup.
It seems to kind-of resolve the issue, though there's still a panic that might be related before that (after some repeated uninstall attempts).
[2023-09-07T14:50:18Z INFO ] 🔧 Uninstalling Xtensa Rust toolchain
[2023-09-07T14:50:18Z WARN ] ⚠️ Installation for 'Xtensa Rust' failed, retrying
[2023-09-07T14:50:18Z INFO ] 🔧 Uninstalling Xtensa Rust toolchain
[2023-09-07T14:50:18Z WARN ] ⚠️ Installation for 'Xtensa Rust' failed, retrying
[2023-09-07T14:50:18Z INFO ] 🔧 Uninstalling Xtensa Rust toolchain
[2023-09-07T14:50:18Z WARN ] ⚠️ Installation for 'Xtensa Rust' failed, retrying
[2023-09-07T14:50:18Z INFO ] 🔧 Uninstalling Xtensa Rust toolchain
[2023-09-07T14:50:18Z WARN ] ⚠️ Installation for 'Xtensa Rust' failed, retrying
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', /home/cody/.cargo/git/checkouts/espup-c286dba105940cd2/fe2e25d/src/toolchain/mod.rs:248:32
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: espup::remove_directory
× ⛔ Failed to remove '/home/cody/.rustup/toolchains/esp/hello.sh'.
Given that we're already removing all the other files under this directory, it probably would make sense to resolve by removing the top-level files as well.
from espup.
Given that we're already removing all the other files under this directory, it probably would make sense to resolve by removing the top-level files as well.
Just updated the branch to delete everything! Mind validating it?
cargo uninstall espup
cargo install espup --git https://github.com/SergioGasquez/espup --branch fix/rustup-panic
mkdir ~/.rustup/toolchains/esp/ && touch ~/.rustup/toolchains/esp/hello.sh
espup install
from espup.
Related Issues (20)
- Temporary directory doesn't seem to be cleaned after installation / update HOT 5
- Compiling it on macOS-arm64 HOT 3
- espup uses large amounts of space in $TMPDIR HOT 6
- On CI systems running in AWS, `XtensaRust::parse_version()` repeatedly times out and panics espup HOT 2
- `espup install` detects and re-uses existing gcc, but always re-installs rust toolchain when it fails to execute it HOT 14
- Add CHANGELOG
- Installation fails when providing an incomplete Xtensa Rust
- Installation fails when $RUSTUP_HOME/tmp is not created
- Update GCC
- Fix export script log typo
- ESP32 and lv-binding-rs does not build HOT 5
- espup installs potential riscv targets that are never used HOT 2
- `skip_version_parse` argument should require `toolchain_version`
- Check for component on `install` and `update`
- If there is a minified LLVM installation `--extended-llvm` doesn't install the full LLVM HOT 1
- Install python3 and python3-venv. HOT 3
- Add support for ESP32-P4
- cargo install espup doesn't work on M1 HOT 1
- Installation duplicates contents of PATH environment variable on Windows HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espup.