[Pkg-bazaar-maint] Bug#518098: Bug#518098: Actually caused by missing ‘python-pycurl’ dependency

James Westby jw+debian at jameswestby.net
Wed Mar 4 10:28:33 UTC 2009


On Wed, 2009-03-04 at 16:08 +1100, Ben Finney wrote:
> reassign 518098 bzr
> retitle 518098 bzr: Confusing error message if ‘python-pycurl’ not installed
> thanks
> 
> On 04-Mar-2009, Ben Finney wrote:
> > The ‘debian/control’ file lists a ‘Vcs-Bzr’ field with the value
> > ‘http://bzr.debian.org/pkg-bazaar/bzr-loom/experimental’. This URL is
> > not usable with Bazaar on Debian ‘squeeze’:
> > 
> > =====
> > bzr branch http://bzr.debian.org/pkg-bazaar/bzr-loom/experimental
> > Transport error: Server refuses to fullfil the request
> > =====
> 
> This message is very confusing; it indicates an error on the *server*.
> However, the error is on the client:
> 
> > The Bazaar log file shows:
> > 
> > =====
> > 0.253  encoding stdout as sys.stdout encoding 'UTF-8'
> > 0.346  failed to import pycurl: No module named pycurl
> > 0.347  failed to instantiate transport <bzrlib.registry._LazyObjectGetter object at 103b5300, module='bzrlib.transport.http._pycurl' attribute='PyCurlTransport'> for 'http://bzr.debian.org/pkg-bazaar/bzr-loom/experimental': DependencyNotPresent()
> […]
> > TransportError: Transport error: Server refuses to fullfil the request 
> > =====
> 
> This is because currently ‘bzr’ only lists ‘python-pycurl’ as a
> ‘Suggests’ relationship. This should instead be a ‘Recommends’, since
> a great many public branches have HTTP URLs.

bzr supports two http libraries, the external pycurl, and the internal 
urllib. pycurl is currently preferred if available, but that may change
soon.

The issue here is a problem when talking to alioth using urllib, which
works fine when using pycurl, so it's not simply a case of a dependency
not being installed as you state. These bugs are about the same issue
I believe:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487189
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517744

Thanks,

James






More information about the Pkg-bazaar-maint mailing list