TypeError on all commands that get progress report from subprocess
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
QBzr |
Fix Released
|
Critical
|
Martin Packman |
Bug Description
In bzr2.5b2 (Installed by bzr2.5b2-
To reproduce:
bzr init test
echo foo>foo
bzr add
bzr qcommit -m test
and clicking OK in the qcommit dialog
Then, it fails with following traceback.
--
Run command: bzr commit -m test foo
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "_bencode_pyx.pyx", line 399, in bzrlib.
File "_bencode_pyx.pyx", line 383, in bzrlib.
File "_bencode_pyx.pyx", line 346, in bzrlib.
File "_bencode_pyx.pyx", line 383, in bzrlib.
File "_bencode_pyx.pyx", line 346, in bzrlib.
File "_bencode_pyx.pyx", line 391, in bzrlib.
TypeError: unsupported type u'Collecting changes [0] - Stage'
bzr 2.5b2 on python 2.6.6 (Windows-
arguments: ['C:\\Program Files\\
'l6:
plugins: bzrtools[2.4.1], colo[0.3.1dev], explorer[1.2.1], launchpad[2.5b2],
loom[2.2.1dev], pipeline[1.1.0], qbzr[0.21.1], rewrite[0.6.3dev],
svn[1.1.0], xmloutput[0.8.7]
encoding: 'cp932', fsenc: 'mbcs', lang: 'ja'
*** 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:/
including this traceback and a description of the problem.
Related branches
- QBzr Developers: Pending requested
-
Diff: 173 lines (+93/-10)3 files modifiedNEWS.txt (+2/-0)
lib/subprocess.py (+9/-10)
lib/tests/test_subprocess.py (+82/-0)
Changed in qbzr: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
summary: |
- qcommit does not work + TypeError on all commands that get progress report from subprocess |
Changed in qbzr: | |
status: | In Progress → Fix Released |
Changed in qbzr: | |
milestone: | none → 0.22.0 |
tags: | added: bencode |
This maybe a problem of bzr itself comes from i18n support.
Primary reason is that bencode does not support unicode.