Open KimHono opened 2 years ago
Hi @KimHono and thank you very much for the report. This message is weird. I have EndevourOS installed myself and ButterManager is working OK. ButterManager uses this command and btrfs-progs underneath:
btrfs subvolume snapshot <source> <dest>
Could you include here your configuration file?. It is located at ~/.buttermanager/buttermanager.yaml.
And another thing to check. Open a terminal and type buttermanager. Hit enter and try to create a snapshot. If an exception is thrown in the terminal, please attach it here to see if there is more information.
Thank you very much :)
Hi @egara, it's cool we both use EndeavourOS ! Btw, I forgot to write my ButterManager version, which is 2.4.2.
As you asked, here is my configuration file: _aur_repository: 0 check_at_startup: 0 grub_btrfs: 1 path_to_consolidate_root_snapshot: '@' save_log: 1 snap_packages: 0 subvolumes_dest: /mnt/defvol/snapshots/ subvolumes_orig: /mnt/defvol/@/ subvolumes_prefix: root subvolumes_snapshots_tokeep: '3'
And here is the exception I received while using the "Take snapshot" button on the main window: _Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/buttermanager/buttermanager/window/windows.py", line 418, in take_snapshot settings.subvolumes[subvolume].create_snapshot() File "/usr/lib/python3.9/site-packages/buttermanager/buttermanager/filesystem/snapshot.py", line 157, in create_snapshot commandline_output = commandlineoutput.decode('utf-8') AttributeError: 'NoneType' object has no attribute 'decode' Aborted (core dumped)
Thanks for this very useful application !
Hi @KimHono and thanks for the information and your words! I'm very glad that you find ButterManager useful for you :)
Your configuration file seems to be fine and about the stack trace... it is something weird. Is your locale UTF-8 or are you using another one? (you can check it out opening a terminal and typing locale)
Again, thank you very much :D
Hi @egara, nothing special with my locale, it's LANG=en_GB.UTF-8
.
Buttermanager is crashing when using this function on the main window, however the snapshots are successful.
I hope it will help you debugging...
Thanks for the info @KimHono
I'm a little bit lost but I'll investigate on it and tell you something :)
Thanks !
Hi, I notice a snapshot error in a log. How to reproduce:
Maybe ButterManager is involved in this case ?
Best regards