error: cannot invoke setopt() - perform() is currently running

alex goretoy aleksandr.goretoy at gmail.com
Thu Jan 15 02:36:58 EST 2009


more info for all:

the class I'm trying to use threading on top of called pcrunchly. I've
posted it previously on here, but you can find it at this link.

http://article.gmane.org/gmane.comp.python.general/604050

How can i make this work with threading Thread?

On 1/15/09, alex goretoy <aleksandr.goretoy at gmail.com> wrote:
> hello all,
>
> I have a problem when using pycurl with threading Thread
>
> from threading import Thread
>
> the error i get is this:
>
> error: cannot invoke setopt() - perform() is currently running
>
>
> how do I catch a error like this in my code and perform a action like
> wait for perform to finish until it tries to setopt again?
>
> Has anyone come across this?
>
> Any help in this matter will be highly appreciated, I've spent a week
> on this and can't seem to figure it out. Googling hasn't brought me
> any thing except my own code....hahaha go figure TIA
>
> --
> -Alex Goretoy
> http://www.alexgoretoy.com
> somebodywhocarez at gmail.com
>


-- 
-Alex Goretoy
http://www.alexgoretoy.com
somebodywhocarez at gmail.com



More information about the Python-list mailing list