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

"TypeError: 'NoneType' object is not iterable" on updating/installing AUR packages via aurutils #58

Open
NRGDEAD opened this issue Jun 25, 2024 · 1 comment

Comments

@NRGDEAD
Copy link

NRGDEAD commented Jun 25, 2024

Describe the bug
snap-pac crashes about every other time on my desktop PC when updating/installing AUR packages via aurutils. It works just fine on my laptop, which runs mostly the same software. When I then re-run the commands, it works once. Only to crash again for the next time it's run. It seemingly works fine when updating/installing regular packages via pacman.
python 3.12.4-1 is installed.

:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
Traceback (most recent call last):
  File "/usr/share/libalpm/scripts/snap-pac", line 191, in <module>
    config_processor = ConfigProcessor(args.snap_pac_ini, args.type)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/libalpm/scripts/snap-pac", line 76, in __init__
    self.packages = [line.rstrip("\n") for line in sys.stdin]
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

I would bet this is due to something wrong on my end, but I have no clue what the cause could be. So any tip for the right direction would be much appreciated. :-)

Cheers
NRG

@NRGDEAD
Copy link
Author

NRGDEAD commented Jul 28, 2024

Small correction: it also fails on my laptop. I just less often compiled AUR packages there.

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