[Mailman-Users] How to export googlegroup mail to mailman

Mark Sapiro mark at msapiro.net
Sat Dec 13 03:51:57 CET 2008


haha wrote:

>On Sat, Dec 13, 2008 at 2:24 AM, haha <mgtuiw at gmail.com> wrote:
>
>> Thanks !!
>>
>> I find a script in http://libgmail.sourceforge.net/, it cat download mail
>> of my gmail, but it alway appear error :
>>   """
>> 11e2d6c674f24487 5 <b>crypto(9) choose another driver if we cannot open a
>> session on it</b>
>> Traceback (most recent call last):
>>   File "archive.py", line 79, in <module>
>>     for msg in thread:
>>   File "/home/minix/software/libgmail-0.1.11/libgmail.py", line 1368, in
>> __iter__
>>     self._messages = self._getMessages(self)
>>   File "/home/minix/software/libgmail-0.1.11/libgmail.py", line 1406, in
>> _getMessages
>>     result += [GmailMessage(thread, msg, isDraft = isDraft)]
>>   File "/home/minix/software/libgmail-0.1.11/libgmail.py", line 1445, in
>> __init__
>>     self.author_fullname = msgData[MI_AUTHORNAME].decode('utf-8')
>>   File "/usr/local/lib/python2.5/encodings/utf_8.py", line 16, in decode
>>     return codecs.utf_8_decode(input, errors, True)
>> UnicodeEncodeError: 'ascii' codec can't encode characters in position
>> 15-16: ordinal not in range(128)
>> """
>> I think this ASCII error!!


This error says there is something wrong with your Python installation
since it is complaining that the 'ascii' codec can't decode characters
outside the 0 to 127 range, yet decode has been invoked with a
character set of 'utf-8' so there should be no 'ascii' codec involved.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list