Skip to content
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

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

Open
jbrepogmailcom opened this issue Mar 30, 2019 · 3 comments

Comments

@jbrepogmailcom
Copy link

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

@PotcFdk
Copy link

PotcFdk commented Mar 30, 2019

First reported here

@ricardomv
Copy link
Owner

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

@AlexanderGabriel
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants