`bzr send` failed with UnicodeEncodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Alexander Belchenko |
Bug Description
I want to send the patch to my co-worker. Last log message contains russian text. Because `bzr send --mail-to` pass last log message as subject line to mail client it fails on win32:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "subprocess.pyc", line 443, in call
File "subprocess.pyc", line 593, in __init__
File "subprocess.pyc", line 815, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode characters in position 132-140: ordinal not in range(128)
bzr 0.91.0candidate2 on python 2.5.1.final.0 (win32)
arguments: ['D:\\Program Files\\
Invoking program via subprocess module require to pass all command arguments encoded in default windows encoding, i.e. in bzrlib.
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr: | |
status: | Fix Committed → In Progress |
I don't use Linux to send patches so I don't know is this bug related to Linux. So I'll try to fix it for Windows only. If someone else encounter this bug on Linux -- it should be filed as another bug.