Hello,
Can someone tell me something about this? ;-)
~jonathan
On Mon, Nov 30, 2009 at 1:47 AM, Jonathan Stoppani
<jon...@ga...> wrote:
> Hi All,
> my first post here. ;-)
>
> I'm trying to use the twisted networking library integrating some
> QTKit functionalities into the application.
>
> I run my console script interleaving twisted's reactor with
> AppHelper.callLater and all works fine, except for the shutdown after
> a SIGINT.
>
> After digging into the code I found that the installInterrupt=True
> parameter of AppHelper.runConsoleEventLoop() imports from
> PyObjCTools/MachSignals.py which uses the _machsignals module.
>
> I tried a search in google and finally found a reference to a
> machsignals.m file which creates a _machsignal python module in PyObjC
> version 1.3.
>
> Searching the 2.2 codebase I found a reference to this file in
> pyobjc/pyobjc-core/MANIFEST (line 771):
> Modules/CoreFoundation/machsignals.m but the file (and the folder)
> does not exists.
>
> Is this incoherence a bug or is there another way to trigger the
> SIGINT handling code from python while not running python code?
>
> Thanks for the help, greets
>
> ~jonathan
>
> P.S. Hitting C-c on the command line produces the following error:
>
> ^C2009-11-30 01:14:38.203 python[82197:10b] *** NSRunLoop ignoring
> exception '<type 'exceptions.KeyboardInterrupt'>: ' that raised during
> posting of delayed perform with target 0x3181cb0 and selector
> 'callAfter:'
>
>
> --
> Best Regards,
> Jonathan Stoppani
>
--
Best Regards,
Jonathan Stoppani
|