On 3/3/2010 12:57 AM, Cedric Jeanneret wrote:
> On Tue, 02 Mar 2010 11:34:25 -0800
> Mark Sapiro <m...@msapiro.net> wrote:
> 
>> On 3/2/2010 3:41 AM, Cedric Jeanneret wrote:
[...]
>>> from cStringIO import StringIO
[...]
>>> f = StringIO(str(msg))
>>> h = HyperArch.HyperArchive(mlist)
>>> h.processUnixMailbox(f)
[...]
> 
> Hmm, it seems it crashes in pipermail.py, in function processUnixMailbox:
> we have a
> pos = input.tell() on line 564, but unfortunately "input" does NOT have any 
> "tell()" method...
> It returns a "41" status.


Something is strange. The input object in 'pos = input.tell()' is the
StringIO instance you passed as 'f', and StringIO objects do have a tell
method. Also, the above code snippet is exactly what the builtin
archiver uses, and I tested it and it worked for me.

-- 
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
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to