haha wrote: >On Sat, Dec 13, 2008 at 2:24 AM, haha <mgt...@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 <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9