druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Issues with .json #136

Open chrisungarro opened 5 years ago

chrisungarro commented 5 years ago

Please i need help, i am new to python i am following a training video from Udemy build 10 world real applications, i am about building the dictionary but i am stuck with the errors below. i don't know what else to do. i will appreciate any help concering how to fix this error.

thanks

parse_constant=parse_constant, object_pairs_hook=obje
ct_pairs_hook, **kw)
  File "C:\Users\learn\AppData\Local\Programs\Python\Pyth
on37-32\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "C:\Users\learn\AppData\Local\Programs\Python\Pyth
on37-32\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\learn\AppData\Local\Programs\Python\Pyth
on37-32\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value
) from None
json.decoder.JSONDecodeError: Expecting value: line 1 col
umn 1 (char 0)
mistercrunch commented 5 years ago

Does this have something to do with PyDruid?