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

Crashes with KeyError: 'grub' #329

Closed
specs32 opened this issue Jun 21, 2023 · 2 comments · Fixed by #335 or #341
Closed

Crashes with KeyError: 'grub' #329

specs32 opened this issue Jun 21, 2023 · 2 comments · Fixed by #335 or #341
Labels
Arch bug Something isn't working done staging

Comments

@specs32
Copy link

specs32 commented Jun 21, 2023

I use a freshly updated endeavourOS
Installed and tried both aur versions and the manual compile from source like in the issue description
python version is shown in the error message..
happens on every start of the binary.
keeps looping until I skip it... then works.
did no further tests.
Have a nice day !

PS: FYI grub is downgraded on my system and on the ignore list in /etc/pacman.conf ;)
`cat /etc/pacman.conf |grep -ie ignore
IgnorePkg = grub

`

´

$ venv/bin/bauh
Exception in thread Thread-16:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/home/happybum/src/bauh/venv/lib/python3.11/site-packages/bauh/gems/arch/worker.py", line 227, in run
installed = self.controller.read_installed(disk_loader=None, internet_available=self.internet_available,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/happybum/src/bauh/venv/lib/python3.11/site-packages/bauh/gems/arch/controller.py", line 589, in read_installed
installed = pacman.map_packages(names=names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/happybum/src/bauh/venv/lib/python3.11/site-packages/bauh/gems/arch/pacman.py", line 157, in map_packages
del pkgs[key][pkg]
~~~~~~~~~^^^^^
KeyError: 'grub'
´

@vinifmor
Copy link
Owner

vinifmor commented Jul 9, 2023

Hi @specs32 , I'll have a look here... thank you for reporting the issue

@vinifmor
Copy link
Owner

The fix is available in the staging branch

@vinifmor vinifmor mentioned this issue Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch bug Something isn't working done staging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants