bzr.dev version of bzr selftest fails to find user encoding

Bug #452472 reported by Jared Hance
This bug report is a duplicate of:  Bug #434998: There is no bzrlib.user_encoding. Edit Remove
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
bzr-xmloutput
New
Undecided
Unassigned

Bug Description

When attempting to selftest the current bzr.dev:

bzr: ERROR: exceptions.ImportError: cannot import name user_encoding

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/family/.cache/crash/bzr-20091015194017-7622.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

I checked NEWS and found:

* ``bzrlib.user_encoding`` has been removed; use
  ``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)

The error seems to be coming from selftest attempting to use bzrlib.user_encoding rather than bzrlib.osutils.get_user_encoding

Revision history for this message
Jared Hance (mathepic) wrote :

I just checked the trace, it seems that it is actually caused by xmloutput.

Changed in bzr:
status: New → Invalid
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Hi Jared,
Thanks for reporting this problem.

What version of xmloutput do you have installed?
tip: bzr plugins

Thanks!

Revision history for this message
Jared Hance (mathepic) wrote :

I didn't actually need xmloutput (I had used it before, but no longer have a use), so I have already deleted it.

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.