Skip to content

Fix case when the GRUB configuration file uses simple quotes#23

Open
CharlesNepote wants to merge 1 commit intoekimiateam:developfrom
CharlesNepote:patch-1
Open

Fix case when the GRUB configuration file uses simple quotes#23
CharlesNepote wants to merge 1 commit intoekimiateam:developfrom
CharlesNepote:patch-1

Conversation

@CharlesNepote
Copy link

When launching the app (./startlud.sh), I had an error:

2025-11-29 18:22:24,387 INFO ** Process start at monotonic time 524625.469002425 2025-11-29 18:22:24,387 INFO system76driver.version: '20.04.99' 2025-11-29 18:22:24,388 INFO OS: 'Garuda Linux'
2025-11-29 18:22:24,388 INFO kernel: '6.12.58-1-lts' 2025-11-29 18:22:24,388 INFO model: 'kevlar1.amd'
Traceback (most recent call last):
File "/media/DONNEES/binaires/Tongfang/system76driver/gtk.py", line 94, in prepare_action_runner self.action_runner = ActionRunner(self.product['drivers']) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 242, in init if action.isneeded:
^^^^^^^^^^^^^^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 168, in isneeded self._isneeded = self.get_isneeded()
~~~~~~~~~~~~~~~~~^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 431, in get_isneeded current = self.get_current_cmdline()
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 386, in get_current_cmdline raise Exception('Could not parse GRUB_CMDLINE_LINUX_DEFAULT') Exception: Could not parse GRUB_CMDLINE_LINUX_DEFAULT

The current commit fixes this.

When launching the app (./startlud.sh), I had an error:
2025-11-29 18:22:24,387 INFO ** Process start at monotonic time 524625.469002425
2025-11-29 18:22:24,387 INFO system76driver.version: '20.04.99'
2025-11-29 18:22:24,388 INFO OS: 'Garuda Linux'
2025-11-29 18:22:24,388 INFO kernel: '6.12.58-1-lts'
2025-11-29 18:22:24,388 INFO model: 'kevlar1.amd'
Traceback (most recent call last):
File "/media/DONNEES/binaires/Tongfang/system76driver/gtk.py", line 94, in prepare_action_runner
self.action_runner = ActionRunner(self.product['drivers'])
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 242, in init
if action.isneeded:
^^^^^^^^^^^^^^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 168, in isneeded
self._isneeded = self.get_isneeded()
~~~~~~~~~~~~~~~~~^^
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 431, in get_isneeded
current = self.get_current_cmdline()
File "/media/DONNEES/binaires/Tongfang/system76driver/actions.py", line 386, in get_current_cmdline
raise Exception('Could not parse GRUB_CMDLINE_LINUX_DEFAULT')
Exception: Could not parse GRUB_CMDLINE_LINUX_DEFAULT

The current commit fixes this.
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

Successfully merging this pull request may close these issues.

1 participant