From: Nick Fedchik <nick@fedchik.org.ua> To: sisyphus@altlinux.ru Subject: [sisyphus] mailman and koi8-u Date: Tue, 30 Sep 2003 13:05:31 +0300 Message-ID: <200309301305.31113.nick@fedchik.org.ua> (raw) Если кто сталкивался, подскажите. Когда постят на mailman сообщения с установленной кодировкой koi8-u, то сообщения закидываются в директорию /var/spool/mailman/shunt а в лог пишется такое: Sep 30 12:59:37 2003 (23047) Uncaught runner exception: unknown encoding: koi8-u Sep 30 12:59:37 2003 (23047) Traceback (most recent call last): File "/usr/share/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop self._onefile(msg, msgdata) File "/usr/share/mailman/Mailman/Queue/Runner.py", line 155, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/usr/share/mailman/Mailman/Handlers/CookHeaders.py", line 75, in process prefix_subject(mlist, msg, msgdata) File "/usr/share/mailman/Mailman/Handlers/CookHeaders.py", line 262, in prefix_subject h.append(s, c) File "/usr/share/mailman/pythonlib/email/Header.py", line 285, in append s = s.encode(outcodec, errors) LookupError: unknown encoding: koi8-u Sep 30 12:59:37 2003 (23047) SHUNTING: 1064915976.554125+2f0a968f62e7fafd19ffc1a1feb6a9a86ffa6f49 Поскольку это "дело рук" питоновых скриптов, то я думаю что этот баг (?) можно как-то подрихтовать... Подскажите плз кто знает как... -- Best Regards, Nick Fedchik http://www.fedchik.org.ua/
next reply other threads:[~2003-09-30 10:05 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-09-30 10:05 Nick Fedchik [this message] 2003-09-30 10:43 ` Maxim Dzumanenko 2003-09-30 12:45 ` Maxim Tyurin 2003-09-30 13:28 ` Nick Fedchik
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200309301305.31113.nick@fedchik.org.ua \ --to=nick@fedchik.org.ua \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git