Bug#944510: deja-dup: Cannot back up to Google Drive (no pydrive packaged)
Michael Terry
mike at mterry.name
Mon Nov 11 04:37:08 GMT 2019
Package: deja-dup
Version: 40.1-4
Severity: normal
Dear Maintainer,
I'm the upstream maintainer of deja-dup. I noticed that due to the absence of
pydrive in Debian (RFP: https://bugs.debian.org/922076), deja-dup's default
backend (Google Drive) does not work at all.
Ideally, pydrive would be packaged and -Dpydrive_pkgs=python3-pydrive would be
specified. But until that happens, I'd appreciate Google Drive being disabled.
Better to not provide a broken option (especially a default!). Less bug reports
for me, anyway.
I've attached a patch to do disable it from the UI.
-- System Information:
Debian Release: buster/sid
APT prefers eoan-updates
APT policy: (500, 'eoan-updates'), (500, 'eoan-security'), (500, 'eoan')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-19-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages deja-dup depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.34.0-1
ii duplicity 0.8.04-2ubuntu1
ii libatk1.0-0 2.34.0-1
ii libc6 2.30-0ubuntu2
ii libglib2.0-0 2.62.1-1
ii libgoa-1.0-0b 3.34.0-1ubuntu1
ii libgpg-error0 1.36-7
ii libgtk-3-0 3.24.12-1ubuntu1
ii libjson-glib-1.0-0 1.4.4-2
ii libnautilus-extension1a 1:3.34.1-1ubuntu1
ii libpackagekit-glib2-18 1.1.12-5ubuntu4
ii libpango-1.0-0 1.42.4-7
ii libsecret-1-0 0.18.8-2
ii libsoup2.4-1 2.68.2-0ubuntu1
Versions of packages deja-dup recommends:
ii gvfs-backends 1.42.1-1ubuntu1
ii packagekit 1.1.12-5ubuntu4
ii policykit-1 0.105-26ubuntu1
Versions of packages deja-dup suggests:
pn python3-boto <none>
pn python3-cloudfiles <none>
pn python3-swiftclient <none>
-------------- next part --------------
diff --git a/deja-dup/widgets/ConfigLocation.vala b/deja-dup/widgets/ConfigLocation.vala
index a3313af9..ff67cba8 100644
--- a/deja-dup/widgets/ConfigLocation.vala
+++ b/deja-dup/widgets/ConfigLocation.vala
@@ -192,7 +192,7 @@ public class ConfigLocation : ConfigWidget
new ConfigLocationS3(label_sizes, all_settings[S3_ROOT])) |
insert_cloud("gcs", _("Google Cloud Storage"), show_deprecated, "deja-dup-cloud",
new ConfigLocationGCS(label_sizes, all_settings[GCS_ROOT])) |
- insert_cloud("google", _("Google Drive"), true, "deja-dup-google-drive",
+ insert_cloud("google", _("Google Drive"), false, "deja-dup-google-drive",
new ConfigLocationGoogle(label_sizes, all_settings[GOOGLE_ROOT])) |
insert_cloud("rackspace", _("Rackspace Cloud Files"), show_deprecated, "deja-dup-cloud",
new ConfigLocationRackspace(label_sizes, all_settings[RACKSPACE_ROOT])) |
diff --git a/libdeja/BackendAuto.vala b/libdeja/BackendAuto.vala
index 588622a0..e15e2cb1 100644
--- a/libdeja/BackendAuto.vala
+++ b/libdeja/BackendAuto.vala
@@ -55,7 +55,7 @@ public class BackendAuto : Backend
// 3) Google Drive via GNOME Online Accounts
// 4) Google Drive (relying on packagekit support to install dependencies)
var settings = get_settings();
- settings.set_string(BACKEND_KEY, "google");
+ settings.set_string(BACKEND_KEY, "local");
}
}
More information about the pkg-gnome-maintainers
mailing list