google-code-export / measureit

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

No data after running for some time #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run data-input.py debug v
2. check logfile for debug logging

I have an issue that after running, the grabber shows values in the 
webinterface, and also to pvoutput. After some time the grabber still runs but 
seems to stuck in a loop. Debug logging keeps updating but no data values. I 
have attached the logging.
The file shows output, which stopped around 15:00.

What version of the product are you using? On what operating system?
I used the latest revision, but 115 seems to be most stable

Running ubuntu 12.04 x64 with currentcost and 1 clamp.

Original issue reported on code.google.com by jeroen.s...@gmail.com on 23 Feb 2014 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago
strace -p 28807
Process 28807 attached - interrupt to quit
select(5, [4], [], [], {0, 971863})     = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 0 (Timeout)
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 902303})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\200", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999985})
read(4, "\200", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999985})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\200", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
futex(0x1bb1b60, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily 
unavailable)
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999986})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999985})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999979})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999946})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999986})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999986})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999912})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999948})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999987})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
futex(0x1bb1b60, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999992})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999962})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\340", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999970})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\0", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "f", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "~", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "`", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
futex(0x1bb1b60, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily 
unavailable)
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999985})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999983})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999989})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\6", 1)                        = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\30", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\206", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\236", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999990})
read(4, "\346", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "x", 1)                         = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\370", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})
read(4, "\36", 1)                       = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999988})
read(4, "\230", 1)                      = 1
select(5, [4], [], [], {3, 0})          = 1 (in [4], left {2, 999991})

Original comment by jeroen.s...@gmail.com on 24 Feb 2014 at 9:20

GoogleCodeExporter commented 9 years ago
After restarting the grabber, I again have values

2014-02-24 11:11:54,252 DEBUG Execute query successful
2014-02-24 11:11:54,253 DEBUG sensor: 0
2014-02-24 11:11:54,253 DEBUG current local datetime: 2014-02-24 11:11:54.253498
2014-02-24 11:11:54,253 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:11:54,254 DEBUG current usage: 2014-02-24 12:11:54.254361
2014-02-24 11:11:54,254 DEBUG current time_str: 20140224
2014-02-24 11:11:54,255 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:11:54,255 DEBUG current value: 2
2014-02-24 11:11:54,255 DEBUG new time_str: 10
2014-02-24 11:12:00,262 DEBUG No clamps found on sensor 0
2014-02-24 11:12:00,264 DEBUG Try to execute query: UPDATE measure_data_now SET 
watt = "462" WHERE sensor_id = 0
2014-02-24 11:12:00,265 DEBUG Execute query successful
2014-02-24 11:12:00,267 DEBUG Try to execute query: INSERT INTO measure_watt ( 
sensor, data, time) values( 0, 462, NOW() ) 
2014-02-24 11:12:00,268 DEBUG Execute query successful
2014-02-24 11:12:00,269 DEBUG sensor: 0
2014-02-24 11:12:00,269 DEBUG current local datetime: 2014-02-24 11:12:00.269768
2014-02-24 11:12:00,270 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:12:00,270 DEBUG current usage: 2014-02-24 12:12:00.270662
2014-02-24 11:12:00,271 DEBUG current time_str: 20140224
2014-02-24 11:12:00,271 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:12:00,271 DEBUG current value: 3
2014-02-24 11:12:00,272 DEBUG new time_str: 11
2014-02-24 11:12:06,286 DEBUG No clamps found on sensor 0
2014-02-24 11:12:06,288 DEBUG Try to execute query: UPDATE measure_data_now SET 
tmpr = "21.4" WHERE sensor_id = 0
2014-02-24 11:12:06,289 DEBUG Execute query successful
2014-02-24 11:12:06,291 DEBUG Try to execute query: INSERT INTO measure_tmpr ( 
data, time ) values( "21.4", NOW() ) 
2014-02-24 11:12:06,292 DEBUG Execute query successful
2014-02-24 11:12:06,293 DEBUG Try to execute query: INSERT IGNORE INTO 
measure_tmpr_hourly ( data, time, hour ) VALUES ( "21.4", NOW(), "11" )
2014-02-24 11:12:06,295 DEBUG Execute query successful
2014-02-24 11:12:06,297 DEBUG Try to execute query: UPDATE measure_data_now SET 
watt = "445" WHERE sensor_id = 0
2014-02-24 11:12:06,302 DEBUG Execute query successful
2014-02-24 11:12:06,304 DEBUG Try to execute query: INSERT INTO measure_watt ( 
sensor, data, time) values( 0, 445, NOW() ) 
2014-02-24 11:12:06,305 DEBUG Execute query successful
2014-02-24 11:12:06,306 DEBUG sensor: 0
2014-02-24 11:12:06,307 DEBUG current local datetime: 2014-02-24 11:12:06.307073
2014-02-24 11:12:06,307 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:12:06,308 DEBUG current usage: 2014-02-24 12:12:06.307929
2014-02-24 11:12:06,308 DEBUG current time_str: 20140224
2014-02-24 11:12:06,308 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:12:06,309 DEBUG current value: 3
2014-02-24 11:12:06,309 DEBUG new time_str: 12
2014-02-24 11:12:12,312 DEBUG No clamps found on sensor 0
2014-02-24 11:12:12,314 DEBUG Try to execute query: UPDATE measure_data_now SET 
watt = "458" WHERE sensor_id = 0
2014-02-24 11:12:12,315 DEBUG Execute query successful
2014-02-24 11:12:12,317 DEBUG Try to execute query: INSERT INTO measure_watt ( 
sensor, data, time) values( 0, 458, NOW() ) 
2014-02-24 11:12:12,318 DEBUG Execute query successful
2014-02-24 11:12:12,319 DEBUG sensor: 0
2014-02-24 11:12:12,319 DEBUG current local datetime: 2014-02-24 11:12:12.319802
2014-02-24 11:12:12,320 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:12:12,321 DEBUG current usage: 2014-02-24 12:12:12.320860
2014-02-24 11:12:12,321 DEBUG current time_str: 20140224
2014-02-24 11:12:12,322 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:12:12,322 DEBUG current value: 3
2014-02-24 11:12:12,323 DEBUG new time_str: 13
2014-02-24 11:12:30,389 DEBUG No clamps found on sensor 0
2014-02-24 11:12:30,391 DEBUG Try to execute query: UPDATE measure_data_now SET 
watt = "462" WHERE sensor_id = 0
2014-02-24 11:12:30,392 DEBUG Execute query successful
2014-02-24 11:12:30,394 DEBUG Try to execute query: INSERT INTO measure_watt ( 
sensor, data, time) values( 0, 462, NOW() ) 
2014-02-24 11:12:30,395 DEBUG Execute query successful
2014-02-24 11:12:30,396 DEBUG sensor: 0
2014-02-24 11:12:30,396 DEBUG current local datetime: 2014-02-24 11:12:30.396489
2014-02-24 11:12:30,396 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:12:30,397 DEBUG current usage: 2014-02-24 12:12:30.397134
2014-02-24 11:12:30,397 DEBUG current time_str: 20140224
2014-02-24 11:12:30,397 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:12:30,398 DEBUG current value: 3
2014-02-24 11:12:30,398 DEBUG new time_str: 14
2014-02-24 11:12:54,488 DEBUG No clamps found on sensor 0
2014-02-24 11:12:54,490 DEBUG Try to execute query: UPDATE measure_data_now SET 
watt = "440" WHERE sensor_id = 0
2014-02-24 11:12:54,491 DEBUG Execute query successful
2014-02-24 11:12:54,493 DEBUG Try to execute query: INSERT INTO measure_watt ( 
sensor, data, time) values( 0, 440, NOW() ) 
2014-02-24 11:12:54,494 DEBUG Execute query successful
2014-02-24 11:12:54,495 DEBUG sensor: 0
2014-02-24 11:12:54,495 DEBUG current local datetime: 2014-02-24 11:12:54.495691
2014-02-24 11:12:54,496 DEBUG current local datetime delta: 1:00:00
2014-02-24 11:12:54,496 DEBUG current usage: 2014-02-24 12:12:54.496311
2014-02-24 11:12:54,496 DEBUG current time_str: 20140224
2014-02-24 11:12:54,497 DEBUG sensor: 0 time_str is < 5
2014-02-24 11:12:54,497 DEBUG current value: 3

Original comment by jeroen.s...@gmail.com on 24 Feb 2014 at 11:50

GoogleCodeExporter commented 9 years ago
I am confused....

Can you reproduce this or better asked happened it always at 15:00 or after a 
always same time period?

Does it happened only when you start it manual or did it happened also when you 
run it under supervise?

Greetings Thomas

Original comment by lalelu...@gmail.com on 24 Feb 2014 at 5:57

GoogleCodeExporter commented 9 years ago
Sorry to confuse you, Thomas!
Yes I can reproduce it. It happens on random times. Either when I start it at 
commandline 
$ python ./data-input.py or via supervise.

I now made a bash script that checks if the grabber is producing output, if not 
I restart the script. This is just a workaround.

The fact is that after running for a while, it seems to get stuck. The grabber 
still runs, but no power output. Only output you see is a hourly cron timer 
like this :

2014-02-22 15:55:35,756 INFO Try to run hourly job in cron_timer_hourly
2014-02-22 15:55:35,758 DEBUG Try to execute query: select sensor, data from 
measure_watt where time between '2014-02-22 14:00:00' AND '2014-02-22 15:00:00' 
AND sensor=0
2014-02-22 15:55:35,763 DEBUG Try to execute query: INSERT IGNORE INTO 
measure_watt_hourly ( sensor, data, hour, time ) VALUES ( "0", 
"0.434588832487", "14", "2014-02-22" )
2014-02-22 15:55:35,777 DEBUG Execute query successful

Original comment by jeroen.s...@gmail.com on 24 Feb 2014 at 8:15

GoogleCodeExporter commented 9 years ago
Moved to github
https://github.com/lalelunet/measureit/issues/3

Original comment by lalelu...@gmail.com on 25 Jul 2014 at 8:12