Package Details: pytrainer 1.10.0-3

Git Clone URL: https://aur.archlinux.org/pytrainer.git (read-only)
Package Base: pytrainer
Description: A tool to log your sport activities.
Upstream URL: https://github.com/pytrainer/pytrainer/wiki
Licenses: GPL
Submitter: None
Maintainer: zoe
Last Packager: zoe
Votes: 21
Popularity: 0.078065
First Submitted: 2006-10-18 16:58
Last Updated: 2015-06-20 21:17

Dependencies (11)

Required by (0)

Sources (3)

Latest Comments

zoe commented on 2015-03-09 09:23

I adopted this package ; added python2-sqlparse dependancy

xduugu commented on 2014-01-07 21:21

That's again an issue with python2-migrate and a new sqlalchemy release. Could you file a bug report? You can use https://bugs.archlinux.org/task/34776 as template.

lifo2 commented on 2014-01-06 22:38

I had the following error:

Traceback (most recent call last):
File "pytrainer", line 96, in <module>
from pytrainer.main import pyTrainer
File "/usr/lib/python2.7/site-packages/pytrainer/main.py", line 38, in <module>
from upgrade.data import initialize_data
File "/usr/lib/python2.7/site-packages/pytrainer/upgrade/data.py", line 23, in <module>
from pytrainer.upgrade.migratedb import MigratableDb
File "/usr/lib/python2.7/site-packages/pytrainer/upgrade/migratedb.py", line 19, in <module>
from migrate.versioning.api import db_version, upgrade, version, version_control
File "/usr/lib/python2.7/site-packages/migrate/__init__.py", line 9, in <module>
from migrate.changeset import *
File "/usr/lib/python2.7/site-packages/migrate/changeset/__init__.py", line 21, in <module>
from migrate.changeset.schema import *
File "/usr/lib/python2.7/site-packages/migrate/changeset/schema.py", line 15, in <module>
from migrate.changeset.databases.visitor import (get_engine_visitor,
File "/usr/lib/python2.7/site-packages/migrate/changeset/databases/visitor.py", line 6, in <module>
from migrate.changeset import ansisql
File "/usr/lib/python2.7/site-packages/migrate/changeset/ansisql.py", line 10, in <module>
from sqlalchemy.schema import SchemaVisitor
ImportError: cannot import name SchemaVisitor


That I fixed by editing /usr/lib/python2.7/site-packages/migrate/changeset/ansisql.py to change the following line:
from sqlalchemy.schema import SchemaVisitor
by:
from sqlalchemy.sql.base import SchemaVisitor

xduugu commented on 2013-08-30 08:06

Thanks for the hint, I didn't notice that they move the project. It will however take some time until I have updated everything (dependencies etc.).

privong commented on 2013-08-28 00:56

Flagged out of date as 1.10.0 is available (https://github.com/pytrainer/pytrainer/blob/master/CHANGES).
The project appears to have also moved to github:
https://github.com/pytrainer/pytrainer

Anonymous comment on 2013-04-15 10:55

Thanks,
works great.

xduugu commented on 2013-04-14 12:00

The issue is that python2-migrate is not compatible with the version of python2-sqlalchemy. You can fix it by adjusting a line in /usr/lib/python2.7/site-packages/migrate/versioning/schema.py.

I've filled a bug report against python2-migrate which includes a patch.
https://bugs.archlinux.org/task/34776

Anonymous comment on 2013-04-14 06:45

When executed via console, I got the following error:

running pytrainer from egg installation
data_path: /usr/share/pytrainer/
gettext_path: /usr/share/locale
site_path: /usr/share/lib/python2.7/site-packages
Traceback (most recent call last):
File "pytrainer", line 96, in <module>
from pytrainer.main import pyTrainer
File "/usr/lib/python2.7/site-packages/pytrainer/main.py", line 36, in <module>
from upgrade.data import initialize_data
File "/usr/lib/python2.7/site-packages/pytrainer/upgrade/data.py", line 23, in <module>
from pytrainer.upgrade.migratedb import MigratableDb
File "/usr/lib/python2.7/site-packages/pytrainer/upgrade/migratedb.py", line 19, in <module>
from migrate.versioning.api import db_version, upgrade, version, version_control
File "/usr/lib/python2.7/site-packages/migrate/versioning/api.py", line 33, in <module>
from migrate.versioning import (repository, schema, version,
File "/usr/lib/python2.7/site-packages/migrate/versioning/schema.py", line 10, in <module>
from sqlalchemy import exceptions as sa_exceptions

xduugu commented on 2012-03-24 12:23

Thanks a lot. It seems the dependencies were reorganized somehow. The python-lxml package was also changed to python3 and a new python2-lxml package was introduced which is the correct dependency for this package.

Anonymous comment on 2012-03-24 09:38

This package should depend on python2-decorator. At least I get an error without it.

All comments