Commit in checkout crashes with KeyError: <type 'NoneType'>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
I created a local svn repository to experiment and added some revisions using svn. I then created a checkout of the only directory in the repository. Every time I try to commit to the checkout I get a crash. Note that the revision is actually commited to the svn repository. Also note that after the crash I need to "bzr up" to get my checkout up-to-date.
The crash can be seen both in bzr 1.17 + bzr-svn 0.6.5 and bzr 2.0rc2 + bzr-svn 1.0rc1. Below are the tracebacks for both combinations:
=======
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/
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/
self.
File "/usr/lib/
overwrite=
File "/usr/lib/
override_
File "/usr/lib/
revid = builder.
File "/usr/lib/
return unbound(*args, **kwargs)
File "/usr/lib/
logcache.
File "/usr/lib/
self.
File "_bencode_pyx.pyx", line 391, in bzrlib.
File "_bencode_pyx.pyx", line 375, in bzrlib.
File "_bencode_pyx.pyx", line 339, in bzrlib.
File "_bencode_pyx.pyx", line 377, in bzrlib.
File "_bencode_pyx.pyx", line 357, in bzrlib.
File "_bencode_pyx.pyx", line 383, in bzrlib.
TypeError: unsupported type None
bzr 1.17 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'commit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
diffstat /home/alf/
gtk /usr/lib/
launchpad /usr/lib/
loom /usr/lib/
netrc_
rebase /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred
=======
bzr: ERROR: exceptions.
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/
exclude=
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
result = WorkingTree3.
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
*args, **kwargs)
File "/home/
self.
File "/home/
self.
File "/home/
overwrite=
File "/home/
override_
File "/home/
revid = builder.
File "/home/
return unbound(*args, **kwargs)
File "/home/
logcache.
File "/home/
self.
File "/home/
encode_
File "/home/
encode_
File "/home/
encode_
KeyError: <type 'NoneType'>
bzr 2.0rc2 on python 2.5.4 (Linux-
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /home/alf/
netrc_
rebase /home/alf/
svn /home/alf/
*** 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.
I also tried this using a branch instead of a checkout and I get the same crash when using either "push" or "dpush".