google-code-export / measureit

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

Python died with error #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On win7 home python python died with the following error

C:\Users\master>C:\Python27\python.exe C:\measureit\data-input-win.py
Data grabbing is startet. Leave this window open to get permanet data from
your
device. In a few moments you should see your current watt usage
Traceback (most recent call last):
 File "C:\measureit\data-input-win.py", line 71, in <module>
   if sensors[int( r.group(2) )]['tmpr'] != r.group(1):
KeyError: 0

Original issue reported on code.google.com by lalelu...@gmail.com on 17 Mar 2012 at 12:00

GoogleCodeExporter commented 9 years ago
I'm getting the same error.

I have 1 sensor with three phases, and two IAMS.

it's said somewhere in the faqs that it does not work with more than one sensor 
could it be because of this ?
thks

Original comment by Luis.Mar...@gmail.com on 3 Apr 2012 at 11:36

GoogleCodeExporter commented 9 years ago
No. This is not because of the clamps. I rewrite the python code in the moment. 
Please be patient. There will be a new version soon that will also support 
multiple clamps.

Which OS you are using and what kind is your usb cable? Is the cable a newer 
one with a green led when connected?

Original comment by lalelu...@gmail.com on 4 Apr 2012 at 4:23

GoogleCodeExporter commented 9 years ago
fixed in version 112 that is now online

Original comment by lalelu...@gmail.com on 10 Jul 2012 at 5:48