New error after Manjaro grub update - 9Exception

Bug #1754035 reported by armaggedon51
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grub Customizer
New
Undecided
Unassigned

Bug Description

Hi,

I got a message today which I never had before in Manjaro Xfce 17.1.5 and Grub 5.0.6. It appear after the scanning phase. It's a warning but let me choose to continue but with risk of loosing data. Even after continuing, it says that there are new "scripts" available and to click to get them. That doesn't work either and GC is unusable.

I don't know if it is related to a grub update at the same time.

ERROR

exception '9Exception'
with message 'Assertion `script != nullptr` failed. Function: appendRuleToView in /tmp/pamac-build-maurice/grub-customizer/src/grub-customizer-5.0.6/src/main/../Controller/MainController.hpp:1026

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

Please attach these files as a zip/tar package:
/boot/grub/grub.cfg
/etc/grub.d (all files)
/etc/default/grub

Revision history for this message
armaggedon51 (mrouilla51) wrote : Re: [Bug 1754035] Re: New error after Manjaro grub update - 9Exception

Bonjour Daniel

so here it is my friend. I hope I did it correctly and it can help.

Thanks

Le 2018-03-07 à 17:24, Daniel Richter a écrit :
> Please attach these files as a zip/tar package:
> /boot/grub/grub.cfg
> /etc/grub.d (all files)
> /etc/default/grub
>

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

Unfortunately I can't reproduce the problem using your files. So this will take some time to debug.

You can fix it manually by removing these files:

/etc/grub.d/.script_sources.txt
/etc/grub.d/proxifiedScripts/linux
/etc/grub.d/proxifiedScripts/os-prober
/etc/grub.d/30_os-prober_proxy
/etc/grub.d/33_os-prober_proxy
/etc/grub.d/10_linux_proxy
/etc/grub.d/32_linux_xen

After doing that, your bootmenu list changes you've done with Grub Customizer in the past are lost, so you have to configure the boot menu again using Grub Customizer.

Revision history for this message
armaggedon51 (mrouilla51) wrote :

Ok thanks. I did remove all those files. Uninstall grub-customizer.
Reinstall grub in Manjaro with "grub-install" and "update-grub".
Re-install grub-customizer.
Now there is no error running the customizer but it only sees Manjaro,
nothing else. Not Mint nor Peppermint. Strange.

I will try to regain control of grub from Mint if I can get back in
that. May be its still working on Mint.

Le 2018-03-11 à 17:07, Daniel Richter a écrit :
> Unfortunately I can't reproduce the problem using your files. So this
> will take some time to debug.
>
> You can fix it manually by removing these files:
>
> /etc/grub.d/.script_sources.txt
> /etc/grub.d/proxifiedScripts/linux
> /etc/grub.d/proxifiedScripts/os-prober
> /etc/grub.d/30_os-prober_proxy
> /etc/grub.d/33_os-prober_proxy
> /etc/grub.d/10_linux_proxy
> /etc/grub.d/32_linux_xen
>
> After doing that, your bootmenu list changes you've done with Grub
> Customizer in the past are lost, so you have to configure the boot menu
> again using Grub Customizer.
>

Revision history for this message
armaggedon51 (mrouilla51) wrote :

Ok Daniel, more info on this if that can help you. I tried
Grub-Customizer on another Manjaro machine. No error on running by the
program but it says that there was scripts to be updated and perform a
saving. I tried but the following error pop up. (Translate from French).

So grub-customizer is pretty much not working on the latest Manjaro. It
was working before. Hope you can have a look at it.
It seems to be running fine on my Mint 18.3 system (Ubuntu).

Thanks

> Impossible to register the grub configuration.
>
> Fail running 'grub-mkconfig -o "boot/grub/grub.cfg" output.
> GRU config creation ...
> Found Intel Microcode image
> Image linux found
> .....................................
> error: syntax error
> error: incorrect command
> error: syntax error
> Syntax error at line 226
> Synteze errors were found in GRUB configuration file.
> Verify that there are no error in files
> /etc/default/grub and /etc/default/grub.d/*

Le 2018-03-11 à 17:07, Daniel Richter a écrit :
> Unfortunately I can't reproduce the problem using your files. So this
> will take some time to debug.
>
> You can fix it manually by removing these files:
>
> /etc/grub.d/.script_sources.txt
> /etc/grub.d/proxifiedScripts/linux
> /etc/grub.d/proxifiedScripts/os-prober
> /etc/grub.d/30_os-prober_proxy
> /etc/grub.d/33_os-prober_proxy
> /etc/grub.d/10_linux_proxy
> /etc/grub.d/32_linux_xen
>
> After doing that, your bootmenu list changes you've done with Grub
> Customizer in the past are lost, so you have to configure the boot menu
> again using Grub Customizer.
>

Revision history for this message
armaggedon51 (mrouilla51) wrote :

Hello Daniel, just want to keep you up to date. I received a huge update
from Manjaro which include a new grub (2.03). Now GC can detect all my
OS (3) ! It run without issues and can write a new configuration. The
only thing which doesn't work so good is that moving around the entries
does not work or behave strangely. Hopefully you will get it all sorted out.

Thank you very much.

Le 2018-03-12 à 08:17, maurice rouillard a écrit :
> Ok Daniel, more info on this if that can help you. I tried
> Grub-Customizer on another Manjaro machine. No error on running by the
> program but it says that there was scripts to be updated and perform a
> saving. I tried but the following error pop up. (Translate from French).
>
> So grub-customizer is pretty much not working on the latest Manjaro.
> It was working before. Hope you can have a look at it.
> It seems to be running fine on my Mint 18.3 system (Ubuntu).
>
> Thanks
>
>> Impossible to register the grub configuration.
>>
>> Fail running 'grub-mkconfig -o "boot/grub/grub.cfg" output.
>> GRU config creation ...
>> Found Intel Microcode image
>> Image linux found
>> .....................................
>> error: syntax error
>> error: incorrect command
>> error: syntax error
>> Syntax error at line 226
>> Synteze errors were found in GRUB configuration file.
>> Verify that there are no error in files
>> /etc/default/grub and /etc/default/grub.d/*
>
>
>
> Le 2018-03-11 à 17:07, Daniel Richter a écrit :
>> Unfortunately I can't reproduce the problem using your files. So this
>> will take some time to debug.
>>
>> You can fix it manually by removing these files:
>>
>> /etc/grub.d/.script_sources.txt
>> /etc/grub.d/proxifiedScripts/linux
>> /etc/grub.d/proxifiedScripts/os-prober
>> /etc/grub.d/30_os-prober_proxy
>> /etc/grub.d/33_os-prober_proxy
>> /etc/grub.d/10_linux_proxy
>> /etc/grub.d/32_linux_xen
>>
>> After doing that, your bootmenu list changes you've done with Grub
>> Customizer in the past are lost, so you have to configure the boot menu
>> again using Grub Customizer.
>>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.