madcowfred/newsmangler — Issue #7: AttributeError: 'NoneType' object has no attribute 'handle_error'
Author: stasjok
Created: 2012-01-19 15:21:06+00:00
State: open

Hello. Sometimes I get this error. And NZB-file doesn't generated. But files seems to posted OK.

2012-01-19 12:29:19,252 [WARNING] 5: unknown response from server - "400 news.astraweb.com: Idle timeout."
2012-01-19 12:29:19,313 [ERROR] 5: unhandled exception!
Traceback (most recent call last):
File "/opt/newsmangler/classes/BaseMangler.py", line 88, in poll
obj.handle_read_event()
File "/usr/lib64/python2.6/asyncore.py", line 428, in handle_read_event
self.handle_read()
File "/opt/newsmangler/classes/asyncNNTP.py", line 169, in handle_read
self._readbuf += self.recv(16384)
File "/usr/lib64/python2.6/asyncore.py", line 377, in recv
self.handle_close()
File "/opt/newsmangler/classes/asyncNNTP.py", line 151, in handle_close
self.really_close()
File "/opt/newsmangler/classes/asyncNNTP.py", line 157, in really_close
self.close()
File "/opt/newsmangler/classes/asyncNNTP.py", line 99, in close
self.del_channel()
File "/opt/newsmangler/classes/asyncNNTP.py", line 94, in del_channel
asyncore.poller.unregister(self._fileno)
TypeError: argument must be an int, or have a fileno() method.
2012-01-19 12:29:19,355 [WARNING] Invalid FD for poll() - 8
Traceback (most recent call last):
File "/usr/bin/newsmangler", line 146, in
main()
File "/usr/bin/newsmangler", line 141, in main
generate_par2=options.generate_par2)
File "/opt/newsmangler/classes/Poster.py", line 113, in post
_poll()
File "/opt/newsmangler/classes/BaseMangler.py", line 96, in poll
obj.handle_error()
AttributeError: 'NoneType' object has no attribute 'handle_error'