Hi Pierre,

>>> I still have some unexplained crash with latest SVN version on my Gentoo
>>> so I continue to use pytrainer-1.8.0 on ubuntu... :-(
>>> I still try to investigate where the problem could come from but without
>>> success till now.
>>> Nevertheless, using a fresh new database with only one record imported
>>> from .gpx I see this ouput in the terminal :
>>>
>>> pierre@gandalf ~ $ pytrainer
>>> running pytrainer from egg installation
>>> data_path: /usr/share/pytrainer/
>>> gettext_path: /usr/share/locale
>>> site_path: /usr/lib/python2.6/site-packages
>>> Traceback (most recent call last):
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/gui/windowmain.py",
>>> line 1904, in on_calendar_selected
>>>      self.parent.refreshGraphView(self.selected_view)
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/main.py", line 225,
>>> in refreshGraphView
>>>      self.refreshRecordGraphView("info")
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/main.py", line 301,
>>> in refreshRecordGraphView
>>>      self.windowmain.actualize_recordview(activity)
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/gui/windowmain.py",
>>> line 454, in actualize_recordview
>>>      max_speed = lap['max_speed'] * 3.6
>>> TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
>>> Traceback (most recent call last):
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/gui/popupmenu.py",
>>> line 47, in on_showclassic_activate
>>>      self.parent.parent.refreshRecordGraphView("info",
>>> id_record=self.id_record)
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/main.py", line 301,
>>> in refreshRecordGraphView
>>>      self.windowmain.actualize_recordview(activity)
>>>    File "/usr/lib/python2.6/site-packages/pytrainer/gui/windowmain.py",
>>> line 454, in actualize_recordview
>>>      max_speed = lap['max_speed'] * 3.6
>>> TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
>>> pierre@gandalf ~ $
>> Strange... Can you please check what is alreay stored in max_speed
>> field in laps table?
> sqlite> select * from records;
> 12.69|13.720265027|4.22|Jogging|3|356.2003|9.32063647491|2011-08-24
> 18:20:14+0200|810|2011-08-24T16:20:14Z|yyyyyyjjjjjj|6.26|356.6371|4901|156.0||4901|2011-08-24|3|213.0
>
> So, max_speed is 13.72

Was not the issue related to max_speed value in laps?. Quick look at
my db shows that max_speed (actually maxspeed, without underscore) is
stored in km/h in records table but in min/km in laps table

>> If I am not wrong, you are using MySQL, right?
> No, no, Sqlite

Interesting, I thought you were one of those users using MySQL.
Probably I am mixing up you with another person, sorry 0:-)

>>> Moreover, if I expand laps in main view, they are not correctly sorted :
>>> 1,10,11,12, ..., 2,21,22, ...,3 even if I click on the column header
>> This one I am unfortunately aware of... 0:-) BTW I have another one:
>> in week tab, there is no bar in graph when day of the week has some
>> characters like tilde (mié ->  wed and sáb ->  sat). I guess this is
>> related to encoding issue but need some investigation.
>>
> Last commit corrected it. Thanks!
>>> PS:
>>> David I will send you French localization files soon
>> No worries, I am going on vacation for a couple of weeks on friday ;)
> Good Holidays! :)
>> I have submitted one coming from Vincent to help out as he
>> highlighted. I wrote his name and email as source for "last
>> translator" field but mine show up in credits. Sorry for that.
> Not a problem at all. For some reasons I did not follow pytrainer
> development so much these last month so it's a finally more a good news
> to see that someone else took the relay on localization! And I don't
> mind if my name is written or not in credits, I did not doing it for that...
> In the latest svn version I get there were some strings missing in
> translation file, that's why I offered to update it.
> I will share with Vicent my .po file like that there will be more eyes
> on it! :)

I find fair that names for regular contibutors are included in credits.

Regards,

David

PS: thanks!, I will do my best to enjoy them ;)

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to