yannmrn / boot-repair

BR packaging
36 stars 15 forks source link

Unterminated triple-quoted string literal for boot-repair instructions #9

Open mikhail-skorikov opened 1 month ago

mikhail-skorikov commented 1 month ago

When using boot-repair to fix my Ubuntu upgrade bust, I encountered the following error when trying to reinstall grub. I used the content of the error to move forward, or as of this writing, it's still ongoing, but I think that it might be handy to have a report on this? Maybe it's not a boot-repair issue but a glade one? I'm not sure.

ubuntu@ubuntu:~$ boot-repair
Traceback (most recent call last):
  File "/usr/bin/glade2script-python3", line 2319, in set_widget
    exec( arg )
  File "<string>", line 1
    self._label9.set_text('''sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -a\nsudo chroot "/mnt/boot-sav/sda5" apt-get install -fy\nsudo chroot "/mnt/boot-sav/sda5" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic
                          ^
SyntaxError: unterminated triple-quoted string literal (detected at line 1)

image