[Distutils] zc.buildout : more infos on download errors
Jim Fulton
jim at zope.com
Tue Jan 8 15:09:40 CET 2008
On Jan 8, 2008, at 5:51 AM, Tarek Ziadé wrote:
>
> Hello,
>
> When a server that is supposed to provide an agg is timing out (it
> happens
> sometime,
> for some libs like PIL, pysqlite, etc) zc.buildout returns a warning
> like
> this:
>
> Download error: (104, 'Connection reset by peer') -- Some packages
> may not
> be found!
>
> In the flow of actions, it is very hard to tell which url is down. I
> had to
> patch urlopen
> to catch it.
>
> I think zc.buildout could be more verbose here, and tell which
> package or
> url failed
Agreed. You should submit a bug report. Note that buildout is using
setuptools, which uses urllib2 which is maddeningly uninformative in
it's error reporting.
Jim
--
Jim Fulton
Zope Corporation
More information about the Distutils-SIG
mailing list