curl-and-python

RE: pycurl.error: (2, '')

From: Nathan Tresch <ntresch_at_hotmail.com>
Date: Fri, 20 Apr 2007 07:18:37 -0700

Can you give me instructions on how to do that?Regards,
Nathan C. Tresch> Date: Fri, 20 Apr 2007 10:27:44 +0200> From: kjetilja@gmail.com> To: curl-and-python@cool.haxx.se> Subject: Re: pycurl.error: (2, '')> > hi,> > that's strange. there are no changes to the pycurl code between> 7.15.5.1 and 7.16.2 that should cause this to happen. my test code> for POSTFIELDS runs fine with 7.16.2.> > if this is easily reproducible, could you try running the code within> gdb? a c-level backtrace may help figure out what the problem is.> > regards,> - kjetil> > On 4/19/07, Nathan Tresch <ntresch@hotmail.com> wrote:> >> > I get the following error under pycurl 7.16.2:> >> > Traceback (most recent call last):> > File "checkTrips.py", line 155, in <module>> > main()> > File "checkTrips.py", line 36, in main> > priceScraper.getCurrentPrice(ithItin.trip, webConn)> > File> > "/usr/local/data/www/yapta.com/utilities/priceScrapers/priceScraper.py",> > line 50, in getCurrentPrice> > tripFlights, flights, httpConn)> > File> > "/usr/local/data/www/yapta.com/utilities/priceScrapers/priceScraper.py",> > line 163, in extractAirlineSingle> > tripFlights, flights, httpConn)> > File> > "/usr/local/data/www/yapta.com/utilities/priceScrapers/alaskaPriceScraper.py",> > line 43, in extractSingle> > tripFlights, aTrip)> > File> > "/usr/local/data/www/yapta.com/utilities/priceScrapers/alaskaPriceScraper.py",> > line 86, in extractSingleMC> > page = httpConn.getPage(curlArgs)> > File> > "/usr/local/data/www/yapta.com/utilities/network/webConnection.py",> > line 32, in getPage> > strIO=self.__getURL.getPage(args)> > File> > "/usr/local/data/www/yapta.com/utilities/getURL.py", line> > 65, in getPage> > self.c.setopt(pycurl.POSTFIELDS, args['postData']);> > pycurl.error: (2, '')> >> > When I was running under pycurl 7.15.5.1 we didn't have this problem.> >> > Can anyone tell me what's wrong?> >> > Regards, Nathan C. Tresch> > ________________________________> > Explore the seven wonders of the world Learn more!> > _______________________________________________> > http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python> >> >> _______________________________________________> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2007-04-20