from migrate.versioning import exceptions fails with recent venv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brian Schott | ||
Bexar |
Fix Released
|
Medium
|
Jay Pipes |
Bug Description
No virtual environment found...create one? (Y/n)
done.
....
=======
ERROR: <nose.suite.
-------
Traceback (most recent call last):
File "/home/
self.setUp()
File "/home/
self.
File "/home/
try_
File "/home/
return func()
File "/home/
migration.
File "/home/
return IMPL.db_
File "/home/
backend = self.__
File "/home/
self.__backend = __import__(name, None, None, fromlist)
File "/home/
from migrate.versioning import exceptions as versioning_
ImportError: cannot import name exceptions
Related branches
- Jay Pipes (community): Approve
- Todd Willey (community): Needs Fixing
- Devin Carlen (community): Approve
- Vish Ishaya: Pending requested
-
Diff: 38 lines (+12/-1)2 files modifiedAuthors (+1/-0)
nova/db/sqlalchemy/migration.py (+11/-1)
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
Ubuntu 10.4.1
Package: python
Version: 2.6.5-0ubuntu1
Package: python-migrate
Version: 0.6-4~lucid1
Package: python-sqlalchemy lucid1
Version: 0.6.3-1ubuntu0~
migrate/ versioning/ exceptions doesn't exist. island100: ~/source/ nova/trunk/ .nova-venv/ lib/python2. 6/site- packages/ migrate/ versioning$
bschott@
bschott@ island100: ~/source/ nova/trunk/ .nova-venv/ lib/python2. 6/site- packages/ migrate/ versioning$ ls -l repository. py repository. pyc
total 220
-rw-r--r-- 1 bschott bschott 12986 2011-02-11 17:52 api.py
-rw-r--r-- 1 bschott bschott 14694 2011-02-11 17:54 api.pyc
-rw-r--r-- 1 bschott bschott 669 2011-02-11 17:52 cfgparse.py
-rw-r--r-- 1 bschott bschott 1671 2011-02-11 17:54 cfgparse.pyc
-rw-r--r-- 1 bschott bschott 339 2011-02-11 17:52 config.py
-rw-r--r-- 1 bschott bschott 490 2011-02-11 17:54 config.pyc
-rw-r--r-- 1 bschott bschott 9732 2011-02-11 17:52 genmodel.py
-rw-r--r-- 1 bschott bschott 8604 2011-02-11 17:54 genmodel.pyc
-rw-r--r-- 1 bschott bschott 161 2011-02-11 17:52 __init__.py
-rw-r--r-- 1 bschott bschott 365 2011-02-11 17:54 __init__.pyc
-rw-r--r-- 1 bschott bschott 3123 2011-02-11 17:52 migrate_
-rw-r--r-- 1 bschott bschott 3994 2011-02-11 17:54 migrate_
-rw-r--r-- 1 bschott bschott 2059 2011-02-11 17:52 pathed.py
-rw-r--r-- 1 bschott bschott 3645 2011-02-11 17:54 pathed.pyc
-rw-r--r-- 1 bschott bschott 7399 2011-02-11 17:52 repository.py
-rw-r--r-- 1 bschott bschott 10801 2011-02-11 17:54 repository.pyc
-rw-r--r-- 1 bschott bschott 8655 2011-02-11 17:52 schemadiff.py
-rw-r--r-- 1 bschott bschott 8956 2011-02-11 17:54 schemadiff.pyc
-rw-r--r-- 1 bschott bschott 7337 2011-02-11 17:52 schema.py
-rw-r--r-- 1 bschott bschott 8497 2011-02-11 17:54 schema.pyc
drwxr-xr-x 2 bschott bschott 4096 2011-02-11 17:54 script
-rw-r--r-- 1 bschott bschott 6460 2011-02-11 17:52 shell.py
-rw-r--r-- 1 bschott bschott 6678 2011-02-11 17:54 shell.pyc
-rw-r--r-- 1 bschott bschott 2905 2011-02-11 17:52 template.py
-rw-r--r-- 1 bschott bschott 5642 2011-02-11 17:54 template.pyc
drwxr-xr-x 6 bschott bschott 4096 2011-02-11 17:54 templates
drwxr-xr-x 2 bschott bschott 4096 2011-02-11 17:54 util
-rw-r--r-- 1 bschott bschott 6615 2011-02-11 17:52 version.py
-rw-r--r-- 1 bschott bschott 10180 2011-02-11 17:54 version.pyc