[Bug 966934] Re: [i18n] bzr commands affected working tree crashed with unicode error in non-english locale
André
966934 at bugs.launchpad.net
Wed Feb 10 15:26:56 UTC 2016
Still in 16.04
$ bzr-buildpackage lp:~ubuntu-desktop/nautilus/ubuntu -r 495 -S -v
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Building branch from revision doko at ubuntu.com-20160128200303-ix5o2ejc32c4aht8
bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 82: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 376, in run
(changelog, top_level) = find_changelog(tree, not contains_upstream_source)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/util.py", line 211, in find_changelog
raise UnparseableChangelog(str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 82: ordinal not in range(128)
bzr 2.7.0dev1 on python 2.7.11 (Linux-4.4.0-4-generic-x86_64-with-
Ubuntu-16.04-xenial)
arguments: ['/usr/bin/bzr', 'builddeb', 'lp:~ubuntu-desktop/nautilus/ubuntu',
'-r', '495', '-S', '-v']
plugins: bash_completion[2.7.0dev1], builddeb[2.8.6],
changelog_merge[2.7.0dev1], grep[2.7.0dev1], launchpad[2.7.0dev1],
netrc_credential_store[2.7.0dev1], news_merge[2.7.0dev1],
po_merge[2.7.0dev1], weave_fmt[2.7.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
*** 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.
--
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:
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 Released
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