UnicodeEncodeError with default install on russian Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
I have Bazaar-2.5.0 installed on a Windows machine with system locale set to Russian. By default Bazaar selects Russian language (ru_RU) for user interface. With such setup, branch checkout fails with traceback:
C:\>bzr co bzr+ssh:
bzr: ERROR: exceptions.
in position 15-23: ordinal not in range(128)
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-23: ordinal not in range(128)
bzr 2.5.0 on python 2.6.6 (Windows-
arguments: ['C:\\Program Files\\
plugins: bzrtools[2.5.0], changelog_
explorer[
loom[2.3.0dev], netrc_credentia
pipeline[
upload[
encoding: 'cp1251', fsenc: 'mbcs', lang: None
The branch that I am trying to check out is completely empty, fresh created on the server with bzr init --no-tree.
When I set language = en in bazaar.conf, the same command passed successfully with no console output.
Thanks for the report! This will be fixed when 2.5.1 is released, see the current bug for more.