[Bug 966934] Re: [i18n] bzr commands affected working tree crashed with unicode error in non-english locale

Andrew Starr-Bochicchio a.starr.b at gmail.com
Mon Jun 25 16:44:01 UTC 2012


Hi all,

This is the last bug in the proposed bzr SRU to precise that hasn't had
the fix verified. Could someone experiencing this confirm that the
version in precise-proposed resolves this issue on Ubuntu for them? Or
someone provide instructions to reproduce this?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/966934

Title:
  [i18n] bzr commands affected working tree  crashed with unicode error
  in non-english locale

Status in Bazaar Version Control System:
  Fix Released
Status in Bazaar 2.5 series:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Precise:
  Fix Committed

Bug description:
  bzr 2.5.0-2 standalone with localization enabled, ru locale. Trying to
  pull latest changes from lp:qbzr got the following traceback:

  
  Wed 2012-03-28 11:34:20 +0300
  0.547  bazaar version: 2.5.0
  0.547  bzr arguments: [u'pull']
  0.562  looking for plugins in C:\work\Bazaar\plugins
  0.750  looking for plugins in C:/Program Files/Bazaar/plugins
  0.765  Plugin name colo already loaded
  0.781  Plugin name explorer already loaded
  0.797  Plugin name qbzr already loaded
  1.093  encoding stdout as sys.stdout encoding 'cp866'
  1.468  opening working tree 'C:/work/Bazaar/plugins/qbzr'
  3.328  falling back to default implementation
  3.328  failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\modul98/.ssh/known_hosts'
  [ 3972] 2012-03-28 11:34:24.500 INFO: Connected (version 2.0, client Twisted)
  4.547  Trying SSH agent key 69DE0146E3CD769AE60602F7192D0EB5
  [ 3972] 2012-03-28 11:34:25.765 INFO: Authentication (publickey) successful!
  [ 3972] 2012-03-28 11:34:25.953 INFO: Secsh channel 1 opened.
  11.312  Using fetch logic to copy between RemoteRepository(bzr+ssh://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk2a/.bzr/)(RemoteRepositoryFormat(_network_name='Bazaar repository format 2a (needs bzr 1.16 or later)\n')) and CHKInventoryRepository('file:///C:/work/Bazaar/plugins/qbzr/.bzr/branches/.bzr/repository/')(RepositoryFormat2a())
  11.312  fetching: <SearchResult search:(set(['iwata0303 at gmail.com-20120327204836-erba96kr378d8yeb']), ['iwata0303 at gmail.com-20120221130318-hhchdisrer1bao3b', 'bialix at ukr.net-20120227110113-r76b7nqh19omt1in', 'iwata0303 at gmail.com-20120227204337-hsdbx1e81un7jnb7', 'bialix at ukr.net-20120229141315-jdrsf28wo0ue4k39', 'bialix at ukr.net-20120229140020-e7kkbf5zrh2tsib7', ...], 13)>
  14.640  tiplog: recorded pull on iwata0303 at gmail.com-20120327204836-erba96kr378d8yeb
  [ 3972] 2012-03-28 11:34:36.765 INFO:  M  NEWS.txt
  [ 3972] 2012-03-28 11:34:36.765 INFO:  M  lib/conflicts.py
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  lib/subprocess.py
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  lib/widgets/shelve.py
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-ar.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-cs.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-da.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-de.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-en.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-en_GB.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-es.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-et.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-fr.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-gl.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-he.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-hu.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-it.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-ja.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-nl.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-pl.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-pt_BR.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-ru.po
  [ 3972] 2012-03-28 11:34:36.780 INFO:  M  po/qbzr-sk.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-sl.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-sr.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-sv.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-th.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-tr.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr-uk.po
  [ 3972] 2012-03-28 11:34:36.796 INFO:  M  po/qbzr.pot
  16.297  Transferred: 314kB (29.1kB/s r:311kB w:3kB)
  16.297  Traceback (most recent call last):
    File "bzrlib\commands.pyo", line 920, in exception_to_return_code
    File "bzrlib\commands.pyo", line 1131, in run_bzr
    File "bzrlib\commands.pyo", line 673, in run_argv_aliases
    File "bzrlib\commands.pyo", line 695, in run
    File "bzrlib\cleanup.pyo", line 136, in run_simple
    File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
    File "bzrlib\builtins.pyo", line 1221, in run
    File "bzrlib\decorators.pyo", line 218, in write_locked
    File "bzrlib\workingtree.pyo", line 1008, in pull
    File "bzrlib\merge.pyo", line 2021, in merge_inner
    File "bzrlib\merge.pyo", line 686, in do_merge
    File "bzrlib\cleanup.pyo", line 136, in run_simple
    File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
    File "bzrlib\merge.pyo", line 654, in _do_merge_to
    File "bzrlib\merge.pyo", line 802, in do_merge
    File "bzrlib\cleanup.pyo", line 132, in run
    File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
    File "bzrlib\merge.pyo", line 808, in _do_merge
    File "bzrlib\transform.pyo", line 1734, in apply
    File "bzrlib\progress.pyo", line 116, in update
    File "bzrlib\ui\text.pyo", line 374, in _progress_updated
    File "bzrlib\ui\text.pyo", line 554, in show_progress
    File "bzrlib\ui\text.pyo", line 536, in _repaint
    File "bzrlib\ui\text.pyo", line 440, in _show_line
  UnicodeEncodeError: 'ascii' codec can't encode characters in position 22-30: ordinal not in range(128)

  Although pull into treeless branch works without problems:

  C:\work\Bazaar\plugins\qbzr>bzr pull -d colo:0.22
  Используется сохранённое местоположение родителя: bzr+ssh://bazaar.launchpad.net/%2Bbranch/qbzr/0.22/
  Connected (version 2.0, client Twisted)
  Authentication (publickey) successful!
  Secsh channel 1 opened.
  Now on revision 1470.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/966934/+subscriptions




More information about the foundations-bugs mailing list