[Mailman-Users] gate_news and ToUsenet bug?
Marco Marongiu
bronto at crs4.it
Tue Mar 28 12:47:12 CEST 2000
Hi
I'm not a list subscriber, so if these problems have been already
addressed I apologize. Of course, I apologize also for my english :-)
I downloaded and installed mailman 2.0b on a Sun UltraSPARC 1, running
Solaris 7. I installed python 1.5.2 using a pre-compiled package from
Solaris-Freeware
(ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/sparc/7/python-1.5.2-sol7-sparc-local.gz).
I set up the test list, with a bidirectional gateway with our news
server. Neither mail->news nor news->mail worked.
About the mail->news problem, I found these errors in the
~mailman/logs/error file:
Mar 24 17:55:24 2000 post(18572): starting
post(18574): Traceback (innermost last):
post(18574): File "/home/mailman/scripts/post", line 86, in ?
post(18574): main()
post(18574): File "/home/mailman/scripts/post", line 62, in main
post(18574): mlist.Post(msg)
post(18574): File "/home/mailman/Mailman/MailList.py", line 1293, in
Post
post(18574): Mailman.Handlers.HandlerAPI.DeliverToList(self, msg)
post(18574): File "/home/mailman/Mailman/Handlers/HandlerAPI.py", line
55, in DeliverToList
post(18574): func(mlist, msg)
post(18574): File "/home/mailman/Mailman/Handlers/ToUsenet.py", line
52, in process
post(18574): do_child(mlist, msg)
post(18574): File "/home/mailman/Mailman/Handlers/ToUsenet.py", line
130, in do_child
post(18574): conn = nntplib.NNTP(mlist.nntp_host, readermode=1)
post(18574): TypeError : unexpected keyword argument: readermode
Mar 24 17:55:27 2000 post(18572): ending
What I did:
$ diff ToUsenet.py ToUsenet.py.bak
130c130
< conn = nntplib.NNTP(mlist.nntp_host)
---
> conn = nntplib.NNTP(mlist.nntp_host, readermode=1)
...and it worked. If I'm doing something absurd, please keep in mind I'm
not a Python-er, so did what I could :-)
About the news->mail problem, no error was shown. Reading the docs of
gate_news, I realized that the program didn't create the watermark file.
I tried to force the creation modifying the script and launching
gate_news test 0 7
but nothing happened. I corrected the error using an older version of
gate_news (1.1). It didn't gate the news again, but it created the
watermark file. After that, gate_news worked.
I hope it helps.
Ciao
Marco
PS: If you need more info, feel free to contact me at my e-mail address.
Don't post questions on the list since I'm not a subscriber. Thank you.
--
____ ____ ____ _ _
/ ___)| __ \/ ___)/ /| | Marco Marongiu <bronto at crs4.it>
| (___ | /\___ \\__ | Computers & Network Group
\____)|_|\_\(____/ |_| Phone: +39 070 2796 336
More information about the Mailman-Users
mailing list