Ubuntu/scrot/src$ bzr builddeb -- -S -us -uc
Building using working tree
Building package in normal mode
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 54: 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 449, in run
builder.export()
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/builder.py", line 77, in export
self.distiller.distill(self.target_dir)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 79, in distill
self._distill(target)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 107, in _distill
export(self.tree, target)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/util.py", line 603, in export
filtered=filtered, per_file_timestamps=True)
File "/usr/lib/python2.7/dist-packages/bzrlib/export/__init__.py", line 175, in export
per_file_timestamps, fileobj):
File "/usr/lib/python2.7/dist-packages/bzrlib/export/__init__.py", line 128, in get_export_generator
trace.mutter('export version %r', tree)
File "/usr/lib/python2.7/dist-packages/bzrlib/trace.py", line 155, in mutter
out = fmt % tuple(real_args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 54: ordinal not in range(128)
Also seeing this in an up-to-date Saucy. Switching locale to en or C doesn't helps.
Ubuntu/scrot/src$ bzr --version 11.0-19- generic- x86_64- with-Ubuntu- 13.10-saucy
Bazaar (bzr) 2.6.0
Python interpreter: /usr/bin/python 2.7.5
Python standard library: /usr/lib/python2.7
Platform: Linux-3.
Ubuntu/scrot/src$ bzr builddeb -- -S -us -uc UnicodeEncodeEr ror: 'ascii' codec can't encode character u'\xf3' in position 54: ordinal not in range(128)
Building using working tree
Building package in normal mode
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 7/dist- packages/ bzrlib/ commands. py", line 930, in exception_ to_return_ code python2. 7/dist- packages/ bzrlib/ commands. py", line 1121, in run_bzr python2. 7/dist- packages/ bzrlib/ commands. py", line 673, in run_argv_aliases **all_cmd_ args) python2. 7/dist- packages/ bzrlib/ commands. py", line 697, in run .run_simple( *args, **kwargs) python2. 7/dist- packages/ bzrlib/ cleanup. py", line 136, in run_simple python2. 7/dist- packages/ bzrlib/ cleanup. py", line 166, in _do_with_cleanups python2. 7/dist- packages/ bzrlib/ plugins/ builddeb/ cmds.py" , line 449, in run export( ) python2. 7/dist- packages/ bzrlib/ plugins/ builddeb/ builder. py", line 77, in export distiller. distill( self.target_ dir) python2. 7/dist- packages/ bzrlib/ plugins/ builddeb/ source_ distiller. py", line 79, in distill _distill( target) python2. 7/dist- packages/ bzrlib/ plugins/ builddeb/ source_ distiller. py", line 107, in _distill self.tree, target) python2. 7/dist- packages/ bzrlib/ plugins/ builddeb/ util.py" , line 603, in export filtered, per_file_ timestamps= True) python2. 7/dist- packages/ bzrlib/ export/ __init_ _.py", line 175, in export file_timestamps , fileobj): python2. 7/dist- packages/ bzrlib/ export/ __init_ _.py", line 128, in get_export_ generator mutter( 'export version %r', tree) python2. 7/dist- packages/ bzrlib/ trace.py" , line 155, in mutter
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
builder.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
export(
File "/usr/lib/
filtered=
File "/usr/lib/
per_
File "/usr/lib/
trace.
File "/usr/lib/
out = fmt % tuple(real_args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 54: ordinal not in range(128)
Ubuntu/scrot/src$ locale "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" "en_GB. utf-8" ON="en_ GB.utf- 8"
LANG=en_GB.utf-8
LANGUAGE=en_GB:en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=