curl-and-python

PyCurl on win32: fails to initialize when machine offline

From: Alexander Belchenko <bialix_at_ukr.net>
Date: Mon, 24 Apr 2006 13:46:12 +0300

PyCurl used in bzr (Bazaar-NG) DRCS. I try to test it on windows machine
and got strange results: when my machine is offline (disconnected from
Internet) then PyCurl does not want to work. Here small example that
illustrate problem:

>>> import pycurl
>>> pycurl.Curl()
Traceback (most recent call last):
    File "<stdin>", line 1, in ?
pycurl.error: initializing curl failed

But when I'm online all works OK.

Is this intended behaviour or I need to make some additional settings to
force PyCurl works in offline environment?

--
Alexander
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2006-04-24