[Twisted-Python] irc DCC file receive, error: invalid argument

peter commercials24 at yahoo.de
Sat May 23 15:27:06 MDT 2015


hi,


found this code online:
http://paste.pound-python.org/show/zeavfM7XjrXL2psPWxlv/

added some print statements and changed the logging to private/channel.


if i send the xdccbot a file from a second irc connection (x-chat) i get 
this error:
2015-05-23 22:30:01,384 : Bot connection made
2015-05-23 22:30:02,448 : Bot has signed on
2015-05-23 22:30:08,760 : Bot has joined channel #lala
2015-05-23 22:30:17,750 : connection failed during DCC download. reason: 
[Failure instance: Traceback (failure with no frames): <class 
'twisted.internet.error.ConnectError'>: An error occurred while 
connecting: 22: Invalid argument.

any ideas?




bot connect command:
python xdccbot.py irc.freenode.net lala lalala 123 90


the bot was designed to automatically message another irc user to send 
some file.
thats why the extra arguments.



More information about the Twisted-Python mailing list