← Back to team overview

duplicity-team team mailing list archive

[Bug 378940] Re: python2-6 issue / UTF-8 charset / Ubuntu 9.04

 

** Branch linked: lp:duplicity

-- 
python2-6 issue / UTF-8 charset / Ubuntu 9.04
https://bugs.launchpad.net/bugs/378940
You received this bug notification because you are a member of
duplicity-team, which is subscribed to duplicity.

Status in duplicity - Bandwidth Efficient Encrypted Backup: Fix Committed

Bug description:
I have tried to run Duplicity via script on Ubuntu 9.04 with latest updates. I am experiencing some difficulty in this. Drive from which I back up is ssd exp3 and target one is sd card 16Gb with fat32.

I have looked for solution in this list as well as via google but the only thing I could find is the link at the bottom of this email which to me does not say anything.

Can some more verse in the subject guide me to the solution please?


Script looks as follows:

Duplicity.sh:

#!/bin/sh
export PASSPHRASE=kkkk
duplicity -v9 --encrypt-key "45E59DC4" /media/skryba_ltd/Skryba\ Limited/ file:///media/veho16/Duplicity/
--------------------End of script



Terminal output:

marcin@skryba-eee:~$ sh duplicity.sh
Main action: inc
/usr/bin/python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
duplicity 0.5.17 (May 04, 2009)
Linux skryba-eee 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Using temporary directory /tmp/duplicity-5vNxKe-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-5vNxKe-tempdir/mkstemp-FiiFxk-1
Temp has 651730944 available, backup will use approx 34078720.
4 files exist on backend
Extracting backup chains from list of files: ['Marcin.gpg', 'duplicity-full.20090520T152419Z.vol1.difftar.gpg', 'duplicity-full.20090520T152419Z.manifest.gpg', 'duplicity-full-signatures.20090520T152419Z.sigtar.gpg']
File Marcin.gpg is not part of a known set; creating new set
Ignoring file (rejected by backup set) 'Marcin.gpg'
File duplicity-full.20090520T152419Z.vol1.difftar.gpg is not part of a known set; creating new set
File duplicity-full.20090520T152419Z.manifest.gpg is part of known set
File duplicity-full-signatures.20090520T152419Z.sigtar.gpg is not part of a known set; creating new set
Ignoring file (rejected by backup set) 'duplicity-full-signatures.20090520T152419Z.sigtar.gpg'
Found backup chain [Wed May 20 16:24:19 2009]-[Wed May 20 16:24:19 2009]
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: None

Found 0 backup chains without signatures.

Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Wed May 20 16:24:19 2009
Chain end time: Wed May 20 16:24:19 2009
Number of contained backup sets: 1
Total number of contained volumes: 1
 Type of backup set:                            Time:      Num volumes:
                Full         Wed May 20 16:24:19 2009                 1
-------------------------
No orphaned or incomplete backup sets found.
Last full backup date: Wed May 20 16:24:19 2009
Registering (mktemp) temporary file /tmp/duplicity-5vNxKe-tempdir/mktemp-Jtt9H2-2
Removing still remembered temporary file /tmp/duplicity-5vNxKe-tempdir/mkstemp-FiiFxk-1
Removing still remembered temporary file /tmp/duplicity-5vNxKe-tempdir/mktemp-Jtt9H2-2
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 773, in emit
    stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 1336: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 773, in emit
    stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 174: ordinal not in range(128)
--------------------End of debug



Info on the subject:
http://stackoverflow.com/questions/828862/is-python2-6-stable-enough-for-production-use

Thanks in advance for any help.
-- 
Marcin T Małecki
Linux user #459629
http://maleccy.net
http://skryba.co.uk