Okay, so sys.stdin isn't seekable everywhere :) Give the below patch a try.
a few days ago Barry send me a patch that fixes an "Illegal Seek" error which I'm getting on my system (in scripts/post)... this hasn't been checked in the CVS yet... but I noticed this problem pops up in other places too... I think my mailinglist isn't working 100% now (but thats what you get for using 'experimental' version ;) ) Mailman/Message.py (49) also does a self.rewindbody(), causing the same error on my system. ... i'm seeing this appear several times a day in the error log so something isn't going that good on my list .... :) i'm curious to know what this problem is related to? is it the C library? my system is running good old libc5
Ricardo.
--
"RK" == Ricardo Kustner <ricardo@miss-janet.com> writes:
RK> a few days ago Barry send me a patch that fixes an "Illegal
RK> Seek" error which I'm getting on my system (in
RK> scripts/post)... this hasn't been checked in the CVS
RK> yet...
I just checked it in.
RK> but I noticed this problem pops up in other places too... I
RK> think my mailinglist isn't working 100% now (but thats what
RK> you get for using 'experimental' version ;) )
RK> Mailman/Message.py (49) also does a self.rewindbody(), causing
RK> the same error on my system. ...
stdin can't be guaranteed to be seekable, so for portability we should read it into a StringIO object and use that as the underlying `file-like input'. Can you tell me what else breaks? A quick grep through the source shows that mailcmd is probably broken (i.e. yourlist-request I'll bet doesn't work). I'll check in some patches for that next.
-Barry
HI. I'm using mailman to manage a bunk of mailing list. Is it possible store some information about the subscriber? It will be usefull store some personal data as real name, adresses, tel num. etc?
Tnk in advance Luca "ghedo" ghedini
participants (3)
-
Barry A. Warsaw
-
Luca ghedini
-
Ricardo Kustner