Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git version crashes on selecting an iso file, 9.2.0-5 never launches GUI #548

Open
thomas725 opened this issue Jul 18, 2021 · 0 comments
Open

Comments

@thomas725
Copy link

I'm running Manjaro Linux, using AUR multibootusb-git (which builds this repo) the GUI crashes on selecting an ISO-file:

$ sudo multibootusb
Using python version  3.9.6 (default, Jun 30 2021, 10:22:16) 
[GCC 11.1.0] on platform Linux-5.10.49-1-MANJARO-x86_64-with-glibc2.33
Running multibootusb version 9.3.0 from installed system...
Starting multibootusb GUI...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
/usr/bin/fsck.vfat
Cleaning old multibootusb directory...
Syslinux exist in multibootusb directory...
Using pyudev for detecting USB drives...
        /dev/sda
        /dev/sda1
        /dev/sda2
        /dev/sda3
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/scripts/mbusb_gui.py", line 167, in onComboChange
    usb.gpt_device(config.usb_disk)
  File "/usr/lib/python3.9/site-packages/scripts/usb.py", line 387, in gpt_device
    is_gpt = osdriver.gpt_device(dev_name)
  File "/usr/lib/python3.9/site-packages/scripts/osdriver.py", line 412, in gpt_device
    raise RuntimeError(str(_err_out, encoding))
RuntimeError: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.


Executing ==> 7z -ssc-  x -y "/home/thomas/Downloads/linuxmint-20.2-cinnamon-64bit.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.cfg" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/thomas/Downloads/linuxmint-20.2-cinnamon-64bit.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.txt" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/thomas/Downloads/linuxmint-20.2-cinnamon-64bit.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*isolinux.bin" -r 2> /dev/null
Executing ==> 7z -ssc-  x -y "/home/thomas/Downloads/linuxmint-20.2-cinnamon-64bit.iso" -o"/root/.multibootusb/iso_cfg_ext_dir" "*.lst" -r 2> /dev/null
Persistence option is available.
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/scripts/mbusb_gui.py", line 298, in browse_iso
    per_max_size = persistence.max_disk_persistence(config.usb_disk)
  File "/usr/lib/python3.9/site-packages/scripts/persistence.py", line 30, in max_disk_persistence
    config.usb_uuid = usb_details['uuid']
TypeError: string indices must be integers
Aborted

When instead running 9.2.0-5 (also available as AUR package) the GUI never launches:

$ sudo multibootusb
Using python version  3.9.6 (default, Jun 30 2021, 10:22:16) 
[GCC 11.1.0] on platform Linux-5.10.49-1-MANJARO-x86_64-with-glibc2.33
Could not find resource 'data/tools/gdisk/gdisk.exe'.
Running multibootusb version 9.2.0 from installed system...
Starting multibootusb GUI...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Extracting syslinux to multibootusb directory...
Host OS is 64 bit...
Extracting syslinux 64 bit...
Extracting syslinux modules to multibootusb directory...
Using pyudev for detecting USB drives...
        /dev/sda
        /dev/sda1
        /dev/sda2
        /dev/sda3
Selected device /dev/sda
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.

Me pressing Ctrl+C after a few minutes makes it quit printing this, without having shown any GUI:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/scripts/mbusb_gui.py", line 162, in onComboChange
    usb.gpt_device(config.usb_disk)
  File "/usr/lib/python3.9/site-packages/scripts/usb.py", line 403, in gpt_device
    _cmd_out = subprocess.check_output("parted  " + dev_name + " print", shell=True)
  File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.9/subprocess.py", line 507, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.9/subprocess.py", line 1121, in communicate
    stdout = self.stdout.read()
KeyboardInterrupt

Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant