Monthly Archives: May 2011

raise JSONDecodeError(“Extra data”, s, end, len(s))

raise JSONDecodeError(“Extra data”, s, end, len(s)) JSONDecodeError: Extra data: line 166 column 6 – line 98076 column 7 (char 4355 – 3355182) Extra data: line 166 column 6 – line 98076 column 7 (char 4355 – 3355182) In my case … Continue reading

Posted in Uncategorized | Leave a comment

json: UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 0-1: unexpected end of data

UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 0-1: unexpected end of data Cause by the empty line in the end of json file; deleting it fixes it  

Posted in Uncategorized | Leave a comment

simplejson.decoder.JSONDecodeError: Extra data: line 262 column 34 – line 5632527 column 7 (char 11184 – 185818894)

simplejson.decoder.JSONDecodeError: Extra data: line 262 column 34 – line 5632527 column 7 (char 11184 – 185818894) In my case this error was caused by the absence of array characters (square brackets) i.e. […].  Adding them fixed the parsing error, the file format … Continue reading

Posted in Uncategorized | Leave a comment