ftplib throws: IndexError: tuple index out of range
__peter__ at web.de
Mon Feb 15 05:04:13 EST 2016
Antoon Pardon wrote:
>> It looks like the actual error is socket.timeout which is probably raised
>> from somewhere inside the stdlib without args.
> I think I know what is going on. I have my own timeout mechanism at work
> here, that works with signals and alarm. When the SIGALRM fires I just
> raise the socket.timeout without arguments, which then causes the problem.
OK, then it's self-inflicted pain ;)
More information about the Python-list