LINE icon indicating copy to clipboard operation
LINE copied to clipboard

No JSON object could be decoded

Open itayayuichiro opened this issue 8 years ago • 1 comments

from line import LineClient client = LineClient("ID", "pass") Traceback (most recent call last): File "", line 1, in File "line/client.py", line 88, in init self.login() File "line/api.py", line 88, in login j = self._get_json(self.LINE_SESSION_LINE_URL) File "line/api.py", line 335, in _get_json return json.loads(self._session.get(url, headers=self._headers).text) File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 339, in loads return _default_decoder.decode(s) File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

itayayuichiro avatar Jun 01 '17 11:06 itayayuichiro

Please see Issue #92 .

Nilpo avatar Jun 26 '17 21:06 Nilpo