Assertion error in get_inventory_xml
Chris Seaton
chris at chrisseaton.com
Sun Feb 26 22:07:25 GMT 2006
Hello,
I was having trouble pushing my branch earlier, but I used SFTP to
copy it by hand and now I'm trying to branch it over HTTP but I get
the error
bzr: ERROR: exceptions.AssertionError: <type 'NoneType'>
at /usr/local/lib/python2.4/site-packages/bzrlib/branch.py line 952
in get_inventory_xml
Is bzr ready for real use yet? Am being too optimistic in expecting
to be able to get it running at the moment? I know it's only a 0.x
release.
Chris Seaton
My log is
bzr 0.7 invoked on python 2.4.2.final.0 (darwin)
arguments: ['/usr/local/bin/bzr', 'branch', 'http://
chrisseaton.skylis.net/projects/clifton/bzr', 'Test']
working dir: u'/Users/chrisseaton/Projects'
looking for plugins in /usr/local/lib/python2.4/site-packages/bzrlib/
plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
looking for plugins in /Users/chrisseaton/.bazaar/plugins
WARNING: using slower ElementTree; consider installing cElementTree
and make sure it's on your PYTHONPATH
trying to open u'http://chrisseaton.skylis.net/projects/clifton/bzr'
with transport <bzrlib.transport.http.HttpTransport object at 0x65bc30>
get_url http://chrisseaton.skylis.net/projects/clifton/bzr/.bzr/
branch-format
got branch format u'Bazaar-NG branch, format 6\n'
created control directory in /Users/chrisseaton/Projects/Test
got branch format u'Bazaar-NG branch, format 6\n'
copy branch from BzrBranch(u'http://chrisseaton.skylis.net/projects/
clifton/bzr') to BzrBranch(u'/Users/chrisseaton/Projects/Test')
failed to open /Users/chrisseaton/Projects/Test/.bzr/stat-cache:
[Errno 2] No such file or directory: u'/Users/chrisseaton/Projects/
Test/.bzr/stat-cache'
write hc
get_url http://chrisseaton.skylis.net/projects/clifton/bzr/.bzr/
revision-history
[ 356] Sun 22:03:26.219 ERROR: exceptions.AssertionError: <type
'NoneType'>
at /usr/local/lib/python2.4/site-packages/bzrlib/branch.py line 952
in get_inventory_xml
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py",
line 572, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py",
line 534, in run_bzr
ret = cmd_obj.run_argv(argv)
File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py",
line 233, in run_argv
return self.run(**all_cmd_args)
File "/usr/local/lib/python2.4/site-packages/bzrlib/builtins.py",
line 594, in run
copy_branch(br_from, to_location, revision_id, basis_branch)
File "/usr/local/lib/python2.4/site-packages/bzrlib/clone.py",
line 84, in copy_branch
basis_branch)
File "/usr/local/lib/python2.4/site-packages/bzrlib/clone.py",
line 155, in copy_branch_slower
br_to.working_tree().set_root_id(branch_from.get_root_id())
File "/usr/local/lib/python2.4/site-packages/bzrlib/branch.py",
line 78, in decorated
return unbound(self, *args, **kwargs)
File "/usr/local/lib/python2.4/site-packages/bzrlib/branch.py",
line 848, in get_root_id
inv = self.get_inventory(self.last_revision())
File "/usr/local/lib/python2.4/site-packages/bzrlib/branch.py",
line 946, in get_inventory
xml = self.get_inventory_xml(revision_id)
File "/usr/local/lib/python2.4/site-packages/bzrlib/branch.py",
line 952, in get_inventory_xml
assert isinstance(revision_id, basestring), type(revision_id)
AssertionError: <type 'NoneType'>
return code 3
More information about the bazaar
mailing list