"Richard (MQ)" <osl2...@gmail.com> writes:
>> 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?

I'm not sure what might be going on here, but you aren't running the
application version on that branch. That would report 1.12.1-final as
version, not 1.11.0-dev like you have in this log. Perhaps something
from a previous install remains somewhere and confuses things?

In any case, to test the code all you need to do is check out the branch
and run the application in place as "./bin/pytrainer".

-- 
Arto Jantunen

------------------------------------------------------------------------------
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