Chaser: json.decode Error (chaser update not working)

(Cazador) #1

Hi!
When trying to run chaser update I get this error

chaser update
:: searching updates...
100% (20 of 20) |###############################################################################################################| Elapsed Time: 0:00:02 Time: 0:00:02
Traceback (most recent call last):
  File "/usr/bin/chaser", line 11, in <module>
    load_entry_point('chaser==0.9.6', 'console_scripts', 'chaser')()
  File "/usr/lib/python3.6/site-packages/chaser/__init__.py", line 52, in main
    return args.func(args)
  File "/usr/lib/python3.6/site-packages/chaser/chaser.py", line 197, in update
    updates = check_updates()
  File "/usr/lib/python3.6/site-packages/chaser/chaser.py", line 174, in check_updates
    data = ccr.info(pkgname)
  File "/usr/lib/python3.6/site-packages/ccr/ccr.py", line 72, in info
    results = _get_ccr_json(INFO, package)
  File "/usr/lib/python3.6/site-packages/ccr/ccr.py", line 57, in _get_ccr_json
    return json.loads(results.text, object_hook=Struct)
  File "/usr/lib/python3.6/json/__init__.py", line 367, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Uninstall chaser, reinstall chaser but still the same error. Any idea?

Tks!

Cheers
Cazador

(tomaggio) #2

I can confirm this problem. I#m affected too.

(totte) closed #3

Reported as per this on behalf of @Martin_Boggiano. Please continue here.