Bug#384489: duplicity: ImportError: No module named duplicity

View: New views
4 Messages — Rating Filter:   Alert me  

Bug#384489: duplicity: ImportError: No module named duplicity

by Rob Browning :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

reopen 384489
thanks

This appears to still be broken in 0.4.2-5.

  # dpkg --status duplicity | grep Version
  Version: 0.4.2-5

  # duplicity
  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 29, in ?
      from duplicity import collections, commandline, diffdir, dup_temp, \
  ImportError: No module named duplicity

--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#384489: duplicity: ImportError: No module named duplicity

by Martin Wuertele :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi Rob!

* Rob Browning <rlb@...> [2006-08-26 21:33]:

>   # dpkg --status duplicity | grep Version
>   Version: 0.4.2-5
>
>   # duplicity
>   Traceback (most recent call last):
>     File "/usr/bin/duplicity", line 29, in ?
>       from duplicity import collections, commandline, diffdir, dup_temp, \
>   ImportError: No module named duplicity
 
strange:
(sid64)martin@sheol:~$ duplicity
zsh: command not found: duplicity
(sid64)martin@sheol:~$ sudo apt-get install -qq duplicity
(...)
Selecting previously deselected package duplicity.
(Reading database ... 31369 files and directories currently installed.)
Unpacking duplicity (from .../duplicity_0.4.2-5_amd64.deb) ...
Setting up duplicity (0.4.2-5) ...

(sid64)martin@sheol:~$ duplicity
Command line error: Too few arguments
See the duplicity manual page for instructions


(sid32)martin@sheol:~$ duplicity
zsh: command not found: duplicity
(sid32)martin@sheol:~$ sudo apt-get install -qq duplicity
(...)
Selecting previously deselected package duplicity.
Unpacking duplicity (from .../duplicity_0.4.2-5_i386.deb) ...
(sid32)martin@sheol:~$ duplicity
Command line error: Too few arguments
See the duplicity manual page for instructions

please show me
ls -R /usr/share/python-support/duplicity
ls -R /usr/lib/python*/site-packages/duplicity (this should return no matches)

yours Martin
--
<maxx@...> ---- Debian GNU/Linux - The Universal Operating System
this thread wasn't on-topic even when it was on-topic.
                -- Steve Langasek


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#384489: duplicity: ImportError: No module named duplicity

by Rob Browning :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Martin Wuertele <maxx@...> writes:

> Hi Rob!

> please show me
> ls -R /usr/share/python-support/duplicity
> ls -R /usr/lib/python*/site-packages/duplicity (this should return no matches)
OK.

  # ls -R /usr/share/python-support/duplicity
  /usr/share/python-support/duplicity:
  duplicity

  /usr/share/python-support/duplicity/duplicity:
  GnuPGInterface.py  commandline.py  globals.py   manifest.py  selection.py
  __init__.py        diffdir.py      gpg.py       misc.py      static.py
  _librsync.so       dup_temp.py     lazy.py      patchdir.py  statistics.py
  backends.py        dup_time.py     librsync.py  path.py      tarfile.py
  collections.py     file_naming.py  log.py       robust.py

  # ls -R /usr/lib/python*/site-packages/duplicity
  ls: /usr/lib/python*/site-packages/duplicity: No such file or directory

--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#384489: duplicity: ImportError: No module named duplicity

by Rob Browning :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Rob Browning <rlb@...> writes:

> OK.
>
>   # ls -R /usr/share/python-support/duplicity
>   /usr/share/python-support/duplicity:
>   duplicity

I forgot to mention that I'm running an up to date unstable system.

Perhaps this is the problem:

  $ ls -l /usr/bin/python
  lrwxrwxrwx 1 root root 9 Aug 24 16:16 /usr/bin/python -> python2.4

  $ python -c 'import sys; print sys.path'
  ['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
  '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk',
  '/usr/lib/python2.4/lib-dynload',
  '/usr/local/lib/python2.4/site-packages',
  '/usr/lib/python2.4/site-packages',
  '/usr/lib/python2.4/site-packages/Numeric',
  '/usr/lib/python2.4/site-packages/PIL',
  '/usr/lib/python2.4/site-packages/cairo',
  '/var/lib/python-support/python2.4',
  '/var/lib/python-support/python2.4/gtk-2.0']

i.e. no /usr/share/ anywhere in the path.

My older duplicity package has these files in /usr/lib rather than
/usr/share.

--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...