Scandic letters disrupt Bazaar's FastExport
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I am based on Scandinavia and therefore constantly need to use the Scandic letters 'ä' and 'ö' in my writing and in naming files. This seems to cause a codec incompatibility when attempting to export the Bazaar database with "bzr fast-export --no-plain . > fast-export.db". This command fails with the following error message:
23:21:57 Calculating the revisions to include ...
23:21:57 Starting export of 197 revisions ...
bzr: ERROR: exceptions.
Traceback (most recent call last):
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/
return exporter.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self.__bytes__()
File "/usr/lib/
return self.to_
File "/usr/lib/
for c in self.iter_files()])
File "/usr/lib/
return repr(obj)
File "/usr/lib/
return self.__bytes__()
File "/usr/lib/
return self.to_
File "/usr/lib/
[b'M', self._format_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)
bzr 2.7.0 on python 2.7.16 (Linux-
arguments: ['/usr/bin/bzr', 'fast-export', '--no-plain', '.']
plugins: bash_completion
fastimport[
netrc_
weave_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'fi_FI.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:/
including this traceback and a description of the problem.
Changed in brz: | |
status: | New → Fix Released |
importance: | Undecided → Medium |