minitage/minitage.core — pull request #3 by bubenkoff (2012-12-28 01:37:35+00:00)
Title: avoid PYTHONPATH problem with python scm like hg or bzr 

minitage.fetchers.scm: Destination /home/vagrant/test/downloads/minitage/eggs/bzr/http.bazaar.launchpad.net.~ubuntu-branches.ubuntu.precise.m2crypto.precise. already exists and is not empty, moving it away in /home/vagrant/test/downloads/minitage/eggs/bzr/http.bazaar.launchpad.net.~ubuntu-branches.ubuntu.precise.m2crypto.precise./http.bazaar.launchpad.net.~ubuntu-branches.ubuntu.precise.m2crypto.precise..old.281212023328 for further user examination
bzr: ERROR: Couldn't import bzrlib and dependencies.
Please check the directory containing bzrlib is on your PYTHONPATH.

Traceback (most recent call last):
File "/usr/bin/bzr", line 74, in
import bzrlib
ImportError: No module named bzrlib
minitage.recipe: Traceback (most recent call last):
File "/home/vagrant/test/eggs/minitage.recipe.egg-1.92-py2.7.egg/minitage/recipe/egg/egg.py", line 186, in callback
ret = f(self, *args, **kwargs)
File "/home/vagrant/test/eggs/minitage.recipe.egg-1.92-py2.7.egg/minitage/recipe/egg/egg.py", line 680, in install_static_distributions
fname = self._download(url=url, cache=True)
File "/home/vagrant/test/eggs/minitage.recipe.common-1.83-py2.7.egg/minitage/recipe/common/common.py", line 897, in _download
scm.fetch_or_update(scm_dest, url, opts, verbose=verbose)
File "/home/vagrant/test/src/minitage.core/src/minitage/core/fetchers/interfaces.py", line 302, in fetch_or_update
self.update(dest, uri, opts, verbose)
File "/home/vagrant/test/src/minitage.core/src/minitage/core/fetchers/interfaces.py", line 209, in update
self.fetch(dest, uri, opts, verbose)
File "/home/vagrant/test/src/minitage.core/src/minitage/core/fetchers/interfaces.py", line 256, in fetch
self.checkout(checkout_dest, uri, opts, verbose)
File "/home/vagrant/test/src/minitage.core/src/minitage/core/fetchers/scm.py", line 240, in checkout
self._scm_cmd('checkout %s %s %s' % (args, uri, dest), verbose)
File "/home/vagrant/test/src/minitage.core/src/minitage/core/fetchers/interfaces.py", line 351, in _scm_cmd
raise FetcherRuntimeError('%s' % e)
FetcherRuntimeError:
----------------------------------------------------------
'bzr checkout -q http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/m2crypto/precise/ /home/vagrant/test/downloads/minitage/eggs/bzr/http.bazaar.launchpad.net.~ubuntu-branches.ubuntu.precise.m2crypto.precise./bazaar-tmp' failed!
Please report all the above backtrace along
with your bug report.
----------------------------------------------------------