Calibre doesn't allow non-ascii usernames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I try to start calibre, I get a backtrace that ends with
File "/usr/lib64/
ADDRESS = (u'\0%s-
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 2: ordinal not in range(128)
My login is "göran", so this isn't really surprising given the above code. I'm not sure why the address needs to be converted to ascii. But if it has to, perhaps the conversion could be made less strict, e.g.: encode(
Non-ASCII login names are probably violating some standard somewhere, and a strict reasoning might claim this is not a bug. But does calibre really have to be that restrictive?
Environment:
Fedora Linux
calibre-
description: | updated |
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased