Hi,

Great work, love pytrainer and have been using it for a while! I downloaded 1.9.1 and like some of the new features (although I notice graphs still show metric labelled as miles).

Anyway, on upgrading I think it updated my date? It then crashes while examining sports (see attached). If fixed it anyway by just skipping over the error in stats.py.

*** ./stats.py  2011-11-25 18:56:26.000000000 +0000
--- /usr/local/lib/python2.7/dist-packages/pytrainer/stats.py 2012-01-11 19:16:30.000000000 +0000
***************
*** 56,61 ****
--- 56,63 ----
                  continue
              if r['sport'] not in data['sports']:
                  sport = self._sport_service.get_sport(r['sport'])
+                 if sport is None:
+                     continue
data['sports'][r['sport']] = {'name': sport.name, 'count': 0}
                  for f in fields:
                      data['sports'][r['sport']][f] = 0

pytrainer then starts OK, working fine so far!

Keep up the good work.

 - Jason

Attachment: traceback.bz2.tar
Description: Unix tar archive

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to