Arduino Supply 4.95V

Temperature 44.20C 111.56F

Solar 1 0.00V<

Current 1 25.55

Panel 1 0.0 W

Solar 2 0.01V<

Current 2 0.01A

--> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.3: /usr/bin/python
Tue Sep 17 02:29:53 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/cgi-bin/outside.py in ()
     36     print "<h1>"+doc[st:st+15]+"</h1>"
     37     tempv=doc[st+9:st+9+6]
=>   38     print "<h1>Panel 1 "+str(abs(float(tempv)*ftempv))+" W</h1>"
     39 
     40 st=doc.find("GTI")
builtin str = <type 'str'>, builtin abs = <built-in function abs>, builtin float = <type 'float'>, tempv = ' 0.01A', ftempv = 0.01

<type 'exceptions.ValueError'>: invalid literal for float(): 0.01A
      args = ('invalid literal for float(): 0.01A',)
      message = 'invalid literal for float(): 0.01A'