bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'user_encoding'

Bug #553157 reported by NaohiroKashimoto
This bug report is a duplicate of:  Bug #434998: There is no bzrlib.user_encoding. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-xmloutput
New
Undecided
Unassigned

Bug Description

Using Eclipse,creating repository is failed.
Check following log,Please.
----------------------------------------------------------------------------------------------------
【Eclipse Version】

Eclipse for PHP Developers
Build id: 20100218-1602
----------------------------------------------------------------------------------------------------
【Eclipse Console Log】

    bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'user_encoding'

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\commands.pyo", line 1070, in ignore_pipe
  File "C:\Documents and Settings\bitcash\Application Data\bazaar\2.0\plugins\xmloutput\xml_errors.py", line 64, in xml_error_handling
  File "C:\Documents and Settings\bitcash\Application Data\bazaar\2.0\plugins\xmloutput\xml_errors.py", line 53, in report_exception
  File "C:\Documents and Settings\bitcash\Application Data\bazaar\2.0\plugins\xmloutput\xml_errors.py", line 21, in __str__
  File "bzrlib\lazy_import.pyo", line 109, in __getattribute__
AttributeError: 'module' object has no attribute 'user_encoding'

bzr 2.1.1 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'xmlls', '--versioned', 'C:\\Documents and Settings\\bitcash\\workspace\\GT_1']
encoding: 'cp932', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.1.0]
  explorer C:\Program Files\Bazaar\plugins\explorer [1.0.1]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.1.1]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.1.1]
  news_merge C:\Program Files\Bazaar\plugins\news_merge [2.1.1]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.18.4]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.5]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.2]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Documents and Settings\bitcash\Application Data\bazaar\2.0\plugins\xmloutput [0.8.4]
----------------------------------------------------------------------------------------------------

Jelmer Vernooij (jelmer)
affects: bzr → bzr-xmloutput
Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

Could you update the xmloutput plugin to 0.8.6 or newer and try again please? This should fix the problem.

Revision history for this message
NaohiroKashimoto (naohiro-kashimoto) wrote :

OK.
I try it.Thank you!

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 553157] Re: bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'user_encoding'

xml-output should be updated to use bzrlib.osutils.get_user_encoding
with later bzrlibs.

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.