Character encoding problem when pushing through sftp from win32 to linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned | ||
QBzr |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I can't push through sftp between win32 and linux, I have to use a usb drive and this is very annoying ! Here is the traceback of the problem: (I've tryed with and without accentuated characters in the win32 path, same story in both cases)
Connected (version 2.0, client OpenSSH_5.1p1)
Adding ssh-rsa host key for (xxxxxxxxxxxxxx
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\push.pyo", line 83, in _show_push_branch
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 "C:/Program Files/Bazaar/
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 5: ordinal not in range(128)
bzr 2.0.4 on python 2.5.4 (Windows-
arguments: ['C:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: 'FR'
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
description: | updated |
affects: | bzr → qbzr |
tags: | added: check-for-breezy |
Figured out that bzr was passing the Windows user name for ssh authetication, which contains accentuated characters. If I specify the user name manually when pushing, all goes fine.