[Bug 861258] Re: add-apt-repository crashed with ValueError in raw_decode(): No JSON object could be decoded

hexes 861258 at bugs.launchpad.net
Wed Jul 4 10:05:52 UTC 2012


sudo add-apt-repository ppa:tim-klingt/opencinematools
You are about to add the following PPA to your system:
 
 More info: https://launchpad.net/~tim-klingt/+archive/opencinematools
Press [ENTER] to continue or ctrl-c to cancel adding it

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 95, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 105, in add_ppa_signing_key
    ppa_info = get_ppa_info_from_lp(owner_name, 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

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

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

Status in “software-properties” package in Ubuntu:
  Fix Released

Bug description:
  I tried to insert a PPA but an error appeared. I tried later but all
  worked fine.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: python-software-properties 0.81.9
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu1
  Architecture: i386
  Date: Wed Sep 28 10:16:56 2011
  ExecutablePath: /usr/bin/add-apt-repository
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:webkit-team/ppa
  PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:webkit-team/ppa']
  SourcePackage: software-properties
  Title: add-apt-repository crashed with ValueError in raw_decode(): No JSON object could be decoded
  UpgradeStatus: Upgraded to oneiric on 2011-09-26 (1 days ago)
  UserGroups:

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




More information about the foundations-bugs mailing list