Giter Site home page Giter Site logo

Comments (4)

codyps avatar codyps commented on September 22, 2024 1

Looks good to me 👍

from espup.

SergioGasquez avatar SergioGasquez commented on September 22, 2024

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.

codyps avatar codyps commented on September 22, 2024

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.

SergioGasquez avatar SergioGasquez commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.