got annoying eror :(
- Dominant language
- Python
- Stars
- 827
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\line\client.py", line 88, in __init__
self.login()
File "C:\Python27\lib\site-packages\line\api.py", line 88, in login
j = self._get_json(self.LINE_SESSION_LINE_URL)
File "C:\Python27\lib\site-packages\line\api.py", line 335, in _get_json
return json.loads(self._session.get(url, headers=self._headers).text)
File "C:\Python27\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
ive see and change and follow the instruction in [https://github.com/carpedm20/LINE/issues/92](url)
but nothing's change and still got an error
Appreciate someone's help.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the traceback in line/client.py and line/api.py, especially the login path and _get_json call. Review issue 92 and compare the response returned by LINE_SESSION_LINE_URL with the JSON parsing step. Done means identifying why the response is not valid JSON and confirming that login succeeds or that the failure is reported clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100