pop-os / popsicle

Multiple USB File Flasher
MIT License
633 stars 76 forks source link

CLI `-a`/`--all` option crashes #212

Open jacobgkau opened 7 months ago

jacobgkau commented 7 months ago

Distribution (run cat /etc/os-release): Pop!_OS 22.04 LTS

Related Application and/or Package Version (run apt policy $PACKAGE NAME): 689f408

Issue/Bug Description: When trying to use the CLI with the -a or --all option, I get the following error:

jacob@serw13:~/Downloads$ sudo RUST_BACKTRACE=full popsicle -a pop-os_22.04_amd64_intel_debug_693.iso 
Backtrace (most recent call first):
  File "<unknown>", line 0, in __libc_start_main

The application panicked (crashed).
  requires the `rt` Tokio feature flag
in /build/popsicle-jqXChf/popsicle-1.3.3~1704419077~22.04~689f408/vendor/tokio/src/blocking.rs, line 24
thread: main

Steps to reproduce (if you know): Try to image using the CLI and include the -a or --all option.

Expected behavior: All disks should be listed for the user to confirm before flashing (or they should begin flashing, if -y was passed).

Other Notes: Discovered while testing https://github.com/pop-os/popsicle/pull/210, but the issue is also present in master.