deja-dup fails with root account
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Invalid
|
Undecided
|
Unassigned | ||
duplicity (Ubuntu) |
Fix Committed
|
High
|
Unassigned | ||
Focal |
Triaged
|
High
|
Sebastien Bacher |
Bug Description
I am running deja-dup in Ubuntu 20.04 (Focal Fossa), which has duplicity/focal,now 0.8.11.1612-1 and deja-dup/focal,now 40.6-1ubuntu2.
When I run deja-dup as myself, it runs fine, but when I launch it with sudo, it fails:
Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/lib/
action = commandline.
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
obj = get_backend_
File "/usr/lib/
return factory(pu)
File "/usr/lib/
ensure_dbus()
File "/usr/lib/
output = p.communicate(
AttributeError: 'str' object has no attribute 'decode'
Changed in duplicity (Ubuntu): | |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in duplicity (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in duplicity (Ubuntu Focal): | |
assignee: | nobody → Sebastien Bacher (seb128) |
That bug has been fixed in 0.8.13. Please upgrade to the current version of duplicity. This will assure that any bugs fixed since your release are available and may fix your issue.
There are multiple options both stable and daily:
* Source - https:/ /gitlab. com/duplicity/ duplicity /launchpad. net/duplicity/ +download /code.launchpad .net/~duplicity -team/+ archive/ ubuntu/ duplicity- develop- git /code.launchpad .net/~duplicity -team/+ archive/ ubuntu/ duplicity- release- git
* Stable tarball install - https:/
* Daily duplicity PPA - https:/
* Stable duplicity PPA - https:/
* Stable snap builds - “sudo snap install duplicity —classic"
* Latest snap builds - “sudo snap install duplicity —classic —edge"
* Latest pip3 builds - “sudo pip3 install duplicity"
NOTE: UNinstall duplicity first if it was installed via the distribution repository. For Ubuntu that would be "sudo apt-get purge duplicity".