internal error string argument expaced got bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Triaged
|
High
|
Unassigned |
Bug Description
brz: ERROR: TypeError: string argument expected, got 'bytes'
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 class_run(*args, **kwargs)
File "/usr/lib/
tree.commit(
File "/usr/lib/
result = WorkingTree.
File "/usr/lib/
committed_id = commit.
File "/usr/lib/
self._process_
File "/usr/lib/
self._process_
File "/usr/lib/
hook(hook_local, hook_master, old_revno, old_revid, new_revno,
File "/usr/lib/
emailer.
File "/usr/lib/
self.send()
File "/usr/lib/
self._send_
File "/usr/lib/
diff = self.get_diff()
File "/usr/lib/
show_diff_
File "/usr/lib/
return differ.
File "/usr/lib/
return self._show_
File "/usr/lib/
self.to_
TypeError: string argument expected, got 'bytes'
brz 3.1.0 on python 3.9.1 (Linux-
arguments: ['/usr/bin/bzr', 'commit', '.', '-m', 'update parted to 3.4']
plugins: bash_completion
commitfromnews[
fastimport[3.1.0], flake8[unknown], fossil[3.1.0], github[3.1.0],
gitlab[3.1.0], hg[3.1.0], launchpad[3.1.0], mtn[3.1.0],
netrc_credentia
propose[3.1.0], quilt[unknown], repodebug[3.1.0], rewrite[unknown],
stats[3.1.0], svn[3.1.0], upload[3.1.0], weave_fmt[3.1.0],
zsh_completion[
encoding: 'ascii', fsenc: 'utf-8', lang: 'C'
*** 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.
make: *** [../../
This looks like a bug in brz-email - it should be passing in BytesIO but is passing in StringIO.