Krutoy222 / watts

Automatically exported from code.google.com/p/watts
0 stars 0 forks source link

graph suddenly stretches to 45 days #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
2 days of logged data.  Becomes 45 days and just a strait line for the extra 43 
days

What version of the product are you using? On what operating system?
1.1.3    android on G1

Please provide any additional information below.

Original issue reported on code.google.com by benjoki...@gmail.com on 29 Dec 2008 at 4:44

GoogleCodeExporter commented 8 years ago
Issue 6 has been merged into this issue.

Original comment by sco...@gmail.com on 29 Dec 2008 at 8:02

GoogleCodeExporter commented 8 years ago
Yup my phone has suddenly done this too.  My guess is there is an overflow or
something (as I store the time at quite a high resolution).  Checking the 
database
shows no such data that should make the time suddenly go up so once the code is 
fixed
all the historic data should be fine.

Original comment by sco...@gmail.com on 29 Dec 2008 at 8:04

GoogleCodeExporter commented 8 years ago
My instinct was correct, I had a int where it should of been a long in the 
graphing
function.  I've fixed that and uploaded a new releases.  Upgrading has fixed the
problem for me (with no dataloss as the database and collector are unaffected).

Cheers for reporting this guys!

Original comment by sco...@gmail.com on 29 Dec 2008 at 8:13