% bzr --version
Bazaar (bzr) 2.0rc2
Python interpreter: /usr/bin/python 2.6.2
Python standard library: /usr/lib/python2.6
Platform: Linux-2.6.31-10-generic-x86_64-with-Ubuntu-9.10-karmic
bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
Bazaar configuration: /home/barry/.bazaar
Bazaar log file: /home/barry/.bzr.log
In Mailman 3.0 trunk, 'bin/buildout' gives me:
Develop: '/home/barry/projects/mailman/3.0/.'
Traceback (most recent call last):
File "/tmp/tmprvbQlE", line 11, in <module>
execfile('/home/barry/projects/mailman/3.0/./setup.py')
File "/home/barry/projects/mailman/3.0/./setup.py", line 107, in <module>
docs=['Sphinx', 'z3c.recipe.sphinxdoc'],
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib/python2.6/dist-packages/setuptools/command/develop.py", line 27, in run
self.install_for_development()
File "/usr/lib/python2.6/dist-packages/setuptools/command/develop.py", line 85, in install_for_development
self.run_command('egg_info')
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib/python2.6/dist-packages/setuptools/command/egg_info.py", line 177, in run
self.find_sources()
File "/usr/lib/python2.6/dist-packages/setuptools/command/egg_info.py", line 252, in find_sources
mm.run()
File "/usr/lib/python2.6/dist-packages/setuptools/command/egg_info.py", line 306, in run
self.add_defaults()
File "/usr/lib/python2.6/dist-packages/setuptools/command/egg_info.py", line 333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.6/dist-packages/setuptools/command/sdist.py", line 45, in walk_revctrl
for item in ep.load()(dirname):
File "/home/barry/projects/mailman/3.0/setuptools_bzr-1.2-py2.6.egg/setuptools_bzr/__init__.py", line 90, in find_files_for_bzr
File "/home/barry/projects/mailman/3.0/setuptools_bzr-1.2-py2.6.egg/setuptools_bzr/__init__.py", line 62, in bzrlib_find_files_for_bzr
File "/home/barry/projects/mailman/3.0/setuptools_bzr-1.2-py2.6.egg/setuptools_bzr/__init__.py", line 50, in bzrlib_get_children
File "/usr/lib/python2.6/dist-packages/bzrlib/inventory.py", line 1883, in __getitem__
self.id_to_entry.iteritems([(file_id,)]).next()[1])
File "/usr/lib/python2.6/dist-packages/bzrlib/chk_map.py", line 484, in iteritems
self._ensure_root()
File "/usr/lib/python2.6/dist-packages/bzrlib/chk_map.py", line 138, in _ensure_root
self._root_node = self._get_node(self._root_node)
File "/usr/lib/python2.6/dist-packages/bzrlib/chk_map.py", line 151, in _get_node
bytes = self._read_bytes(node)
File "/usr/lib/python2.6/dist-packages/bzrlib/chk_map.py", line 162, in _read_bytes
bytes = stream.next().get_bytes_as('fulltext')
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1423, in get_record_stream
orig_keys, ordering, include_delta_closure):
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1528, in _get_remaining_record_stream
locations = self._index.get_build_details(keys)
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 2002, in get_build_details
self._check_read()
File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1922, in _check_read
raise errors.ObjectNotLocked(self)
bzrlib.errors.ObjectNotLocked: <bzrlib.groupcompress._GCGraphIndex object at 0x369de10> is not locked
While:
Installing.
Processing develop directory '/home/barry/projects/mailman/3.0/.'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/barry/projects/mailman/3.0/eggs/zc.buildout-1.4.1-py2.6.egg/zc/buildout/buildout.py", line 1659, in main
getattr(buildout, command)(args)
File "/home/barry/projects/mailman/3.0/eggs/zc.buildout-1.4.1-py2.6.egg/zc/buildout/buildout.py", line 394, in install
installed_develop_eggs = self._develop()
File "/home/barry/projects/mailman/3.0/eggs/zc.buildout-1.4.1-py2.6.egg/zc/buildout/buildout.py", line 634, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/home/barry/projects/mailman/3.0/eggs/zc.buildout-1.4.1-py2.6.egg/zc/buildout/easy_install.py", line 895, in develop
*args) == 0
AssertionError
I was getting the same zc.buildout easy_install assertion error trying to create an instance in BlueBream 1.0a2.
I figured out it was caused by me specifying a namespace that had no code (e.g., foo.com) in the paster command. Letting paster use the default namespace (same as instance name) fixed the error.