TypeError: utf_8_encode() argument 1 must be str, not bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce the bug:
$ mkdir test
$ cd test
$ brz init --bzr
Created a standalone tree (format: 2a)
$ brz pull https:/
Fetching from Git to Bazaar repository. For better performance, fetch into a Git repository.
Total 85760 (delta 0), reused 2 (delta 0), pack-reused 85756
brz: ERROR: TypeError: utf_8_encode() argument 1 must be str, not bytes
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return class_run(*args, **kwargs)
File "/home/
result = tree_to.pull(
File "/home/
count = self.branch.
File "/home/
return InterBranch.
File "/home/
return self._basic_
File "/home/
result.
File "/home/
head, refs = self.fetch_
File "/home/
pack_hint, head, refs = interrepo.
File "/home/
(pack_hint, last_rev) = import_git_objects(
File "/home/
import_
File "/home/
repo.
File "/home/
self.
File "/home/
lines = self._serialize
File "/home/
return self.write_
File "/home/
revprops[
TypeError: utf_8_encode() argument 1 must be str, not bytes
brz 3.2.0dev on python 3.8.2 (Linux-
arguments: ['/home/
'https:/
plugins: bash_completion
commitfromn
fastimport[
launchpad[
news_
quilt[unknown], repodebug[
svn[3.2.0dev], upload[3.2.0dev], weave_fmt[
zsh_
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.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.
Related branches
- Jelmer Vernooij: Approve
-
Diff: 55 lines (+13/-7)1 file modifiedbreezy/git/mapping.py (+13/-7)
Changed in brz: | |
status: | Triaged → Fix Committed |
milestone: | none → 3.2.1 |
Changed in brz: | |
status: | Fix Committed → Fix Released |
Reproduced in trunk.