-
Notifications
You must be signed in to change notification settings - Fork 9
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
SOLVED! - Systemd service Fails -- ModuleNotFoundError: No module named 'transitions' #58
Comments
Did you try rebuilding Python packages which originate from the AUR? This issue is similar to yours. |
@Venom1991 - I fixed it! the python-transitions pkg was installed from CachyOS own repo which I noticed is install to python-3.10 site packages location. What I had to do was to uninstall this package and then install from AUR instead (paru -S aur/python-transitions) which then installs to the python-3.12 site packages location. After this the refind-btrfs.service works correctly. Now I am having to deal with snapshots not being bootable. It seems from looking at the log file refind/refind-btrfs cannot find my vmlinuz-linux-cachyos stating it's an invalid loader file but I think I should probably create a new thread for help on this error. FYI I have a seperate ext4 boot partition.
|
That Could you paste the output of running the |
reset-setup-refind-btrfs-output.txt arch_linux_vmlinuz-linux-cachyos.conf.txt Oh! I missed that. Good eye! Maybe I made a mistake somewhere. refind-btrfs command output Manual boot stanza - arch_linux_vmlinuz-linux-cachyos.conf |
No, I need the source boot stanza that you've defined yourself in the If the EDIT: Did you also enable rEFInd's manual scanning feature as explained here (first paragraph)? |
my bad. Please see below. I just tried again but removing "/boot/" from the "loader" & "initrd" lines from my manual entry but that didn't work either. note: just saw you updated last post and I will check now `# refind.confConfiguration file for the rEFInd boot menutimeout 3 log_level 1 use_nvram false resolution 1920 1280 enable_touch use_graphics_for osx,linux extra_kernel_version_strings linux-lts,linux,linux-cachyos,linux-cachyos-cfs,linux-cachyos-bore,linux-cachyos-tt,linux-cachyos-bmq,linux-cachyos-pds,linux-cachyos-lts menuentry "Arch Linux" { } #Nord theme include btrfs-snapshot-stanzas/arch_linux_vmlinuz-linux-cachyos.conf` |
This part of the log's output is critical:
I don't see how your manual boot stanza could possibly work. Of course,
I suppose this is where rEFInd falls back to using the auto-generated |
perhaps I should just uninstall and delete everything and start again. |
OMG! OMG!! OMG!!! ok, I finally got everything working (refind + refind-btrfs) on arch CachyOS. For anyone who finds this post because they are have the same issues, I will list everything I did below. Here is my system fstab: $ cat /etc/fstab lsblk: NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE MOUNTPOINTS blkid: /dev/nvme0n1p2: LABEL="Boot" So the things import to my refind.conf located on the ESP partition are these:
My refind.conf manual stanza: timeout 3 extra_kernel_version_strings linux-lts,linux,linux-cachyos,linux-cachyos-cfs,linux-cachyos-bore,linux-cachyos-tt,linux-cachyos-bmq,linux-cachyos-pds,linux-cachyos-lts menuentry "CachyOS" { include themes/nord/theme.conf So all this has be done before, making sure you manual stanza in refind.conf is working before I proceeded forward with running the refind-btrfs script. As for refind-btrfs, I did not need to make any changes. It just worked ;-) Paul. |
That's great, just bear in mind that in case your kernel received an update you might not be able to boot into snapshots which were created before that update due to a mismatch between, for example, the Nvidia kernel module and the kernel itself. There are other examples, of course. It might work and it might not but that's just how it is with a separate |
thanks @Venom1991 ! Really appreciate your time helping me out. |
Hi all,
I am having trouble with the refind-btrfs.service failing. I have been at this all night and I am not making any headway. I am using CachyOS linux (arch) and so everything python is installed through pacman (thus python is externally-managed-environment). python-transitions is installed. Can anyone help me please?
Details of my system:
Error message from systemd (journalctl outputs same error information)
Best regards,
Paul.
The text was updated successfully, but these errors were encountered: