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.

-- 
 \        “If I melt dry ice, can I swim without getting wet?” —Steven |
  `\                                                            Wright |
_o__)                                                                  |
Ben Finney <b...@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature

Reply via email to