duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Duplicity-talk Digest, Vol 214, Issue 2


From: Alexander Levdonsky
Subject: Re: [Duplicity-talk] Duplicity-talk Digest, Vol 214, Issue 2
Date: Mon, 19 Mar 2018 18:23:06 +0300

I have default 
LANG=en_US.UTF-8

and command
LANG=en_US.utf8 duplicity incremental ... 
gives me the same error

I biuld simple test tree:

Dir "/tmp/test/Dup" as destination
Dir "/tmp/test/Name ASCII" as source 1
Dir "/tmp/test/Имя UTF8" as source 2
Dir "/tmp/test/More ASCII" as source 3

Two full backups are OK, incremental gives the error:
/usr/local/bin/duplicity full --no-encryption "Name ASCII" file:///tmp/test/Dup 
/usr/local/bin/duplicity full --no-encryption "Имя UTF8" file:///tmp/test/Dup 
/usr/local/bin/duplicity incremental --no-encryption "Name ASCII" file:///tmp/test/Dup

Once again, after cleaning destination, backup with no UTF8 name:
/usr/local/bin/duplicity full --no-encryption "Name ASCII" file:///tmp/test/Dup 
/usr/local/bin/duplicity full --no-encryption "More ASCII" file:///tmp/test/Dup

and finally 
/usr/local/bin/duplicity incremental --no-encryption "Name ASCII" file:///tmp/test/Dup
Prints correct error message:
Fatal Error: Backup source directory has changed. 
Current directory: Name ASCII 
Previous directory: More ASCII

It seems something wrong with storing UTF8 names at manifest?



On Mon, 2018-03-19 at 11:00 -0400, Arjun Krishnan via Duplicity-talk wrote:
I get this error when I run python through a cron job. 

Something that works for me is to set the LANG environment variable as follows:
LANG=en_US.utf8 /usr/bin/duplicity


On Sun, Mar 18, 2018 at 12:00 PM, <address@hidden> wrote:
Send Duplicity-talk mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/duplicity-talk
or, via email, send a message with subject or body 'help' to
        address@hiddenorg

You can reach the person managing the list at
        address@hiddenorg

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Duplicity-talk digest..."


Today's Topics:

   1. Re: UnicodeDecodeError (Aaron)


----------------------------------------------------------------------

Message: 1
Date: Sat, 17 Mar 2018 16:00:23 +0000
From: Aaron <address@hidden>
To: Discussion about duplicity backup <address@hidden>,
        Alexander Levdonsky via Duplicity-talk <address@hidden>,
        address@hidden
Subject: Re: [Duplicity-talk] UnicodeDecodeError
Message-ID: <7B97CDE5-009A-4995-B89B-address@hiddennz>
Content-Type: text/plain; charset="utf-8"

Hello Alexander,

Can you please send your command line?

Kind regards,

Aaron

On 17 March 2018 15:05:20 GMT, Alexander Levdonsky via Duplicity-talk <address@hidden> wrote:
>Hello,
>
>Have got UnicodeDecodeError error on incremental backups:
>===
>Traceback (most recent call last):
>  File "/usr/bin/duplicity", line 1546, in <module>
>    with_tempdir(main)
>  File "/usr/bin/duplicity", line 1540, in with_tempdir
>    fn()
>  File "/usr/bin/duplicity", line 1391, in main
>    do_backup(action)
>  File "/usr/bin/duplicity", line 1521, in do_backup
>    check_last_manifest(col_stats)  # not needed for full backup
>  File "/usr/bin/duplicity", line 1222, in check_last_manifest
>    last_backup_set.check_manifests()
>  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py",
>line 215, in check_manifests
>    remote_manifest.check_dirinfo()
>  File "/usr/lib/python2.7/dist-packages/duplicity/manifest.py", line
>100, in check_dirinfo
>    "Previous directory: %s") % (globals.local_path.name,
>self.local_dirname)  # @UndefinedVariable
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0:
>ordinal not in range(128)
>
>===
>
>Eror was found on Duplicity 0.7.12-1 (the version from repository) and
>after update the error reproduced on 0.7.17 version.
>
>Any ideas to eliminate the error?
>
>Thanks,
>WBR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/duplicity-talk/attachments/20180317/99fc48bf/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


------------------------------

End of Duplicity-talk Digest, Vol 214, Issue 2
**********************************************

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]