Comment 16 for bug 861258

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Sorry, but I have tha same problem, instead this is marked as Fix Released.

I have tried:

user@ubuntu:~$ sudo add-apt-repository ppa:~kernel-ppa/mainline/v3.3-precise/
[sudo] password for user:
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 88, in <module>
    ppa_info = get_ppa_info_from_lp(user, ppa_name)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 83, in get_ppa_info_from_lp
    return json.loads(lp_page)
  File "/usr/lib/python2.7/json/__init__.py", line 326, 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
user@ubuntu:~$
----------------------------------------------------------------------------------------------------------------------------------

the ppa is properly wrong, but this should bot throw an error.

I am on Ubuntu11.10 64bit with software-properties-common 0.81.13.3