[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-03-05 Thread Nathan Stratton Treadway
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

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-03-05 Thread Nathan Stratton Treadway
Actually, it looks like the problem is in pycurl, since calling .close() seems to cause the very next floating point operation to return NaN. (In the case of add-apt-repository, that floating point operation just happens to be in the random() call invoked from inside the tempfile.mkdtemp() function

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-03-05 Thread Nathan Stratton Treadway
The significant change between python-software-properties 0.82.7 and 0.82.7.3 is in the .3 release: "softwareproperties/ppa.py: download gpg key to temporary keyring, and validate using v4 fingerprint before importing to apt keyring." (Specifically, that change is the reason that tempfile.mkdtemp

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-02-16 Thread Ian
Confirm bug for trying to add ppa:webupd8team/y-ppa-manager and ppa:webupd8team/java, and #4's workaround working, on a machine running 12.04 with an AMD Athlon ian@Athlon:~$ lscpu Architecture: i686 CPU op-mode(s):32-bit Byte Order:Little Endian CPU(s):

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-02-10 Thread Rasmus
The workaround mentioned in #4 worked for me. I've tried adding the same repository on two different PCs both running 12.04.2, but only the one with a AMD Sempron 2600+ CPU had the bug. The other PC has a Core i3 CPU. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-01-16 Thread JonH
What hardware are you seeing the problem on? I'm wondering if this might be a CPU capability dependent bug because I don't get the error on a new Ubuntu Server 12.04.1 32bit installation in a VM on a VMWare ESXi 4.1 host running on a PowerEdge R710 with dual Xeon L5520 CPUs. I do get the problem wi

[Bug 1063350] Re: add-apt-repository and apt-add-repository fails

2013-01-11 Thread Frank Santoro
** Also affects: pkg-games-ppa (Ubuntu) Importance: Undecided Status: New ** No longer affects: pkg-games-ppa (Ubuntu) -- 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