POE::Component::Logger roadmap

2010-10-27 Thread Olivier Mengué
if you are a PoCo::Logger user, and in particular if you have a CPAN distribution that uses it: that could help me to understand how P:C:L is actually used for writing the right regression tests. Olivier Mengué, POE::Component::Logger co-maint.

Re: Easy way to daemonize a POE script?

2010-03-10 Thread Olivier Mengué
2010/3/10 Winfried Neessen nees...@cleverbridge.com Now I'd like to run it independently, so my question is, is there an easy way for me to run a POE script daemonized (w/o having to use Unix backgrounding/forking)? You'll of course have to use that. But use CPAN packages. I've used

Re: unexpected _child(lose) for a detached session from _start

2009-11-20 Thread Olivier Mengué
2009/11/20 Rocco Caputo rcap...@pobox.com Agreed, a _child(lose) before the _child(create) is bad. This a case of _child(lose) without any _child(create) ever (neither before or after). It should either be a _child(create)/_child(lose) pair, or nothing in this case. I'm tempted to go

unexpected _child(lose) for a detached session from _start

2009-11-19 Thread Olivier Mengué
]) ne 'Detached', $_[STATE]($_[ARG0]) fired for .$_[KERNEL]-alias_list($_[ARG1]-ID)); }, }, ); POE::Kernel-run(); pass _child not fired for session detached in _start unless $_child_fired != 2; pass Stopped; Olivier Mengué http://o.mengue.free.fr/

Bug #50907 blocks ActiveState auto-packaging of POE since May

2009-11-16 Thread Olivier Mengué
Could someone have a look at bug #50907 ? t/30_loops/select/connect_errors.t failure on Win32 (blocks ActiveState PPM auto-packaging) http://rt.cpan.org/Public/Bug/Display.html?id=50907

Debugging not stopping sessions

2009-11-16 Thread Olivier Mengué
Hi, I'm using POE::Wheel::Run::Win32 0.16 with POE 1.006 on ActivePerl 5.10 (1003). My POE-based program has a main session which launchs sessions which use a P::W::R::Win32 to run an external process. The process are running OK, the output is returned OK, the sig_child is fired as expected.

Re: Git

2009-10-26 Thread Olivier Mengué
2009/10/25 Joel Bernstein j...@fysh.org On 25 Oct 2009, at 19:19, Guy Hulbert wrote: On Sun, 2009-25-10 at 11:23 -0600, chris fedde wrote: you might also consider hanging out on irc.perl.org#poe. Most of the active developers frequent that channel. Thanks for letting me know. I have

Fwd: Which editor(s) or IDE(s) are you using for Perl development?

2009-10-22 Thread Olivier Mengué
Hi, Gabor Szabo, the Padre team leader, has started a poll about editors/IDE. See his message below. Olivier. -- Forwarded message -- From: Gabor Szabo Date: 2009/10/21 Subject: Which editor(s) or IDE(s) are you using for Perl development? Hi, I am running a poll with the

Re: POE::Wheel::Run::Win32 and Win32::Daemon

2009-10-19 Thread Olivier Mengué
2009/10/13 Andrew Feren acfe...@yahoo.com I'm not really sure, but I'd guess that the Daemon module isn't copying/cloning something that it should. As a result Win32::Daemon::StopService(); is getting called unexpectedly in a DESTROY or END block when the child exits. That is probably the

Re: Upcoming POE Changes

2009-10-12 Thread Olivier Mengué
2009/10/9 Rocco Caputo rcap...@pobox.com [This is a repost of http://use.perl.org/~rcaputo/journal/39736http://use.perl.org/%7Ercaputo/journal/39736 ] I've also released Version 1.269_002 to the CPAN for developers who are more comfortable with that. Remember: CPAN shells don't install

Re: POE::Wheel::Run::Win32 and Win32::Daemon

2009-10-12 Thread Olivier Mengué
day a fixed Win32::Daemon. Olivier Mengué (dolmen).

Re: Communication between a Session and TCP Client Component

2009-10-12 Thread Olivier Mengué
2009/10/11 Dave Schwartz dece...@gmail.com Hi, Excuse me for spamming a long mail. Stumbled upon POE and want to use it for my latest project. Don't worry. All messages on this list are usually quite long. Is there something obviously wrong here when the user tries to give an offset

Re: I need some help with POE::Wheel::Run on Windows

2009-10-02 Thread Olivier Mengué
2009/10/2 Rocco Caputo rcap...@pobox.com First, thanks to Andrew Feren, POE::Wheel::Run::Win32 has been merged into POE::Wheel::Run. Great news ! I'm using POE::Wheel::Run::Win32 with my patch for bug #43995 https://rt.cpan.org/Ticket/Display.html?id=43995 Looks like you applied the patch.

Re: session not stopping

2009-09-30 Thread Olivier Mengué
2009/9/30 Andreas Altergott alterg...@mira-consulting.net It simply does not shut down, although there are no more jobs running from my point of view. I don't understand yet though, how I can check, if there is indeed something still keeping it alive. (replying to the list this time. Grrr)

Re: running POE as a windows service

2009-09-30 Thread Olivier Mengué
2009/9/29 Andreas Altergott alterg...@mira-consulting.net Hi, I was trying to find a solution how to run POE applications as a Windows service. I've found two solutions so far, but I am not quite satisfied with them. I'm also writing a Win32 service with POE for a few months now. You may

Re: run an interactive command using POE::Wheel?

2009-09-26 Thread Olivier Mengué
2009/9/25 woosley. xu. redic...@gmail.com besides, if you write the interactive code like this: my $user = STDIN; chomp $user; $_[HEAP]-{job}-put($user); my $pass = STDIN; chomp $pass; $_[HEAP]-{job}-put($pass); It won't pop up all the message from the child process

Re: run an interactive command using POE::Wheel?

2009-09-26 Thread Olivier Mengué
2009/9/24 Andreas Altergott alterg...@mira-consulting.net Please let me (us on the mailing list ;-) ) know if you do. It would be easier if the mailing list admin would reconfigure the list so we get poe@perl.org as the recipient when we choose Reply. More than once I made the mistake of

POE debugging without STDOUT/STDERR ?

2009-09-22 Thread Olivier Mengué
Hi, I'm building a Windows service with POE (using POE::Component::Daemon::Win32). In a service I have no access to STDOUT/STDERR. The only output I have is my log file (Log::Dispatch::File). How can I use POE's debugging features without access to STDOUT/STDERR? I would like to find why a event

Re: POE debugging without STDOUT/STDERR ?

2009-09-22 Thread Olivier Mengué
Le 22 septembre 2009 11:42, Olivier Mengué olivier.men...@gmail.com a écrit : How can I use POE's debugging features without access to STDOUT/STDERR? This was obvious: close STDOUT; close STDERR; open STDOUT, ':utf8', ${log_file}.out; print STDOUT --\n; open

Re: POE::Test::Loops 1.020, and upcoming POE releases

2009-07-24 Thread Olivier Mengué
() is set, which the Perl documentation clearly warns against, and is effectively not working on HP-UX. Also, why did the version number bump from 1.005 to 1.020 ? [1] http://rt.cpan.org/Ticket/Display.html?id=45158 -- Olivier Mengué http://search.cpan.org/~dolmen/

Re: POE::Component::Server::TCP bug fixes, possibly incompatible

2009-07-21 Thread Olivier Mengué
as such. Cheers, As a POE::Component::Server::TCP user (useful to quickly write tests for client components), I prefer option C as I complained about 2 months ago : http://www.mail-archive.com/poe@perl.org/msg04260.html Olivier Mengué.

Re: POE::Component::Server::TCP bug fixes, possibly incompatible

2009-07-21 Thread Olivier Mengué
Euh, well, I was meaning option A. But either A or C is good for me. Option B is too awkward as a bad API would stay forever and would bite any new Server::TCP user. Le 21 juillet 2009 12:37, Olivier Mengué olivier.men...@gmail.com a écrit : 2009/7/16 Chris 'BinGOs' Williams ch

Re: POE site not displayed correctly under IE7

2009-06-27 Thread Olivier Mengué
It looks like the wiki login does not work correctly. The login page and the signup/preferences pages says I'm logged in (user name : Dolmen, user id : 1062), but the other pages don't. When I try to login, it says the password I defined from the preferences page is invalid. 2009/6/26 Rocco

[Announce] POE::Component::Schedule

2009-06-05 Thread Olivier Mengué
=2 for the history Olivier Mengué (DOLMEN).

Component::Server::TCP: how to get access to the server's HEAP from a client handler?

2009-05-26 Thread Olivier Mengué
Hi, I'm using POE for 3 months now with great pleasure. Thanks to all the developers! I'm now playing with TCP client and server. I've created a POE::Component::Server::TCP which has global state stored in its HEAP, initialized in the Started event. How can I get access to that HEAP from the

Re: Component::Server::TCP: how to get access to the server's HEAP from a client handler?

2009-05-26 Thread Olivier Mengué
Le 26 mai 2009 16:46, Mark Morgan makk...@gmail.com a écrit : From the P:C:S:TCP docs, it looks like you should be able to do this by passing a reference to it via ClientArgs constructor argument. You may need to end up weakening it in client, to allow the server sessions and anything else