Given that performing any sort of floating-point operation seems to
clear the error condition, I tried simply added a "dummy = 1.0/2" line
to the get_ppa_info_from_lp() function immediately after the
curl.close() line (see attached patch)... and after that add-apt-
repository successfully processed the PPA key that had previously caused
it to fail.

** Patch added: "quick-and-dirty workaround for the NaN generated by 
pycurl.close()"
   
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1063350/+attachment/3559649/+files/python-software-properties_ppa.py.patch

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

Title:
  add-apt-repository and apt-add-repository fails

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to