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


Groups > comp.lang.python > #6857

Re: feedparser hanging after I/O error

From xDog Walker <thudfoo@gmail.com>
Subject Re: feedparser hanging after I/O error
Date 2011-06-02 04:40 -0700
References <4de67830$0$2162$742ec2ed@news.sonic.net>
Newsgroups comp.lang.python
Message-ID <mailman.2390.1307015212.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Wednesday 2011 June 01 10:34, John Nagle wrote:
> I have a program which uses "feedparser".  It occasionally hangs when
> the network connection has been lost, and remains hung after the network
> connection is restored.

My solution is to download the feed file using wget, then hand that file to 
feedparser. feedparser will also hang forever on a url if the server doesn't 
serve. 

-- 
I have seen the future and I am not in it.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

feedparser hanging after I/O error John Nagle <nagle@animats.com> - 2011-06-01 10:34 -0700
  Re: feedparser hanging after I/O error xDog Walker <thudfoo@gmail.com> - 2011-06-02 04:40 -0700
    Re: feedparser hanging after I/O error John Nagle <nagle@animats.com> - 2011-06-03 10:44 -0700

csiph-web