Comment 14 for bug 592083

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 592083] Re: UnicodeDecodeError in get_password if user name is unicode

Alexey Gaynulin пишет:
> C:\Users\Алексей\Documents\bazar-test\experiment\project>bzr init new/Created a repository tree (format: 2a)
> Using shared repository: C:/Users/Алексей/Documents/bazar-test/experiment/project/
>
> C:\Users\Алексей\Documents\bazar-test\experiment\project>cd new
>
> C:\Users\Алексей\Documents\bazar-test\experiment\project\new>bzr init-repo --no-trees sftp://bazaar.09248.ru/bzr/project
> Connected (version 2.0, client OpenSSH_4.3)
> bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 4: ordinal not in range(128)
> ............................................

Please, do following:

set BZR_PDB=1
bzr init-repo --no-trees sftp://bazaar.09248.ru/bzr/project

This time when error occurred you will enter debugger mode.
In the debugger mode execute following command:

 >>> print repr(input)

And show me its result.