Bug#606182: duplicity: Fails to restore on initial run with GPGError

2010-12-07 Thread Delphine Patron
On Wed, Dec 08, 2010 at 12:47:29PM +1000, Alexander Zangerl wrote:
 On Tue, 07 Dec 2010 09:25:03 +0100, Olivier Berger writes:

 i can't reproduce the problem here; would you please send me the output
 of a run with -v 9 and with (re-)cleaned cache?
 

Here's at least the run with -v 5 :

# duplicity -v 5 --force --ssh-askpass 
scp://r...@x//mnt/IOMEGA_HDD/dupbackups/x /home/x/restore/
Using archive dir: /root/.cache/duplicity/a00bfabc635c2934093d231fbc26dadf
Using backup name: a00bfabc635c2934093d231fbc26dadf
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Password for 'x': 
Main action: restore
PASSPHRASE variable not set, asking user.
GnuPG passphrase: 

duplicity 0.6.08b (March 11, 2010)
Args: /usr/bin/duplicity -v 5 --force --ssh-askpass 
scp://r...@x//mnt/IOMEGA_HDD/dupbackups/x /home/x/restore/
Linux x 2.6.32-5-686 #1 SMP Thu Nov 25 18:43:34 UTC 2010 i686 
/usr/bin/python 2.6.6 (r266:84292, Oct  9 2010, 11:40:09) 
[GCC 4.4.5]

Using temporary directory /tmp/duplicity-p9jsSL-tempdir
Temp has 2661462016 available, backup will use approx 34078720.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 r...@x' 
(attempt #1)
sftp command: 'mkdir /mnt/IOMEGA_HDD/dupbackups/x'
sftp command: 'cd /mnt/IOMEGA_HDD/dupbackups/x'
sftp command: 'ls -1'
Synchronizing remote metadata to local cache...
PASSPHRASE variable not set, asking user.
Copying duplicity-full-signatures.20101206T005609Z.sigtar to local cache.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 r...@x' 
(attempt #1)
sftp command: 'get 
/mnt/IOMEGA_HDD/dupbackups/x/duplicity-full-signatures.20101206T005609Z.sigtar.gpg
 /tmp/duplicity-p9jsSL-tempdir/mktemp-uA0Siq-2'
Deleting /tmp/duplicity-p9jsSL-tempdir/mktemp-uA0Siq-2
Copying duplicity-full.20100116T134814Z.manifest to local cache.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 r...@x' 
(attempt #1)
sftp command: 'get 
/mnt/IOMEGA_HDD/dupbackups/x/duplicity-full.20100116T134814Z.manifest.gpg 
/tmp/duplicity-p9jsSL-tempdir/mktemp-p0Ukqx-3'
Deleting /tmp/duplicity-p9jsSL-tempdir/mktemp-p0Ukqx-3
Copying duplicity-full.20100905T190548Z.manifest to local cache.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 r...@x' 
(attempt #1)
sftp command: 'get 
/mnt/IOMEGA_HDD/dupbackups/x/duplicity-full.20100905T190548Z.manifest.gpg 
/tmp/duplicity-p9jsSL-tempdir/mktemp-hu2f4W-4'
Deleting /tmp/duplicity-p9jsSL-tempdir/mktemp-hu2f4W-4
Copying duplicity-full.20101006T231429Z.manifest to local cache.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=1 r...@x' 
(attempt #1)
sftp command: 'get 
/mnt/IOMEGA_HDD/dupbackups/x/duplicity-full.20101006T231429Z.manifest.gpg 
/tmp/duplicity-p9jsSL-tempdir/mktemp-WiIWB8-5'
GPG error detail: Traceback (most recent call last):
  File /usr/bin/duplicity, line 1251, in module
with_tempdir(main)
  File /usr/bin/duplicity, line 1244, in with_tempdir
fn()
  File /usr/bin/duplicity, line 1145, in main
sync_archive()
  File /usr/bin/duplicity, line 959, in sync_archive
copy_to_local(fn)
  File /usr/bin/duplicity, line 915, in copy_to_local
globals.archive_dir.append(loc_name).name)
  File /usr/bin/duplicity, line 841, in copy_raw
data = src_iter.next(block_size).data
  File /usr/bin/duplicity, line 900, in next
self.fileobj.close()
  File /usr/lib/python2.6/dist-packages/duplicity/dup_temp.py, line 210, in 
close
assert not self.fileobj.close()
  File /usr/lib/python2.6/dist-packages/duplicity/gpg.py, line 198, in close
self.gpg_failed()
  File /usr/lib/python2.6/dist-packages/duplicity/gpg.py, line 165, in 
gpg_failed
raise GPGError, msg
GPGError: GPG Failed, see log below:
= Begin GnuPG log =
gpg: decrypt_message failed: eof
= End GnuPG log =


GPGError: GPG Failed, see log below:
= Begin GnuPG log =
gpg: decrypt_message failed: eof
= End GnuPG log =

 from the lack of log info about backup chains it seems to me that one 
 of the manifests is damaged/empty/undecryptable, can you check their file 
 sizes 
 on the remote storage backend? (ideally run a collection-status and 
 list-current-files, too.)

You're right : the duplicity-full.20101006T231429Z.manifest.gpg
file is empty, as well as parts of the 

Bug#564625: rhythmbox: Import error on louie python library prevents activation of UPNP client

2010-01-10 Thread Delphine Patron
Package: rhythmbox
Version: 0.12.6-2
Severity: normal

Hi.

Whenever activating the UPNP plugin, I get an error, which is traced on stdout 
as :

Traceback (most recent call last):
  File /usr/lib/rhythmbox/plugins/upnp_coherence/__init__.py, line 15, in 
module
import louie
ImportError: No module named louie

(rhythmbox:17806): Rhythmbox-WARNING **: Could not load plugin upnp_coherence


(rhythmbox:17806): Rhythmbox-WARNING **: Error, impossible to activate plugin 
'DLNA/UPnP sharing and control support'

However, both python-coherence and python-louie are installed :
python-coherence 0.6.4-4
python-louie 1.1-1.1

Note that I didn't reuse #485838 which was IMHO more related to the lack of 
useful message in the dialog box when this happens.

Note also that the only similar report I could find was #452087, but that ain't 
the problem apparently.

Hope this helps.

Best regards

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rhythmbox depends on:
ii  dbus1.2.16-2 simple interprocess messaging syst
ii  gconf2  2.28.0-1 GNOME configuration database syste
ii  gnome-icon-theme2.28.0-1 GNOME Desktop icon theme
ii  gstreamer0.10-alsa [gst 0.10.25-7GStreamer plugin for ALSA
ii  gstreamer0.10-esd [gstr 0.10.17-1GStreamer plugin for ESD
ii  gstreamer0.10-plugins-b 0.10.17-1GStreamer plugins from the bad s
ii  gstreamer0.10-plugins-b 0.10.25-7GStreamer plugins from the base 
ii  gstreamer0.10-plugins-g 0.10.17-1GStreamer plugins from the good 
ii  gstreamer0.10-pulseaudi 0.10.17-1GStreamer plugin for PulseAudio
ii  gstreamer0.10-x 0.10.25-7GStreamer plugins for X11 and Pang
ii  libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii  libavahi-client30.6.25-2 Avahi client library
ii  libavahi-common30.6.25-2 Avahi common library
ii  libavahi-glib1  0.6.25-2 Avahi glib integration library
ii  libbrasero-media0   2.28.3-1 CD/DVD burning library for GNOME -
ii  libc6   2.10.2-2 GNU C Library: Shared libraries
ii  libcairo2   1.8.8-2  The Cairo 2D vector graphics libra
ii  libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii  libdbus-glib-1-20.82-2   simple interprocess messaging syst
ii  libfontconfig1  2.8.0-2  generic font configuration library
ii  libfreetype62.3.11-1 FreeType 2 font engine, shared lib
ii  libgconf2-4 2.28.0-1 GNOME configuration database syste
ii  libglade2-0 1:2.6.4-1library to load .glade files at ru
ii  libglib2.0-02.22.3-1 The GLib library of C routines
ii  libgnome-keyring0   2.28.2-1 GNOME keyring services library
ii  libgnome-media0 2.28.1-1 runtime libraries for the GNOME me
ii  libgpod40.7.2-2  library to read and write songs an
ii  libgstreamer-plugins-ba 0.10.25-7GStreamer libraries from the base
ii  libgstreamer0.10-0  0.10.25-4+b1 Core GStreamer libraries and eleme
ii  libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface 
ii  libgudev-1.0-0  149-2GObject-based wrapper library for 
ii  libice6 2:1.0.6-1X11 Inter-Client Exchange library
ii  liblircclient0  0.8.3-5  infra-red remote control support -
ii  libmtp8 0.3.7-7  Media Transfer Protocol (MTP) libr
ii  libmusicbrainz4c2a  2.1.5-4  Second generation incarnation of t
ii  libnotify1 [libnotify1- 0.4.5-1  sends desktop notifications to a n
ii  libpango1.0-0   1.26.2-1 Layout and rendering of internatio
ii  libsm6  2:1.1.1-1X11 Session Management library
ii  libsoup-gnome2.4-1  2.28.2-1 an HTTP library implementation in 
ii  libsoup2.4-12.28.2-1 an HTTP library implementation in 
ii  libtotem-plparser12 2.28.2-1 Totem Playlist Parser library - ru
ii  libusb-0.1-42:0.1.12-13  userspace USB programming library
ii  libxml2 2.7.6.dfsg-1 GNOME XML library
ii  media-player-info   4-1  Media player identification files
ii  python  2.5.4-5  An interactive high-level object-o
ii  python-gnome2   2.28.0-1 Python bindings for the GNOME desk
ii  python-gst0.10  0.10.17-1generic media-playing framework (P
ii  python-gtk2 2.16.0-1 Python bindings for the GTK+ widge
ii 

Bug#564641: rhythmbox: Cannot detect remote upnp server (mediatomb)

2010-01-10 Thread Delphine Patron
Package: rhythmbox
Version: 0.12.6-2
Severity: normal

Hi.

I cannot seem to detect a remote upnp server (mediatomb).

By investigating the cause, I found out that the code of the coherence plugin 
seems different from the one shipped into upstream rhythmbox.

By changing it in order to match the one available from 
http://coherence.beebits.net/wiki/RhythmBox#PluginInstall it seems to work much 
better.

I suspect that the python-coherence and/or python-louie behaviour has changed, 
and one now needs to import coherence.extern.louie instead of louie python 
module directly.

The following patch illustrates the diffs between usptream code and the one in 
the coherence SVN.

Hope this helps.

Best regards,


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rhythmbox depends on:
ii  dbus1.2.16-2 simple interprocess messaging syst
ii  gconf2  2.28.0-1 GNOME configuration database syste
ii  gnome-icon-theme2.28.0-1 GNOME Desktop icon theme
ii  gstreamer0.10-alsa [gst 0.10.25-7GStreamer plugin for ALSA
ii  gstreamer0.10-esd [gstr 0.10.17-1GStreamer plugin for ESD
ii  gstreamer0.10-plugins-b 0.10.17-1GStreamer plugins from the bad s
ii  gstreamer0.10-plugins-b 0.10.25-7GStreamer plugins from the base 
ii  gstreamer0.10-plugins-g 0.10.17-1GStreamer plugins from the good 
ii  gstreamer0.10-pulseaudi 0.10.17-1GStreamer plugin for PulseAudio
ii  gstreamer0.10-x 0.10.25-7GStreamer plugins for X11 and Pang
ii  libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii  libavahi-client30.6.25-2 Avahi client library
ii  libavahi-common30.6.25-2 Avahi common library
ii  libavahi-glib1  0.6.25-2 Avahi glib integration library
ii  libbrasero-media0   2.28.3-1 CD/DVD burning library for GNOME -
ii  libc6   2.10.2-2 GNU C Library: Shared libraries
ii  libcairo2   1.8.8-2  The Cairo 2D vector graphics libra
ii  libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii  libdbus-glib-1-20.82-2   simple interprocess messaging syst
ii  libfontconfig1  2.8.0-2  generic font configuration library
ii  libfreetype62.3.11-1 FreeType 2 font engine, shared lib
ii  libgconf2-4 2.28.0-1 GNOME configuration database syste
ii  libglade2-0 1:2.6.4-1library to load .glade files at ru
ii  libglib2.0-02.22.3-1 The GLib library of C routines
ii  libgnome-keyring0   2.28.2-1 GNOME keyring services library
ii  libgnome-media0 2.28.1-1 runtime libraries for the GNOME me
ii  libgpod40.7.2-2  library to read and write songs an
ii  libgstreamer-plugins-ba 0.10.25-7GStreamer libraries from the base
ii  libgstreamer0.10-0  0.10.25-4+b1 Core GStreamer libraries and eleme
ii  libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface 
ii  libgudev-1.0-0  149-2GObject-based wrapper library for 
ii  libice6 2:1.0.6-1X11 Inter-Client Exchange library
ii  liblircclient0  0.8.3-5  infra-red remote control support -
ii  libmtp8 0.3.7-7  Media Transfer Protocol (MTP) libr
ii  libmusicbrainz4c2a  2.1.5-4  Second generation incarnation of t
ii  libnotify1 [libnotify1- 0.4.5-1  sends desktop notifications to a n
ii  libpango1.0-0   1.26.2-1 Layout and rendering of internatio
ii  libsm6  2:1.1.1-1X11 Session Management library
ii  libsoup-gnome2.4-1  2.28.2-1 an HTTP library implementation in 
ii  libsoup2.4-12.28.2-1 an HTTP library implementation in 
ii  libtotem-plparser12 2.28.2-1 Totem Playlist Parser library - ru
ii  libusb-0.1-42:0.1.12-13  userspace USB programming library
ii  libxml2 2.7.6.dfsg-1 GNOME XML library
ii  media-player-info   4-1  Media player identification files
ii  python  2.5.4-5  An interactive high-level object-o
ii  python-gnome2   2.28.0-1 Python bindings for the GNOME desk
ii  python-gst0.10  0.10.17-1generic media-playing framework (P
ii  python-gtk2 2.16.0-1 Python bindings for the GTK+ widge
ii  python-support  1.0.6automated rebuilding support for P
ii  python2.5   2.5.4-3  An interactive high-level object-o
ii  zlib1g  1:1.2.3.4.dfsg-3 compression