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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/861258

Title:
  add-apt-repository crashed with ValueError in raw_decode(): No JSON
  object could be decoded

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/861258/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to