PyCurl 7.15.5 not working on AMD64

Bug #118659 reported by Davide Capodaglio
8
Affects Status Importance Assigned to Milestone
pycurl (Ubuntu)
Fix Released
Medium
Matthias Klose
Feisty
Fix Released
Medium
Matthias Klose

Bug Description

Binary package hint: python-pycurl

PyCurl 7.15.5 included in Feisty does not work for AMD64.
To reproduce, try to use the setopt method specifying a POSTFIELDS option: this raise an exception of code 2 (CURLE_FAILED_INIT).
See also
http://curl.haxx.se/mail/curlpython-2007-04/0009.html
This problem is solved in 7.16.2, see
http://curl.haxx.se/mail/curlpython-2007-04/0010.html

The solution can be a backport of the new version of pycurl and libcurl from Gutsy or a backport of the fix into 7.15.5 for feisty.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your report. As you aid uptream committed the fix, could you ask for a backport following <https://help.ubuntu.com/community/UbuntuBackports> ? Thank you.

Changed in pycurl:
status: Unconfirmed → Fix Committed
Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 118659] Re: PyCurl 7.15.5 not working on AMD64

Jérôme Guelfucci schrieb:
> Thank you for your report. As you aid uptream committed the fix, could
> you ask for a backport following
> <https://help.ubuntu.com/community/UbuntuBackports> ? Thank you.
>
> ** Changed in: pycurl (Ubuntu)
> Status: Unconfirmed => Fix Committed

I disagree; please just fix the bug, follow the rules for stable release updates
and prepare an upload for feisty-proposed.

  Matthias

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Ohhhh sorry, I thought this package was in universe. My bad, I apologize : forget my comment above.

Revision history for this message
Davide Capodaglio (davidecapod) wrote :

I solved the bug by manually backporting the original patch (taken from pycurl CVS) to 7.15.5 sources of feisty.
This should fix the problem!

Revision history for this message
Matthias Klose (doko) wrote :

Davide Capodaglio schrieb:
> I solved the bug by manually backporting the original patch (taken from pycurl CVS) to 7.15.5 sources of feisty.
> This should fix the problem!

the patch looks fine; would you mind preparing a package for feisty-proposed?

Revision history for this message
Davide Capodaglio (davidecapod) wrote :

Well I made a working package by rebuilding original pycurl_7.15.5_amd64 with the applied patch, but I don't know how to do it in the "official way" for feisty-proposed... what about version number, changelog, ecc?
If you can give me some hints I surely can do this.
But BTW, this shouldn't be done by Canonical since the package is in main?

Revision history for this message
Matthias Klose (doko) wrote :

Davide Capodaglio schrieb:
> Well I made a working package by rebuilding original pycurl_7.15.5_amd64 with the applied patch, but I don't know how to do it in the "official way" for feisty-proposed... what about version number, changelog, ecc?
> If you can give me some hints I surely can do this.

please see https://wiki.ubuntu.com/StableReleaseUpdates

> But BTW, this shouldn't be done by Canonical since the package is in main?

having a package in main means it's supported; package maintainance in main is
not limited to Canonical, many community people care about packages in main as well.

Revision history for this message
Davide Capodaglio (davidecapod) wrote :

I am not sure I have understood this burocratic procedure, SRU proposals, where to upload packages, etc etc
I updated the changelog and brought the version to 7.15.5-1ubuntu2.
I attached here everything I obtained from the package creation process with "debuild -v".

Please tell me if I have done something wrong :-)

Revision history for this message
Matthias Klose (doko) wrote :

thanks for the backport and sorry for the deiay; additionally

 - I did set the distribution to feisty-proposed
 - Nominated the package for feisty
 - Subscribed ubuntu-sru.

closing the main bug report

Changed in pycurl:
importance: Undecided → Medium
status: New → Confirmed
importance: Undecided → Medium
status: Fix Committed → Fix Released
assignee: nobody → doko
assignee: nobody → doko
Revision history for this message
Martin Pitt (pitti) wrote :

Approved, please go ahead and upload.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into feisty-proposed.

Changed in pycurl:
status: Confirmed → Fix Committed
Revision history for this message
okeuday (mjtruog) wrote :

Please allow this to be an update through the package manager. This is an annoying problem which makes pycurl useless on amd64 (probably ia64 too). Thank you for providing the proposed patch version.

Revision history for this message
Scott Kitterman (kitterman) wrote :

To get this released, we need people to test the package in feisty-proposed and say here in the bug that it works.

Revision history for this message
okeuday (mjtruog) wrote :

I have had it work. Previously my pycurl dependent application did not run on feisty ubuntu, but now it does after only installing the proposed package. My application had worked previous to this on other system configurations.

Revision history for this message
okeuday (mjtruog) wrote :

The application can be found here:
http://sourceforge.net/projects/preferredsearch

The source in cvs should be used since there seemed to be slightly different behavior with the version of pyparsing on feisty.

Revision history for this message
Davide Capodaglio (davidecapod) wrote :

The update works perfectly for me.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Since this package is in Ubuntu Main, one of the sru-verification members (I'm not one) has to verify the fix. I checked via IRC and it looks like the application mentioned above would take more time than they have to set up just to verify the fix. If someone (anyone) could provide a short test case script, I think we could get this released into feisty-updates pretty quickly.

Revision history for this message
Martin Pitt (pitti) wrote :

This has been sitting in -proposed for over three months now. Please provide a detailled test case (see https://wiki.ubuntu.com/StableReleaseUpdates) for verification.

Revision history for this message
Davide Capodaglio (davidecapod) wrote :

>>> import pycurl
>>> pycurl.Curl().setopt(pycurl.POSTFIELDS, 'foo')

this fails if without the fix.

See the pycurl mailing list as said at the top of this bug report

Revision history for this message
Martin Pitt (pitti) wrote :

With above test case I can reproduce the error on amd64, and it is fixed with the -proposed version.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to feisty-updates.

Changed in pycurl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.