On 02/04/18 07:09, Arto Jantunen wrote:
Hi list,

Pytrainer version 1.12.1 has been released! This version contains a
number of bug fixes, mostly for bugs in the rewrite of the database
layer to SQLAlchemy. Thanks a lot to everyone who reported bugs, tested
fixes and sent PRs! Also the FIT import library has been updated to the
latest version, making it possible to import files from previously
unsupported devices/device versions.

Also the upcoming port to GTK version 3 is progressing well, and the
branch could use some more testing. If you have the time, testing and
bug reports would be greatly appreciated. See here for the branch:
https://github.com/viiru-/pytrainer/tree/gtk3

Please see CHANGES
(https://github.com/pytrainer/pytrainer/blob/v1.12.1/CHANGES) or the git
log itself for more information.

You can download the release from Github:

https://github.com/pytrainer/pytrainer/releases/tag/v1.12.1



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Thanks again Arto,

1.12.1 seems to work well for me with my Garmin Forerunner 15.

I've also tried the GTK3 version - doing
$ sudo python setup.py install
and
$ mv ~/.pytrainer ~/.pytrainer.1.12.1
to delete the old profile

pytrainer -i
running pytrainer from egg installation
data_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/share/pytrainer/
gettext_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/share/locale
site_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/lib/python2.7/site-packages
INFO:root:pytrainer version 1.11.0-dev
ERROR:root:Configuration '~/.pytrainer/conf.xml' file does not exist
INFO:root:No profile found. Creating default one
ERROR:root:Failed when retrieving Max Heartrate value: invalid literal for 
int() with base 10: ''
INFO:root:Setting Max Heartrate to default value: 190
ERROR:root:Failed when retrieving Min Heartrate value: invalid literal for 
int() with base 10: ''
INFO:root:Setting Min Heartrate to default value: 65
INFO:root:Checking if some upgrade action is needed...
INFO:root:Initializing data. Data state is: 'FRESH'.
INFO:root:Initializing new database.
INFO:root:Creating database tables
INFO:root:Creating athletestats table with default values
INFO:root:Creating records table with default values
INFO:root:Creating record_equipment table with default values
INFO:root:Creating laps table with default values
INFO:root:Creating waypoints table with default values
INFO:root:Creating sports table with default values
INFO:root:Creating equipment table with default values
INFO:root:Initializing version metadata to version: '14'.

(pytrainer:1483): libglade-WARNING **: could not find glade file 
'/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/share/pytrainer/glade/pytrainer.glade'
Traceback (most recent call last):
  File "/usr/bin/pytrainer", line 4, in <module>
    __import__('pkg_resources').run_script('pytrainer==1.11.0.dev0', 
'pytrainer')
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 735, 
in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1659, 
in run_script
    exec(script_code, namespace, namespace)
  File 
"/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/scripts/pytrainer",
 line 94, in <module>
File "/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/scripts/pytrainer", line 91, in main File "build/bdist.linux-x86_64/egg/pytrainer/main.py", line 101, in __init__
  File "build/bdist.linux-x86_64/egg/pytrainer/gui/windowmain.py", line 74, in 
__init__
  File "build/bdist.linux-x86_64/egg/pytrainer/gui/SimpleGladeApp.py", line 38, 
in __init__
RuntimeError: could not create GladeXML object

Am I doing something wrong here?

Cheers
Richard

PS I initially tried it without scratching ~/.pytrainer, import failed but maybe this is not meant to be supported:

$> pytrainer -i
running pytrainer from egg installation
data_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/share/pytrainer/
gettext_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/share/locale
site_path: 
/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/lib/python2.7/site-packages
INFO:root:pytrainer version 1.11.0-dev
ERROR:root:Failed when retrieving Max Heartrate value: invalid literal for 
int() with base 10: ''
INFO:root:Setting Max Heartrate to default value: 190
ERROR:root:Failed when retrieving Min Heartrate value: invalid literal for 
int() with base 10: ''
INFO:root:Setting Min Heartrate to default value: 65
INFO:root:Checking if some upgrade action is needed...
Traceback (most recent call last):
  File "/usr/bin/pytrainer", line 4, in <module>
    __import__('pkg_resources').run_script('pytrainer==1.11.0.dev0', 
'pytrainer')
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 735, 
in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1659, 
in run_script
    exec(script_code, namespace, namespace)
  File 
"/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/scripts/pytrainer",
 line 94, in <module>
File "/usr/lib/python2.7/site-packages/pytrainer-1.11.0.dev0-py2.7.egg/EGG-INFO/scripts/pytrainer", line 91, in main File "build/bdist.linux-x86_64/egg/pytrainer/main.py", line 83, in __init__
  File "build/bdist.linux-x86_64/egg/pytrainer/upgrade/data.py", line 31, in 
initialize_data
  File "build/bdist.linux-x86_64/egg/pytrainer/upgrade/data.py", line 63, in 
update_to_current
  File "build/bdist.linux-x86_64/egg/pytrainer/upgrade/data.py", line 79, in 
get_state
pytrainer.upgrade.data.DataInitializationException


--
Richard (MQ)
Linux user # 439271

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to