Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:error': 0.03; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; "subject:')": 0.09; "subject:, '": 0.09; 'accepting': 0.14; '4gb': 0.16; 'contexts,': 0.16; 'happily': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; '(the': 0.22; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'decide': 0.24; 'header': 0.24; 'this:': 0.26; 'subject:/': 0.26; 'header:X -Complaints-To:1': 0.27; 'returned': 0.30; 'that.': 0.31; 'derivatives': 0.31; 'writes:': 0.31; 'themselves': 0.32; 'running': 0.33; 'but': 0.35; 'there': 0.35; 'should': 0.36; 'error.': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'reported': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'signal': 0.60; 'most': 0.60; 'received:217': 0.63; 'real': 0.63; 'charset:iso-8859-2': 0.64; 'chance': 0.65; 'programs,': 0.74; 'continued.': 0.84; 'curl': 0.84; 'freebsd': 0.84; 'interrupt': 0.84; 'maybe,': 0.84; 'misses': 0.84; 'nagy': 0.84; 'interrupted': 0.96 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: pycurl.error: (55, 'select/poll returned error') Date: Mon, 30 Mar 2015 08:44:55 +0200 References: <5514FFEE.4030204@shopzeus.com> <87fv8pwrk0.fsf@handshake.de> <5517A5DC.6060001@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: pd9e08270.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:0jGJUSRwrA2oTfRvHXUqH0mEJE0= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427697915 news.xs4all.nl 2855 [2001:888:2000:d::a6]:58588 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88317 Nagy László Zsolt writes: > 2015.03.28. 7:43 keltezéssel, dieter írta: >> Nagy László Zsolt writes: >> >>> When calling curl.perform() on a curl instance I get this: >>> >>> pycurl.error: (55, 'select/poll returned error') >>> .... > The same server is happily accepting files over 4GB from other > clients. Those other clients are exactly the same client programs, but > they are running on Windows. Only the one on this FreeBSD box is > throwing the error. Maybe, you can find out what was the real error reported by "select/poll" (the "55" above might be the "errno" and in you OS header files, you may find what it means). *nix* derivatives have a peculiarity (missing under Windows). There waiting system calls may prematurely return with the error "interrupted system call". Likely, this should give waiting applications a chance to reassess the state after a signal interrupt and decide for themselves whether the waiting should be continued. In most contexts, "interrupted system call" should not be considered an error and the interrupted call should be restartet. Maybe, "pycurl" misses to do that.