Wrong error report

Andrew Bennetts andrew at canonical.com
Tue Sep 2 08:06:17 BST 2008


Hi Russel,

Sorry about the slow response.

Russel Winder wrote:
> 
> I think getting the following error report simply because the branch
> being accessed was not readable by the user concerned is definitely the
> wrong error message.   This is definitely not a bzr error, so an error
> report on Launchpad is certainly not what is required -- unless it is to
> say this error message is wholly the wrong response :-)
[...]
> Traceback (most recent call last):
[...]
>   File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/smart/protocol.py", line 772, in read_response_tuple
>     raise errors.ErrorFromSmartServer(result)
> ErrorFromSmartServer: Error received from smart server: ('error', 'Permission denied: "/XXXXXXXX/.bzr/branch-format": [Errno 13] Permission denied: u\'XXXXXXXX/.bzr/branch-format\'')

I think getting a large traceback from the client just because the server
doesn't allow an SSH user to access the branch is a bug in the client.  So yes,
please do file a bug in Launchpad saying that the error reporting in this case
should be better.

Thanks for the report.

-Andrew.




More information about the bazaar mailing list