[Teammetrics-discuss] nntpstat interupted with error
Andreas Tille
andreas at an3as.eu
Fri Sep 2 09:22:45 UTC 2011
Hi Sukhbir,
sorry for bimbing you with problems. As I told you, I started yesterday
the mailing list scripts. Now I checked the screen:
$ liststat.py ; nntpstat.py
Traceback (most recent call last):
File "./nntpstat.py", line 344, in <module>
main()
File "./nntpstat.py", line 328, in main
body, first, last)
File "./nntpstat.py", line 217, in nntp_to_mbox
liststat.parse_and_save({lst_url: mbox_file_path}, nntp=True)
File "/home/tille/debian-maintain/teammetrics/liststat.py", line 224, in parse_and_save
format_date = datetime.datetime(*parsed_date[:4])
TypeError: 'NoneType' object is unsubscriptable
$ tail -n25 /var/log/teammetrics/liststat.log
2011-09-02 04:48:32,491 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:32,678 WARNING: 'ascii' codec can't decode byte 0xeb in position 0: ordinal not in range(128) - Victor Wagner
2011-09-02 04:48:32,678 WARNING: Message #: 4506
2011-09-02 04:48:32,679 WARNING: 'ascii' codec can't decode byte 0xd7 in position 4: ordinal not in range(128) - Re: FIDO
2011-09-02 04:48:32,679 WARNING: Message #: 4506
2011-09-02 04:48:32,695 WARNING: 'ascii' codec can't decode byte 0xeb in position 0: ordinal not in range(128) - Victor Wagner
2011-09-02 04:48:32,696 WARNING: Message #: 4508
2011-09-02 04:48:32,696 WARNING: 'ascii' codec can't decode byte 0xd7 in position 4: ordinal not in range(128) - Re: idea
2011-09-02 04:48:32,696 WARNING: Message #: 4508
2011-09-02 04:48:32,925 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:34,436 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:34,502 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:34,752 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:34,822 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:34,826 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:35,544 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:35,601 WARNING: Spam detected: Subject is in upper case
2011-09-02 04:48:35,804 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:35,903 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:36,040 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:36,608 WARNING: 'ascii' codec can't decode byte 0xd3 in position 4: ordinal not in range(128) - x-servers
2011-09-02 04:48:36,608 WARNING: Message #: 5136
2011-09-02 04:48:36,698 WARNING: Spam detected: Subject starts with '='
2011-09-02 04:48:36,898 WARNING: Spam detected: Name is in upper case
2011-09-02 04:48:37,119 WARNING: Spam detected: Name is in upper case
It seems we need some further exception in line 224 (and probably the
name of the list would be quite helpful in addition to the Message #).
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Teammetrics-discuss
mailing list