Hello! I've been using pytrainer from SVN now for quite a long time but since DB refactoring it doesn't work for me. I had to stay at rev809. Today I tried again but it still fails with the same error:
=== SNIP === running pytrainer from egg installation data_path: /home/testen/opt/pytrainer/share/pytrainer/ gettext_path: /home/testen/opt/pytrainer/share/locale site_path: /home/testen/opt/pytrainer/lib/python2.7/site-packages Traceback (most recent call last): File "/home/testen/opt/pytrainer/bin/pytrainer", line 96, in <module> from pytrainer.main import pyTrainer File "/home/testen/opt/pytrainer/lib/python2.7/site-packages/pytrainer/main.py", line 36, in <module> from upgrade.data import initialize_data File "/home/testen/opt/pytrainer/lib/python2.7/site-packages/pytrainer/upgrade/data.py", line 23, in <module> from pytrainer.upgrade.migratedb import MigratableDb File "/home/testen/opt/pytrainer/lib/python2.7/site-packages/pytrainer/upgrade/migratedb.py", line 20, in <module> from migrate.versioning.exceptions import DatabaseNotControlledError ImportError: No module named exceptions === SNAP === I've read migratedb.py and tried to find the migrate.versioning.exceptions Python module. Well I couldn't. But I've found it as migrate.exceptions. After changing that in migratedb.py pytrainer starts and no error occurs. I'm using Gentoo and dev-python/sqlalchemy-migrate 0.6.1 and I wonder why you can load the module as migrate.versioning.exceptions but here it is located as migrate.exceptions. Best regards, Andreas -- http://andreas.vdr-developer.org --- VDRAdmin-AM & EnigmaNG & VDRSymbols VDR user #303 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel