Hi again, > Thanks Nathan. I will install old versions (1.7.1 and 1.7.2) in a > clean environment and then try to upgrade them. Hopefully we have some > volunteers running 1.8.0 ;) > > 2011/10/25 Arnd Zapletal <a.zaple...@gmail.com>: >>> ImportError: No module named migrate.versioning.api >> well - seems my python-migrate was broken somehow. >> Sorry for false alarm. Fixed now. >> >> 1.9.0 runs but I cannot access individual records >> >> Traceback (most recent call last): >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/gui/windowmain.py", >> line 1907, in on_calendar_selected >> self.parent.refreshListRecords() >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/main.py", >> line >> 332, in refreshListRecords >> self.windowmain.actualize_recordTreeView(record_ids) >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/gui/windowmain.py", >> line 2036, in actualize_recordTreeView >> laps = self.parent.record.getLaps(id_record) >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/record.py", >> line 317, in getLaps >> "record=\"%s\"" % id_record) >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/lib/ddbb.py", >> line 143, in select >> return self.ddbbObject.select(table,cells,condition,mod) >> File >> "/home/arnd/bin/pytrainer/lib/python2.7/site-packages/pytrainer/lib/sqliteUtils.py", >> line 160, in select >> cur.execute(sql) >> sqlite3.OperationalError: no such column: laptrigger >> > > Thanks Arnd for quick action. > > If you get this error, then > pytrainer/upgrade/versions/010_default_upgrade.sql has not been > successfully executed. Can you please check ~/.pytrainer/log.out log > file to see if any related error has been reported there?
Any news from your side, Arnd? My migration step by step: - Removed all stuff related to pytrainer 1.9.0-dev and installed 1.8.0 downloaded from SourceForge as another user. - Imported one activity with laps (using "Garmintools dump file import"). No error prompted (or at least I didn't realize). - Upgraded to 1.9.0-dev (installed from source code using "sudo python setup.py install"). - Started pytrainer in debug mode so I can check log files afterwords (see attached pytrainer_migration.log.gz) - I can access to existing activity without errors. Only thing I noticed is that files under upgrade/versions/ were loaded many times; not sure if needed or that can be fixed. Congrats Nathan for all upgrade stuff, it looks pretty powerful! Hopefully I can repeat steps above for 1.7.1 this weekend, I will report any results. Best regards, David
pytrainer_migration.log.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel