ricardomv / snapper-gui

GUI for snapper, a tool for Linux filesystem snapshot management, works with btrfs, ext4 and thin-provisioned LVM volumes
GNU General Public License v2.0
226 stars 32 forks source link

When creating snapshot: dbus.exceptions.DBusException: error.unknown_config: org.freedesktop.DBus.Error.Failed #38

Open jbrepogmailcom opened 5 years ago

jbrepogmailcom commented 5 years ago

This error I get when I try to create btrfs snapshot.

PotcFdk commented 5 years ago

First reported here

ricardomv commented 5 years ago

You need to provide more information on the issue. Are you able to create snapshots using the command line interface?

AlexanderGabriel commented 2 years ago

I installed a new Debian 11.4 on a VM and tried snapper-gui. Had the same error when trying to make a snapshot with snapper-gui. no matter if i uesed the debian package or the latest git, i got the folllowing error:

Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/snappergui/mainWindow.py", line 94, in on_create_snapshot newSnapshot = snapper.CreateSingleSnapshot(dialog.config, File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in call return self._connection.call_blocking(self._named_service, File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block( dbus.exceptions.DBusException: error.unknown_config: org.freedesktop.DBus.Error.Failed

I was able to make a snapshot with btrfs command: root@btrfs:~# btrfs subvolume snapshot / /test Create a snapshot of '/' in '//test'

So i tried to use snapper and there was no config at snapper list-config. After i created one, it worked.

Maybe you can catch this error or disable the snapshot function and tell the user to first create a config before opening the create snapshot dialog.