Hi,
I do not see 1.9.2 version either. I installed pytrainer from the repositories
on Kubuntu 12.04 and got the same error from command line:

user@client$pytrainer
running pytrainer from egg installation
data_path: /usr/share/pytrainer/
gettext_path: /usr/share/locale
site_path: /usr/lib/python2.7/site-packages
ERROR:root:Failed when retrieving Max Heartrate value: invalid literal for int()
with base 10: ''
ERROR:root:Failed when retrieving Min Heartrate value: invalid literal for int()
with base 10: ''
Traceback (most recent call last):
  File "/usr/bin/pytr", line 102, in <module>
    main()
  File "/usr/bin/pytr", line 99, in main
    pytrainer = pyTrainer(None, data_path)
  File "/usr/lib/pymodules/python2.7/pytrainer/main.py", line 79, in __init__
    initialize_data(self.ddbb, self.environment.conf_dir)
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/data.py", line 31, in
initialize_data
    InstalledData(migratable_db, ddbb, LegacyVersionProvider(conf_dir),
UpgradeContext(conf_dir, db_url)).update_to_current()
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/data.py", line 65, in
update_to_current
    data_state.update_to_current(self)
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/data.py", line 170, in
update_to_current
    self._update_function(installed_data)
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/data.py", line 177, in
_update_stale
    data.upgrade()
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/data.py", line 147, in
upgrade
    self._migratable_db.upgrade()
  File "/usr/lib/pymodules/python2.7/pytrainer/upgrade/migratedb.py", line 87,
in upgrade
    upgrade(self._db_url, self._repository_path)
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186,
in upgrade
    return _migrate(url, repository, version, upgrade=True, err=err, **opts)
  File "<string>", line 2, in _migrate
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py",
line 159, in with_engine
    return f(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 366,
in _migrate
    schema.runchange(ver, change, changeset.step)
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 91,
in runchange
    change.run(self.engine, step)
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/script/py.py", line
145, in run
    script_func(engine)
  File
"/usr/lib/pymodules/python2.7/pytrainer/upgrade/versions/
007_populate_record_duration.py", line 23, in upgrade
    migrate_engine.execute(text("update records set duration=:duration where
id_record=:record_id"), duration=duration, record_id=record_id)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2297,
in execute
    return connection.execute(statement, *multiparams, **params)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1405,
in execute
    params)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1538,
in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1681,
in _execute_context
    self._commit_impl()
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1236,
in _commit_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1233,
in _commit_impl
    self.engine.dialect.do_commit(self.connection)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line
306, in do_commit
    connection.commit()
sqlalchemy.exc.OperationalError: (OperationalError) database is locked None None








------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to