[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-04-08 Thread Pavlo Bohmat
** 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/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-04-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~mterry/duplicity/encode-for-print

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-04-08 Thread Michael Terry
I found the problem, it was that we were passing unicode to the 'print'
Python command.  I've attached a branch that fixes it to this bug and
uploaded a fix to trusty.

** No longer affects: deja-dup

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-04-03 Thread Daniel Holm
Anthing I can do to help fixing this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-31 Thread Alberto Salvia Novella
It renders essential functionality of the package (or a dependent one)
broken.

** Changed in: duplicity (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-30 Thread Ioannis Iliadis - Ilousis
** Changed in: duplicity (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-29 Thread Óscar Rodríguez Ríos
Hi,

Same here, since the upgrade from 12.04 to 14.04 every scheduled backup
fails with this error.

PS My system language is Galician gl_ES.UTF-8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-29 Thread Ioannis Iliadis - Ilousis
If System Language is set to English (System Settings → User Accounts →
Language → English), then back-up completes flawlessly. This is
confirmation to the observation of Alexander Kubashin (kubashin-a).

For el_GR.UTF-8 (as for ru_RU.UTF-8), the last line of errors is:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-25: 
ordinal not in range(128)

This bug, maybe it is the same as Bug #1276327 and similar to Bug
#989496 and Bug #554412 .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-26 Thread faguirre
Yes, same error.

Traceback (most recent call last):
  File /usr/bin/duplicity, line 1493, in module
with_tempdir(main)
  File /usr/bin/duplicity, line 1487, in with_tempdir
fn()
  File /usr/bin/duplicity, line 1336, in main
do_backup(action)
  File /usr/bin/duplicity, line 1457, in do_backup
full_backup(col_stats)
  File /usr/bin/duplicity, line 564, in full_backup
print_statistics(diffdir.stats, bytes_written)
  File /usr/bin/duplicity, line 594, in print_statistics
print diffdir.stats.get_stats_logstring(_(Backup Statistics))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 
21: ordinal not in range(128)

$ echo $LANG
pt_BR.UTF-8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Michael Terry
Interesting.  I can get that error by inserting a str() -- i.e. making that 
line like the following:
print str(diffdir.stats.get_stats_logstring(_(Backup Statistics)))

But normally, it works for me.  Your environment is UTF-8, so print
should be able to print the unicode.  And xterm seems able to handle it
in my testing (didn't show unicode characters right, but it didn't die).

Do you have any ideas why your shell may not be able to handle unicode
output?  How are you running duplicity?

** Changed in: duplicity (Ubuntu)
   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/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Michael Terry
Ah, if LANG=C, I get your crash...  So you must be running in a very
bare bones environment?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Alexander Kubashin
** Also affects: deja-dup
   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/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Lars Renström
No, I am running a 14.04 on a desktop updated from 13.10. This is what I
get from the terminal:

lars@matilda:~$ echo $LANG
sv_SE.UTF-8

Duplicity is running a backup once every week automatically, but lately
it has been dying with the error described above.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Alexander Kubashin
I have same error when running backup from deja-dup.

$ echo $LANG
ru_RU.UTF-8

Deja-dup backup was broken more than month ago on my 14.04 system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1286845] Re: Duplicity crashes with UnicodeEncode error

2014-03-03 Thread Alexander Kubashin
When I changed the system language to English, backups run without
errors.

P.S. Last line of errors for ru_RU.UTF-8 locale:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-25: 
ordinal not in range(128)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286845

Title:
  Duplicity crashes with UnicodeEncode error

To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/1286845/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs