Nikita, your issue actually looks a lot like something fixed in duplicity
0.8.16:
https://gitlab.com/duplicity/duplicity/-/commit/f6809e8a4e09b70138a0902434d8c88d3c4c8ccb
Try installing the snap version of deja-dup or duplicity, both of which
have the fix for this.
--
You received this bug noti
First, this is not the same bug, but a support issue.
duplicity can't stat /home/nikodll/.hardinfo/.deja-dup-ignore, so you
need to run duplicity as root, i.e. 'sudo duplicity ...'.
Thanks! I needed something simple today! :-)
--
You received this bug notification because you are a member of
Getting similar issue after upgrading to Ubuntu 20.10:
Traceback (innermost last):
File "/usr/bin/duplicity", line 106, in
with_tempdir(main)
File "/usr/bin/duplicity", line 92, in with_tempdir
fn()
File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line 1538, in
main
Maybe this app need a button to test environment compatibility. Just for
be sure.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about
Terrible app. You have backup complite, but when You really need use it:
deja-dup file "/usr/bin/duplicity", line 107, in
Kubuntu 19.10
All of this Opensource must works like that? This is not first time
when: python - Duplicity error while restoring - Ask Ubuntu
--
You received this bug noti
If it helps, the output of the 'find' commands, mentioned prior to
comment #25 are as you might guess:
$ sudo find /usr -type d -name duplicity -ls
1471833 4 drwxr-xr-x 3 root root 4096 Jun 9 2017
/usr/lib/python2.7/dist-packages/duplicity
54981 4 drwxr-xr-x 3 ro
I had/have similar issue as "resolved" in comment #25:
Initially, after building and installing version 0.8.09, I would try
duplicity --version
and get
Traceback (most recent call last):
File "/usr/local/bin/duplicity", line 55, in
from duplicity.dup_main import main
ImportError: No modul
You're welcome. The report is closed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
https://bugs.launchpad.net
Thanks very much indeed. I really appreciate all the work you and others do in
supporting us, the users.
It all works fine with deja-dup now. I'm now on duplicity version
0.8.09-0ubuntu0ppa1542-ubuntu19.10.1 (eoan), and deja-dup version 40.1-1ubuntu2
Should I close this report myself, or leav
** Changed in: duplicity
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go
With version 0.8.09-0ubuntu0ppa1535-ubuntu19.10.1 (eoan) deja-dup now
seems to start to work as a normal user, but I need to backup some root
stuff, and when run under sudo or pkexec I get the following
immediately:
Traceback (innermost last):
File "/usr/bin/duplicity", line 101, in
with_te
1532 this morning fixed it. Thanks! :-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
https://bugs.launchpad.n
Sadly not. I purged, installed, and it failed as before. I had to redo
the sed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about
If you redid the sed from #25, that caused the problem. You need to
reinstall and let it run under Python 2.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To
It was fixed. My system later updated to version 1531 as above, and
this then failed in the same way as before. I had to apply your sed
patch to make it work.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net
Which way does it fail? I thought we had that fixed for you.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
htt
With the latest update duplicity still fails. Version
0.8.09-0ubuntu0ppa1531-ubuntu19.10.1 (eoan).
I had to redo the sed from #25.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Dupl
It is indeed strange, because I can't reproduce it now either. I get
the errors in #30 instead, with deja-dup saying it can't understand the
duplicity version.
I think what may have happened is that because I couldn't get deja-dup
to work I used the duplicity command line, and encrypted this part
Tim, your issue in comment 26 is confusing to me. It looks like it's
caused by my patch in comment 6?
Specifically, it looks like subprocess.Popen returns a unicode string as
stdout for you. I can't reproduce locally, in either python2.7 or
python3.7:
>>> import subprocess
>>> subprocess.Popen([u
A few more deja-dup issues:
deja-dup (brings up GUI, I select backup...)
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
from duplicity.dup_main import main
ImportError: No module named duplicity.dup_main
sudo deja-dup (brings up GUI, I select backup...)
Traceba
** Changed in: duplicity
Importance: Medium => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
https://bu
Thanks very much. I'm glad I was able to help a little by testing
things.
Have you any thoughts about why deja-dup fails as I reported in #26? Do
I need to raise a separate report somewhere else?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
The shebang points to python2 on all scripts. It was my fault. setup
pointed to python3, duplicity pointed to python2. That caused all the
problems.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/185
Which particular fix has been applied?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
https://bugs.launchpad.net
** Changed in: duplicity (Ubuntu)
Importance: Undecided => High
** Changed in: duplicity (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Yes, that's fixed. Thanks very much.
Now all I have to do is get deja dup to work:
Traceback (innermost last):
File "/usr/bin/duplicity", line 101, in
with_tempdir(main)
File "/usr/bin/duplicity", line 87, in with_tempdir
fn()
File "/usr/lib/python3/dist-packages/duplicity/dup_mai
OK, execute the following to fix the problem:
$ sudo sed -i s/python2/python3/g /usr/bin/duplicity
This will make duplicity run under Python3.
$ duplicity --version
should respond with: duplicity 0.8.09
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is su
OK (I didn't do so before because the python3 command seemed to work).
find /usr -type d -name duplicity -ls
1602725 4 drwxr-xr-x 2 root root 4096 Dec 15 20:10
/usr/share/doc/duplicity
1602642 4 drwxr-xr-x 4 root root 4096 Dec 15 20:10
/usr/lib/python3/d
OK, what's happening is two factor:
1) Something in setup is changing the shebang line to Python 2 and,
2) It's libraries are being installed on Python 3.
which means duplicity can't find its libraries.
Please run the following:
$ find /usr -type d -name duplicity -ls
$ find /usr -type f -name
python3 /usr/bin/duplicity --version
duplicity 0.8.09
Success!
But as before:
duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
from duplicity.dup_main import main
ImportError: No module named duplicity.dup_main
Ditto for "/usr/bin/duplicity --
Do this and report the results:
$ python3 /usr/bin/duplicity --version
I think I know the problem, but want to validate.
If that fails for any reason, do these and report the results:
$ find /usr -type d -name duplicity -ls
$ find /usr -type f -name duplicity -ls
--
You received this bug noti
The attachment "decode.patch" seems to be a patch. If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, f
How did you install it? The version should be OK for Deja Dup.
On Tue, Dec 10, 2019 at 11:45 AM Tim Passingham
wrote:
> After a quick web search I tried running
>
> duplicity --version
>
> That told me I needed to install 'future' with pip. So I installed
> python-pip, future, and fasteners.
To be clear, I'm now on version 0.8.09-0ubuntu0ppa1526~ubuntu19.10.1
(eoan)
I rebooted after installing (just in case). I didn't purge beforehand,
so I then did so, did an apt autoremove, and reinstalled it. No change.
--
You received this bug notification because you are a member of Ubuntu
Bu
I got that update, and things have changed a bit.
usr/lib/python3/dist-packages$ python3 duplicity/dup_main.py
returns nothing, which I think is what you wanted.
But:
/usr/lib/python3/dist-packages$ duplicity
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
from
** Changed in: duplicity
Status: In Progress => Won't Fix
** Changed in: duplicity
Status: Won't Fix => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Dupl
Well that may explain something. I have no python3.X directory. I have
python3, and it contains dist-packages.
I did try:
/usr/lib/python3/dist-packages$ python3 duplicity/dup_main.py
Traceback (most recent call last):
File "duplicity/dup_main.py", line 54, in
from . import asyncscheduler
Sorry, my bad. You needed to be in the /usr/lib/python3.X/site-
packages/ directory. This is not trying to execute duplicity, merely to
import the installed duplicity/dup_main.py.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https
I'm not quite sure what your last comment means, so here are 4 attempts.
PYTHONPATH='.' duplicity/dup_main.py --version
bash: duplicity/dup_main.py: No such file or directory
duplicity/dup_main.py --version
bash: duplicity/dup_main.py: No such file or directory
PYTHONPATH='.' python3 duplicity/d
Sorry, that should be:
$ python3 duplicity/dup_main.py
in both cases.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug
You're not being difficult, the problem is vexing!
Try this:
$ PYTHONPATH='.'duplicity/dup_main.py
It should work like this too:
$ duplicity/dup_main.py
In either case there should be no output. Please log whatever happens.
Perhaps there's a missing module or something. Python import
Sorry to be difficult, but:
PYTHONPATH='.' duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
from duplicity.dup_main import main
ImportError: No module named duplicity.dup_main
--
You received this bug notification because you are a member of Ub
Try this:
$ PYTHONPATH='.' duplicity ...
Looks like the current directory is not in the path. It should be.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
T
I had done, but just to be sure I purged it again, autoremove the un-
needed items (python fasteners etc), reinstalled, rebooted, and get the
same error on "duplicity --version"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://b
** Changed in: duplicity
Status: Fix Committed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go
Did you remove the repo version of duplicity ($ sudo apt purge
duplicity)?
If not, do the purge now, then do ($ sudo apt reinstall duplicity). It
should install from the ppa.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bu
I'm not sure whether the fix mentioned is for the last problenm I
encountered, but having updated duplicity at 20:20GMT (now version
0.8.09-0ubuntu0ppa1524~ubuntu19.10.1), when I type:
duplicity --version
I still get:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
** Changed in: duplicity
Status: In Progress => Won't Fix
** Changed in: duplicity
Status: Won't Fix => Fix Committed
** Changed in: duplicity
Assignee: Kenneth Loafman (kenneth-loafman) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
** Changed in: duplicity
Status: Incomplete => In Progress
** Changed in: duplicity
Importance: Undecided => Medium
** Changed in: duplicity
Assignee: (unassigned) => Kenneth Loafman (kenneth-loafman)
** Changed in: duplicity
Milestone: None => 0.8.09
--
You received this bu
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/18
I think this patch should fix the duplicity error you're seeing.
But deja-dup doesn't work well under root so much - it'll ask for root
permissions as appropriate when restoring anyway?
** Patch added: "decode.patch"
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1855736/+attachment
After a quick web search I tried running
duplicity --version
That told me I needed to install 'future' with pip. So I installed
python-pip, future, and fasteners.
I now fail at:
duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 55, in
from duplicity.
I had looked for a ppa but failed to find yours.
Unfortunately deja-dup doesn't recognise this new version, saying "Could
not understand duplicity version."
I tend to use GUIs for almost everything. I guess I will have to try to
translate my deja-dup instructions into duplicity command line. Th
Whoops, latest is 0.8.08. Please let me know if this fixes the error.
** Changed in: duplicity
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplici
You are on duplicity 0.8.04, the latest is 0.8.07, please upgrade.
There are three options:
* Release tarball Install - https://launchpad.net/duplicity/+download
* Daily duplicity builds -
https://launchpad.net/~duplicity-team/+archive/ubuntu/daily-dev-trunk
* Stable snap builds - “sudo snap ins
** Also affects: duplicity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855736
Title:
Duplicity fails to start
To manage notifications about this bug g
I notice that this problem (using deja-dup to run duplicity) only occurs
when I run as sudo or pkexec (I need to do so to back up some kernel
files).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/18557
57 matches
Mail list logo