kerchen / kerchen/export_gr2evernote

ValueError: Expecting object from python 2.7.1 on Mac OS X

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
64
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Tried to follow the steps from http://www.howtogeek.com/162106/how-to-export-your-starred-items-from-google-reader/ but I'm seeing the following error:

Lees-MacBook-Pro:Reader lee$ python ./export2HTMLFiles.py
Traceback (most recent call last):
File "./export2HTMLFiles.py", line 59, in
json_dict = json.loads( unicode(json_file.read(), encoding="utf-8") )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/**init**.py", line 326, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 360, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 376, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting object: line 28695 column 3 (char 6444831)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with export2HTMLFiles.py at line 59 and reproduce the reported Python 2.7 command on the supplied export data. Inspect the JSON around line 28695, column 3, to determine why parsing stops there; done means the script parses the data and completes its export without this ValueError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.