Hi Pierre, Vincent,

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

If I am not wrong, you are using MySQL, right?

Thanks for feedback.

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

> Best regards,
> Pierre
>
> PS:
> David I will send you French localization files soon

No worries, I am going on vacation for a couple of weeks on friday ;)

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.

Regards,

David

------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to