GithubHelp home page GithubHelp logo

Snapshot error in logs about buttermanager HOT 6 OPEN

egara avatar egara commented on June 3, 2024
Snapshot error in logs

from buttermanager.

Comments (6)

egara avatar egara commented on June 3, 2024

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 :)

from buttermanager.

KimHono avatar KimHono commented on June 3, 2024

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_to_keep: '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 = commandline_output.decode('utf-8')
AttributeError: 'NoneType' object has no attribute 'decode'
Aborted (core dumped)

Thanks for this very useful application !

from buttermanager.

egara avatar egara commented on June 3, 2024

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

from buttermanager.

KimHono avatar KimHono commented on June 3, 2024

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...

from buttermanager.

egara avatar egara commented on June 3, 2024

Thanks for the info @KimHono

I'm a little bit lost but I'll investigate on it and tell you something :)

from buttermanager.

KimHono avatar KimHono commented on June 3, 2024

Thanks !

from buttermanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.