Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102955 > unrolled thread

Re: ftplib throws: IndexError: tuple index out of range

Started byPeter Otten <__peter__@web.de>
First post2016-02-15 11:04 +0100
Last post2016-02-15 11:04 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: ftplib throws: IndexError: tuple index out of range Peter Otten <__peter__@web.de> - 2016-02-15 11:04 +0100

#102955 — Re: ftplib throws: IndexError: tuple index out of range

FromPeter Otten <__peter__@web.de>
Date2016-02-15 11:04 +0100
SubjectRe: ftplib throws: IndexError: tuple index out of range
Message-ID<mailman.137.1455530664.22075.python-list@python.org>
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 ;) 

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web