Re: Activestate perlapp creates exe that hangs

Rocco Caputo <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Maybe exception handling is catching an error?

Before you use any POE modules, please define this subroutine:

sub POE::Kernel::CATCH_EXCEPTIONS () { 0 }

That will disable exception handling, which may uncover something  
useful.

-- 
Rocco Caputo - [email protected]


On Apr 20, 2009, at 15:53, Craig Votava wrote:

> Rocco-
>
> On Apr 20, 2009, at 2:42 PM, Rocco Caputo wrote:
>> I don't see POE::Loop::TkActiveState or POE::Loop::TkCommon in your  
>> --add directives.  Do you mean that perlapp recognizes them?
>
> Yes, it tries to figure out what needs to be included on its own  
> (the best it can). I usually start without an --add options on the  
> command line, then add it whatever the resulting executable  
> complains about not finding. The current command is probably  
> overkill (I didn't cull out the non-used modules), but you can see a  
> list of all the modules it includes by turning on verbose. Here's an  
> excerpt of the verbose output showing the POE stuff:
>
> +++ C:\Perl\site\lib\POE.pm
> POE\.pm:
> 	error: Can't locate POE\.pm
> 	refby: C:\Perl\site\lib\POE.pm line 57
> +++ C:\Perl\site\lib\POE\Driver\SysRW.pm
> +++ C:\Perl\site\lib\POE\Filter.pm
> +++ C:\Perl\site\lib\POE\Filter\Line.pm
> +++ C:\Perl\site\lib\POE\Kernel.pm
> +++ C:\Perl\site\lib\POE\Loop\PerlSignals.pm
> +++ C:\Perl\site\lib\POE\Loop\Select.pm
> +++ C:\Perl\site\lib\POE\Loop\Tk.pm
> +++ C:\Perl\site\lib\POE\Loop\TkActiveState.pm
> +++ C:\Perl\site\lib\POE\Loop\TkCommon.pm
> +++ C:\Perl\site\lib\POE\Queue\Array.pm
> +++ C:\Perl\site\lib\POE\Resource\Aliases.pm
> +++ C:\Perl\site\lib\POE\Resource\Events.pm
> +++ C:\Perl\site\lib\POE\Resource\Extrefs.pm
> +++ C:\Perl\site\lib\POE\Resource\FileHandles.pm
> +++ C:\Perl\site\lib\POE\Resource\SIDs.pm
> +++ C:\Perl\site\lib\POE\Resource\Sessions.pm
> +++ C:\Perl\site\lib\POE\Resource\Signals.pm
> +++ C:\Perl\site\lib\POE\Resource\Statistics.pm
> +++ C:\Perl\site\lib\POE\Resources.pm
> +++ C:\Perl\site\lib\POE\Session.pm
> +++ C:\Perl\site\lib\POE\Wheel.pm
> POE\XS\Queue\Array.pm:
> 	error: Can't locate POE\XS\Queue\Array.pm
> 	refby: C:\Perl\site\lib\POE\Kernel.pm line 28
>
> The full output is documented in the perlmonks article:
>
> http://www.perlmonks.org/?node_id=758312
>
> I'm guessing the answer will be that I need to --add something  
> that's missing, but I can't figure out what that is.
>
> Any help is very much appreciated! Even how to go about debugging  
> this further...
>
> Thanks
>
> -Craig
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.