Hi Jason, Thanks for your interest and feedback!
> Great work, love pytrainer and have been using it for a while! Good to hear (read)! ;) > I downloaded > 1.9.1 and like some of the new features (although I notice graphs still show > metric labelled as miles). Ooops! This may be linked to http://sourceforge.net/apps/trac/pytrainer/ticket/161 > 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! Thanks for reporting. I did some upgrade tests myself and it looks I skip some scenarios. I will have a deeper look and submit your change if necessary. > Keep up the good work. Thanks for your encouraging words! Regards, David ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel