Oct-07-2017, 11:39 PM
I am running this stock on a Raspberry pi. I have the header of the webpage but no data being inputted
http://www.instructables.com/id/Raspberr...midity-lo/
root@raspberrypi:~# python /home/pi/DHT22-TemperatureLogger/DHT22logger.py
Traceback (most recent call last):
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 419, in <module>
main()
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 248, in main
configurations = getConfigurations()
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 240, in getConfigurations
configurations = json.loads(open(configurationFile).read())
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 10 column 1 (char 143)
except is line 10
from json import scanner
try:
from _json import scanstring as c_scanstring
except ImportError:
c_scanstring = None
__all__ = ['JSONDecoder']
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
What is errors and what are not errors, plus what is wrong with expect line
I am new and need help please
http://www.instructables.com/id/Raspberr...midity-lo/
root@raspberrypi:~# python /home/pi/DHT22-TemperatureLogger/DHT22logger.py
Traceback (most recent call last):
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 419, in <module>
main()
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 248, in main
configurations = getConfigurations()
File "/home/pi/DHT22-TemperatureLogger/DHT22logger.py", line 240, in getConfigurations
configurations = json.loads(open(configurationFile).read())
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 10 column 1 (char 143)
except is line 10
from json import scanner
try:
from _json import scanstring as c_scanstring
except ImportError:
c_scanstring = None
__all__ = ['JSONDecoder']
FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
What is errors and what are not errors, plus what is wrong with expect line
I am new and need help please