explorer revno.405 cant start because of unicode error

Bug #517036 reported by Alexander Belchenko
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Critical
Ian Clatworthy

Bug Description

C:\work\Bazaar\plugins\explorer>bzr explore
bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-17: ordinal not in range(128)

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 "C:\work\Bazaar\plugins\explorer\lib\commands.py", line 137, in run
  File "C:\work\Bazaar\plugins\explorer\lib\explorer.py", line 162, in __init__
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 149, in __init__
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 218, in reset
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 304, in __init__
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 325, in _create_missing_content
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 340, in _create_content_if_missing
  File "C:\work\Bazaar\plugins\explorer\lib\extensions\accessories.py", line 347, in _write_content
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-17: ordinal not in range(128)

bzr 2.1.0rc1 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'explore']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
  acad C:\work\Bazaar\plugins\acad [0.8.0]
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.1.0b1]
  colo C:\work\Bazaar\plugins\colo [0.0.2dev]
  explorer C:\work\Bazaar\plugins\explorer [1.0.0dev]
  fastimport C:\work\Bazaar\plugins\fastimport [0.9.0dev]
  format1 C:\work\Bazaar\plugins\format1 [unknown]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.1.0rc1]
  qbzr C:\work\Bazaar\plugins\qbzr [0.18.0]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.5]
  scmproj C:\work\Bazaar\plugins\scmproj [0.5.2dev]
  svn C:\work\Bazaar\plugins\svn [1.0.2dev]
  upload C:\work\Bazaar\plugins\upload [1.0.0dev]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]

*** 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
    including this traceback and a description of the problem.

C:\work\Bazaar\plugins\explorer>bzr revno
405

Related branches

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

rev 409 has some more robust code for writing initial content to one's explorer directory. I'm guess localisation of "My" is causing the XML to have non-ascii content?

Changed in bzr-explorer:
milestone: none → 1.0.0beta
status: Confirmed → 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.