TypeError: Expected a plain str for value not: <type 'unicode'> in bzrlib._btree_serializer_pyx._flatten_node during commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr search plugin |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I was working through the user guide and was on the section "Personal version control". I had used the "Starting a new project" section with bzr init-repo.
I had got as far as the "Undoing mistakes" with no problems. But once I attempted the commit in this section:
bzr add TODO
bzr commit -m "added TODO"
(hack, hack, hack - but don't change TODO)
bzr remove TODO
(TODO file deleted)
I got the error when using this command: bzr commit -m "added a file"
For my testing I had been using slightly different names and the text changes I made.
After getting the error I could just "bzr update" and the branch seems to contain the commit with no other problems. Then I created a new branch my.main2 and tested and this one works fine. But the first one: my.main still causes the error.
attached are all the crash reports I got while testing it and the section of my log file from today.
I have only just started learning Bazaar so sorry if I have missed something. I had a search around and could not find any other references of this problem.
---
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/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
hook(params)
File "/usr/lib/
search_
File "/usr/lib/
self.
File "/usr/lib/
outer_bar)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
"documents", writer)
File "/usr/lib/
index_file = index.finish()
File "/usr/lib/
return self._write_
File "/usr/lib/
self.
File "_btree_
TypeError: Expected a plain str for value not: <type 'unicode'>
This seems to be a bug in the bzr-search plugin. If you uninstall it you should be able to continue.