A simple way to reproduce this:
1. Use a particular locale, like Catalan: export LANG=ca_ES.UTF-8;
2. Run: mkdir cinc; cd cinc; bzr init .; chmod 000 .bzr; bzr log;
You get:
bzr: ERROR: Unprintable exception PermissionDenied: dict={'path': u'/n/cinc/.bzr/branch-format', '_preformatted_string': None, 'extra': ": [Errno 13] S\xe2\x80\x99ha denegat el perm\xc3\xads: u'/n/cinc/.bzr/branch-format'"}, fmt='Permission denied: "%(path)s"%(extra)s', error=UnicodeDecodeError('ascii', ": [Errno 13] S\xe2\x80\x99ha denegat el perm\xc3\xads: u'/n/cinc/.bzr/branch-format'", 14, 15, 'ordinal not in range(128)')
A simple way to reproduce this:
1. Use a particular locale, like Catalan: export LANG=ca_ES.UTF-8;
2. Run: mkdir cinc; cd cinc; bzr init .; chmod 000 .bzr; bzr log;
You get: .bzr/branch- format' , '_preformatted_ string' : None, 'extra': ": [Errno 13] S\xe2\x80\x99ha denegat el perm\xc3\xads: u'/n/cinc/ .bzr/branch- format' "}, fmt='Permission denied: "%(path) s"%(extra) s', error=UnicodeDe codeError( 'ascii' , ": [Errno 13] S\xe2\x80\x99ha denegat el perm\xc3\xads: u'/n/cinc/ .bzr/branch- format' ", 14, 15, 'ordinal not in range(128)')
bzr: ERROR: Unprintable exception PermissionDenied: dict={'path': u'/n/cinc/
The error message was: S’ha denegat el permís