From 6ea60572afe6bb2fc30b197946ea653451fc240e Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sat, 29 May 2004 18:48:23 +0000 Subject: [PATCH] [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-53] add note about utf8 encodings add info to the README about what to do if python complains about missing encodings. veleriy pogrebitskiy ran into this and had advice. --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README b/README index 3332463..4be8bcc 100644 --- a/README +++ b/README @@ -61,6 +61,17 @@ out for: you really should upgrade to python 2.3. laziness is no excuse! :) +some python distributions don't include the utf-8 string encodings, for reasons +of space (misdirected as that is). if your distribution is missing encodings, +you'll see an error like this: + +LookupError: no codec search functions registered: can't find encoding + +this means you need to copy string encodings over from a working system. +(it probably only happens on embedded systems, not normal python installls.) +Valeriy Pogrebitskiy says the best place to look is +'.../lib/python*/encodings/__init__.py'. + *** DEMO @@ -127,3 +138,4 @@ v0.9 FEAROW * multi-part auth not supported (ie, need username AND pk) * server mode needs better documentation * sftp server mode +* make invoke_subsystem, etc wait for a reply