[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513315: Times out waiting for index to be rebuilt



On Wed, Jan 28, 2009 at 04:25:32AM -0800, Matt Kraai wrote:
> tag 513315 + patch
> thanks
> 
> On Wed, Jan 28, 2009 at 12:04:33PM +0000, Enrico Zini wrote:
> > Importing "apt" is what makes the problem reappear: apt seems to be
> > changing the default timeout from None to 2.0: I'll reassign this bug
> > to python-apt.
> 
> Thanks for figuring out which package was causing the problem.
> 
> python-apt is setting the default timeout so that it will time out if
> downloading a changelog takes too long.  The attached patch modifies
> it to change the default just as long as necessary.  It's racy, but I
> think it will work in this case.
> 
> Once python-apt requires Python 2.6, it can use urllib2.urlopen's
> optional timeout parameter instead.
[..]

Thanks, this is part of my bzr tree and it will be part of the next
upload. 

Cheers,
 Michael



Reply to: