Hi, 2011/8/27 Nathan Jones <nat...@ncjones.com>: >> >From my side just two issues I would like to fix before releasing 1.9.0: >> >> - Using "active" activity duration instead total one for calculations >> (ticket https://sourceforge.net/apps/trac/pytrainer/ticket/103) >> - Problems with resizing (ticket >> https://sourceforge.net/apps/trac/pytrainer/ticket/113) > > I've just committed a fix for the main resizing issues. There may > still be more work required there as per Druzee's suggestion.
Great, thanks. Main issues I see come from sport frame in totals tab and graphics in graph subtab under register one. I can hide graph options in latter one and then minimize pytrainer's window, but no chance to make graph image smaller... > Are you working on the active duration issue? If not I'll take a look at it. Actually yes. I follow a simpler approach so no changes in database are needed: standard duration is active one and difference with total one is shown (and on-the-fly calculated) just in main subtab under register one. Still need to do some tests, migration script (for database stored values) need to wait. Another topic, when reproducing ticket #137 (https://sourceforge.net/apps/trac/pytrainer/ticket/137) I saw null was stored as sport in database and I got following error on console (sorry I didn't enable debug flag) $ pytrainer running pytrainer from egg installation data_path: /usr/share/pytrainer/ gettext_path: /usr/share/locale site_path: /usr/lib/python2.7/site-packages Traceback (most recent call last): File "/usr/bin/pytrainer", line 102, in <module> main() File "/usr/bin/pytrainer", line 99, in main pytrainer = pyTrainer(None, data_path) File "/usr/lib/python2.7/site-packages/pytrainer/main.py", line 87, in __init__ self.stats = Stats(self._sport_service, self) File "/usr/lib/python2.7/site-packages/pytrainer/stats.py", line 27, in __init__ self.data = self.get_stats() File "/usr/lib/python2.7/site-packages/pytrainer/stats.py", line 55, in get_stats sport = self._sport_service.get_sport(r['sport']) File "/usr/lib/python2.7/site-packages/pytrainer/sport.py", line 148, in get_sport raise ValueError("Sport id cannot be None") ValueError: Sport id cannot be None $ I didn't investigate further, but maybe you Nathan can take a look on it as it seems related to the sports service. By the way, title was correctly stored in database so I think is a problem either when retrieving information (missing var?) or lack of refresh. Regards, David ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel