[Twisted-Python] UnicodeDecodeError with twisted.conch.ssh client

Henning.Ramm at mediapro-gmbh.de Henning.Ramm at mediapro-gmbh.de
Thu Nov 17 05:58:11 EST 2005


>> I use password auth, and both user and password use only 
>7-bit ASCII chars.
>
>Did you pass a string or a unicode string? I suspect this code path
>would only be happy with regular strings (i.e. isinstance(s, str) ==
>True).

Thank you for the hint - 'str' at every place where data is sent helped.
I'm glad I don't need any chars that aren't 7-bit ASCII.
Perhaps conch could be teached to handle Unicode strings, too?

Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.




More information about the Twisted-Python mailing list