Peter Cock wrote: > On Tue, Mar 15, 2011 at 3:18 PM, Nate Coraor <n...@bx.psu.edu> wrote: > > Peter Cock wrote: > > > >> $ sh manage_db.sh upgrade > >> Traceback (most recent call last): > >> File "./scripts/manage_db.py", line 12, in <module> > >> from migrate.versioning.shell import main > >> ImportError: No module named migrate.versioning.shell > > > > This is a bug, but as a workaround try the following: > > > > python -ES ./scripts/manage_db.py upgrade > > > > Hi Nate, > > The workaround failed for me, > > $ python -ES ./scripts/manage_db.py upgrade > Traceback (most recent call last): > File "./scripts/manage_db.py", line 12, in <module> > from migrate.versioning.shell import main > File > "/Users/pjcock/repositories/galaxy-central-stuck-db-75/eggs/sqlalchemy_migrate-0.5.4-py2.6.egg/migrate/versioning/shell.py", > line 7, in <module> > from migrate.versioning.base import * > File > "/Users/pjcock/repositories/galaxy-central-stuck-db-75/eggs/sqlalchemy_migrate-0.5.4-py2.6.egg/migrate/versioning/base/__init__.py", > line 5, in <module> > from const import databases,operations > File > "/Users/pjcock/repositories/galaxy-central-stuck-db-75/eggs/sqlalchemy_migrate-0.5.4-py2.6.egg/migrate/versioning/base/const.py", > line 7, in <module> > from sqlalchemy.util import OrderedDict > ImportError: No module named sqlalchemy.util > > There's probably some PYTHONPATH or something solution to this... I > don't use eggs enough to see it immediately though.
Hmm, okay. Try the following: python -ES ./scripts/fetch_eggs.py And then again: python -ES ./scripts/manage_db.py upgrade > Is there a bug open for the upgrade issue? No, I think this is isolated to something going on in your specific python environment. If I can reproduce it then I can work on a fix. --nate > > Thanks, > > Peter > ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/