Unprintable exception PathsNotVersionedError

Bug #898408 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Martin Packman

Bug Description

Trying to commit a non-ascii path that is not versioned such as in bug 714449 has started giving the following error output:

    bzr: ERROR: Unprintable exception PathsNotVersionedError: dict={'paths': ['\xc2\xa3'], '_preformatted_string': None, 'paths_as_string': '"\xc2\xa3"'}, fmt='Path(s) are not versioned: %(paths_as_string)s', error=UnicodeDecodeError('ascii', '"\xc2\xa3"', 1, 2, 'ordinal not in range(128)')

The expected, and previously given output is:

    bzr: ERROR: Path(s) are not versioned: "£"

The regresion bisects to r6123.1.10 (formerly known as r6133) which is the enabling of gettext for errors.

Tags: regression

Related branches

Martin Packman (gz)
tags: added: regression
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Martin Packman (gz)
Changed in bzr:
assignee: nobody → Martin Packman (gz)
status: Confirmed → In Progress
Martin Packman (gz)
Changed in bzr:
milestone: none → 2.5b4
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.