wesbarnett / snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
GNU General Public License v2.0
180 stars 14 forks source link

Snap-pac errors on line 40 preventing pacman from running #56

Closed ZerkerEOD closed 8 months ago

ZerkerEOD commented 8 months ago

Describe the bug Manjaro snap-pac fails with error on line 40 due to syntax error

To Reproduce Steps to reproduce the behavior:

  1. run anything with pacman
  2. errors out

Expected behavior creates the snapshot without error

Additional context I have tried reinstalling to make sure it wasn't a config error I made even though I haven't done anything with snapper configs in a long time. Still didn't work. image

wesbarnett commented 8 months ago

What python version do you have installed? That's likely the problem.

ZerkerEOD commented 8 months ago

I don't know right now, I am using pyenv but not sure what I have it set to for both python2 or python3. I will check when I turn my computer back on.

ZerkerEOD commented 8 months ago

@wesbarnett, that was it, I had Python set to use Python 2.7.18 which was the issue. I changed it to use Python 3.9.16 and it just works again. Thanks!