Python Forum
header of website but no data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
header of website but no data
#1
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
Reply


Messages In This Thread
header of website but no data - by Brian1210 - Oct-07-2017, 11:39 PM
RE: header of website but no data - by ichabod801 - Oct-07-2017, 11:46 PM
RE: header of website but no data - by Brian1210 - Oct-07-2017, 11:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scraping Data from Website melkaray 3 955 Sep-22-2023, 12:41 PM
Last Post: melkaray
  Code to retrieve data from a website charlie13255 0 1,074 Jul-07-2022, 07:53 PM
Last Post: charlie13255
  Is this possible to write a script for checking data from website? WanW 2 1,243 Jun-02-2022, 02:31 AM
Last Post: Larz60+
  How to keep columns header on excel without change after export data to excel file? ahmedbarbary 0 1,252 May-03-2022, 05:46 PM
Last Post: ahmedbarbary
  Extracting data from a website tgottsc1 2 2,367 Jan-09-2021, 08:14 PM
Last Post: tgottsc1
  how to obtain header, data, pararms zarize 4 2,546 Sep-30-2019, 08:17 AM
Last Post: zarize
  extracting data from json on website larry2311 2 5,194 Feb-09-2018, 01:27 AM
Last Post: larry2311
  sending data from my raspberry pi to my website mohitsangavikar 2 18,034 Sep-05-2017, 06:55 PM
Last Post: wrybread

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020