casting & division by zero issues
|Reported by:||mape||Owned by:||mape|
Subject: Timevisualizerplugin patch
I had some problems making the plugin run on postgres (python2.4 and trac0.10).
The first problem was that 'casting' with +0.0 fails; I have replaces this with some python code that should work with all databases.
The next problem is that code like:
fails. I have replaces this with
I also got some Division by Zero issues that I have fixed with some max() code.
Included in this mail is the resulting impl.py as well as a patch against 2665.