ValueError: No JSON object could be decoded

.Hi all,

From yesterday, I have got the following error whatever I am doing (I have got a fresh installation of Yunohost and started to install new apps) :

yunohost --verbose --debug tools update
294  DEBUG loading actions map namespace 'yunohost'
378  DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
379  DEBUG initializing base actions map parser for cli
384  DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
669  DEBUG lock has been acquired
5256 INFO processing action [6678.1]: yunohost.tools.update with args={'ignore_packages': False, 'ignore_apps': False}
6983 INFO Updating the list of available packages...
22875 INFO Done
22878 DEBUG Attempting to fetch list yunohost at https://app.yunohost.org/official.json
22897 INFO Starting new HTTPS connection (1): app.yunohost.org
23534 DEBUG "GET /official.json HTTP/1.1" 200 29296
23608 SUCCESS The application list yunohost has been fetched
23609 DEBUG Attempting to fetch list community at https://app.yunohost.org/community.json
23614 INFO Starting new HTTPS connection (1): app.yunohost.org
23785 DEBUG "GET /community.json HTTP/1.1" 200 259394
23943 SUCCESS The application list community has been fetched
25048 DEBUG action [6678.1] ended after 19.791s
25048 DEBUG lock has been released
Traceback (most recent call last):
  File "/usr/bin/yunohost", line 219, in <module>
    timeout=opts.timeout,
  File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 136, in cli
    moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 390, in run
    ret = self.actionsmap.process(args, timeout=timeout)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 495, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/tools.py", line 452, in tools_update
    app_dict = app_info(app_id, raw=True)
  File "/usr/lib/moulinette/yunohost/app.py", line 337, in app_info
    ret = app_list(filter=app, raw=True)[app]
  File "/usr/lib/moulinette/yunohost/app.py", line 293, in app_list
    app_info_dict['status'] = _get_app_status(app_id)
  File "/usr/lib/moulinette/yunohost/app.py", line 1387, in _get_app_status
    status = json.loads(str(f.read()))
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Could you please help me ?

Hi,
I have the same problem, did you solved it ?