Hello
as usual i am stuck....
making the following:
print("sending out batch \n");
my $task = POE::Wheel::Run->new
��������( Program => sub {�
�������� print("about to spawn batch\n");
�������� $actor->batch($job)�
�������� },
�������� StdoutFilter => POE::Filter::Reference->new(),
�������� StdoutEvent => "task_result",
�������� StderrEvent => "task_debug",
�������� CloseEvent => "task_done",
�������� );
etc..
but when i execute this, i see the
sending out batch
sent out batch
but the print of the anon sub... nothing, and no result from prints from
the object method beeing called, and nothing in the DB.... so this call
gets somehow lost...
insteresting thing: on one machine (POE upgrade made yesterday) the
whole script stops there wihtout any further messages, and on the other
(POE upgrade from december), the script runs through till its normal end
(but without building the DB tables...)
the test script begins with
sub POE::Kernel::ASSERT_EVENTS () { 1 };
sub POE::Kernel::ASSERT_STATES () { 1 };
sub POE::Kernel::ASSERT_DEFAULT () { 1 };
but i can't see what's going wrong...
what can i do to debug this one??
if someone wants to check out for onesself:
CVS_RSH="ssh"; cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/zebot
co zebot
you need a postgres DB with a database for your user named zebot
and the file ~/.zebot/config/pam.conf with the content:
database DBI:Pg:dbname=zebot
dbuser username
dbpasswd passwd
then launch the ./test.pl script....
--
ciao bboett
==============================================================
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett
===============================================================