unable to select usb drive in dus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mkusb |
Fix Released
|
Critical
|
sudodus |
Bug Description
Hardware: acer 14 chromebook cb3-431
OS: galliumos
version dus 12.2.7 from ppa
program invoked as `mkusb /home/jon/
zenity test window opens and closes
zenity warning window opens and closes
zenity window titled "dus 12.2.7 - cloning, live linux, windows / Persistent live" opens. Selecting ether l or p. opens select target device window with three options. In the device name column " 4M", "built-in device", "USB or memory card". see http://
"p_target: target=
No target device or bad target device"
OR
"p_target: target=/dev/USB or memory card
No target device or bad target device"
EDIT: output of bash -x dus ~/Downloads/
description: | updated |
Changed in mkusb: | |
assignee: | nobody → sudodus (nio-wiklund) |
status: | New → Fix Committed |
importance: | Undecided → Critical |
Solved on my hardware.
The function p_list_drives creates a list with null values, similar to the one below. Later in the function p_lisdz this data is placed into a zenity dialog via an unquoted variable. Quoting this variable allows zenity to correctly use the data. Quoting the array variables on lines 1391 & 1401 allowed the script work for me.
"" " 4M" "" " 4M" "built-in device"
"" " 4M" "" " 4M" "built-in device"
"sda" "PNY_USB_2.0_FD" "30.5G" "usb" "USB or memory card"
"mmcblk0" "HBG4a2" "29.1G" "mmc" "USB or memory card"