assert failure traceback

Tracy Camp campt at openmars.com
Thu Feb 1 06:19:57 GMT 2007



On Thu, 1 Feb 2007, Martin Pool wrote:

> On 31 Jan 2007, Tracy Camp <campt at openmars.com> wrote:
>>
>> Merging from remembered location
>> http://bzr.freestandards.org/lsb/devel/desktop-test/
>> bzr: ERROR: exceptions.AssertionError:
>
> Hi Tracy
>
> Could you tell us a bit more about what you were trying to merge when
> this error occurred?  Is the destination tree available somewhere?

Not publically no.  If you really want, I can probably provide access to a 
copy, but not the actual system this error came from (firewall etc.).

The history is that this tree originated using a LSB generated 0.12 
version, and due to a change in LSB builds I started using 0.13 and 0.12 
concurrently on this tree. (I was behind a proxy and 0.13 didn't seem to 
honor HTTP_PROXY, but 0.12 did, but I needed a feature of 0.13 to do some 
local packaing work).  I then bulk copied the tree to where it is now (no 
proxy) and started using 0.14 and ran into this problem when trying to 
merge with the main LSB branch.  I had a couple of other trees that merged 
no problem, but I can't recall if I used 0.13 and 0.12 in them 
concurrently.  I also switched from SLED10 to FC6 when I moved the tree in 
case anybody cares about that...

This is also 100% repoducable at the moment...

t.

>
>>
>> Traceback (most recent call last):
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/commands.py",
>> line 650, in run_bzr_catch_errors
>>     return run_bzr(argv)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/commands.py",
>> line 612, in run_bzr
>>     ret = run(*run_argv)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/commands.py",
>> line 304, in run_argv_aliases
>>     return self.run(**all_cmd_args)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/builtins.py",
>> line 2339, in run
>>     pb=pb, file_list=interesting_files)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/builtins.py",
>> line 3046, in _merge_helper
>>     merger.check_basis(check_clean)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/merge.py", line
>> 146, in check_basis
>>     self.compare_basis()
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/merge.py", line
>> 151, in compare_basis
>>     changes = self.this_tree.changes_from(self.this_tree.basis_tree())
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/tree.py", line
>> 87, in changes_from
>>     include_root=include_root
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/decorators.py",
>> line 38, in read_locked
>>     return unbound(self, *args, **kwargs)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/tree.py", line
>> 460, in compare
>>     specific_file_ids, include_root)
>>   File "/opt/lsb/appbat/lib/python2.4/site-packages/bzrlib/delta.py", line
>> 187, in _compare_trees
>>     assert kind[0] == kind[1] or None in kind
>> AssertionError
>>
>> bzr 0.14.0 on python 2.4.3.final.0 (linux2)
>> arguments: ['/opt/lsb/appbat/bin/bzr', 'merge']
>>
> -- 
> Martin
>



More information about the bazaar mailing list