之前正常的,貌似更新版本后,现在什么都不正常了
Traceback (most recent call last):
File "D:\PythonProjects\python-ywf\unittest\password_set.py", line 24, in ule>
r = cloudfunc.run('myinfo_get_avatar')
File "D:\Python27\lib\site-packages\leancloud\engine\cloudfunc.py", line 19, i
n run
response = leancloud.client.post('/functions/{0}'.format(name), params=param
s)
File "D:\Python27\lib\site-packages\leancloud\client.py", line 75, in new_func
return func(headers=headers, *args, **kwargs)
File "D:\Python27\lib\site-packages\leancloud\client.py", line 90, in new_func
content = utils.response_to_json(response)
File "D:\Python27\lib\site-packages\leancloud\utils.py", line 230, in response
tojson
return json.loads(content)
File "D:\Python27\lib\json__init__.py", line 338, in loads
return defaultdecoder.decode(s)
File "D:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Python27\lib\json\decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-
创建时间
15年8月21日
-
最后回复
15年8月27日
-
1
回复
-
781
浏览
-
2
用户