Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-05 Thread Nathan Stratton Treadway
On Thu, Apr 04, 2013 at 23:14:02 -, Barry Warsaw wrote: I have a horribly ugly workaround for PyCurl in the works. I'll link a branch when ready, but I want to get Matthias's input to see if a toolchain fix is more appropriate. (Since you have an environment set up to build the

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-05 Thread Nathan Stratton Treadway
On Fri, Apr 05, 2013 at 14:02:13 -, Nathan Stratton Treadway wrote: you to try building the package (without the workaround patch) against libssl instead of libgnutls? That might be a fairly-easy way to test the (More precisely: libcurlX-openssl instead of libcurlX-gnutls.)

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-05 Thread Barry Warsaw
On Apr 05, 2013, at 02:24 PM, Nathan Stratton Treadway wrote: On Fri, Apr 05, 2013 at 14:02:13 -, Nathan Stratton Treadway wrote: you to try building the package (without the workaround patch) against libssl instead of libgnutls? That might be a fairly-easy way to test the (More precisely:

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-05 Thread Nathan Stratton Treadway
On Fri, Apr 05, 2013 at 15:02:54 -, Barry Warsaw wrote: To be honest, I don't really have much more time to spend investigating this. The workaround fixes the problem and while a bit wasteful, seems harmless enough. Since Doko agrees, I think I'll just apply this for now, and maybe we can

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-05 Thread Barry Warsaw
On Apr 05, 2013, at 03:53 PM, Nathan Stratton Treadway wrote: I certainly agree that further investigation can wait until after Raring is released. My longer-term concern with masking this at the pycurl level is that if some library is leaving the floating-point registers in a confused state,

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-04 Thread Barry Warsaw
I was able to reproduce this on a 32bit Precise machine but not a 64bit Raring machine. I'm building out a 32bit Raring machine now to see if it's still reproducible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-04 Thread Barry Warsaw
Yes, 32bit Raring has this problem, 64bit does not apparently. ** Changed in: software-properties (Ubuntu) Status: Triaged = Invalid ** Changed in: pycurl (Ubuntu) Status: Triaged = In Progress ** Summary changed: - add-apt-repository/apt-add-repository fails with ValueError:

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-04 Thread Nathan Stratton Treadway
On Thu, Apr 04, 2013 at 21:06:58 -, Barry Warsaw wrote: Yes, 32bit Raring has this problem, 64bit does not apparently. I'm curious if the machine you are using is also an MMX-but-not-SSE2 machine; what does grep -E name|flags /proc/cpuinfo show? Or are you saying that you found the

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-04 Thread Barry Warsaw
On Apr 04, 2013, at 10:15 PM, Nathan Stratton Treadway wrote: I'm curious if the machine you are using is also an MMX-but-not-SSE2 machine; what does grep -E name|flags /proc/cpuinfo show? Or are you saying that you found the problem with 32-bit but not 64-bit Raring running on the same box

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-04 Thread Nathan Stratton Treadway
On Thu, Apr 04, 2013 at 23:14:02 -, Barry Warsaw wrote: when ready, but I want to get Matthias's input to see if a toolchain fix is more appropriate. Yeah, I was wondering about that too. It seems like the problem probably originates somewhere in libgnutls26 or below, since it's only

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-03 Thread Steve Langasek
** Changed in: pycurl (Ubuntu) Assignee: (unassigned) = Barry Warsaw (barry) -- 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/apt-add-repository fails with

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-04-02 Thread Brian Murray
** Also affects: pycurl (Ubuntu) Importance: Undecided Status: New ** Changed in: pycurl (Ubuntu) Status: New = Triaged ** Changed in: pycurl (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-21 Thread Rolf Leggewie
** Changed in: software-properties (Ubuntu) Importance: Undecided = Medium ** Changed in: software-properties (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-21 Thread Rolf Leggewie
the hacks works for me as well -- 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/apt-add-repository fails with ValueError: cannot convert float NaN to integer To

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-14 Thread Douglas King
currently it affects ppa:n-muench/calibre2 and ppa:n-muench/calibre -- 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/apt-add-repository fails with ValueError: cannot

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-14 Thread Nathan Stratton Treadway
On Thu, Mar 14, 2013 at 18:36:52 -, Douglas King wrote: currently it affects ppa:n-muench/calibre2 and ppa:n-muench/calibre If you are experiencing the same bug as I am, you will get the same error no matter what PPA you are trying to add. In other words, the problem is with your local

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-12 Thread b3nmore
I get: Object: lp.services.webapp.servers.WebServiceClientRequest instance URL=https://launchpad.net, name: '' before: 0.5 0.5 after: nan 0.5 with following cpu flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up -- You

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-07 Thread Nathan Stratton Treadway
I found a Redhat bug that seems to be related: https://bugzilla.redha t.com/show_bug.cgi?id=758446 (It's for a different Python program, but pycurl is used there, too, and in it NaNs are similarly showing up in unexpected places.) In comment #9, Zdeněk Pavlas suggests the problem might

Re: [Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-07 Thread Nathan Stratton Treadway
On Wed, Mar 06, 2013 at 11:18:25 -, Paul BROWN wrote: I can confirm this patch worked for me! Cool. I'm curious if you get the same result I do when running the direct python test mentioned in comment #10. Actually, here's basically the same test, but in a format easier to cut-and-paste

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-06 Thread Ubuntu Foundations Team Bug Bot
The attachment quick-and-dirty workaround for the NaN generated by pycurl.close() of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-06 Thread Paul BROWN
I can confirm this patch worked for me! I'm a n00b with using the bug tracking system, so sorry if this comment is not needed or should have included more information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1063350] Re: add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer

2013-03-05 Thread Nathan Stratton Treadway
** Summary changed: - add-apt-repository and apt-add-repository fails + add-apt-repository/apt-add-repository fails with ValueError: cannot convert float NaN to integer ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to