Home > Archive > PERL POE > May 2006 > INTERNAL ERROR
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Sagar A Chaitanya Reddy 2006-05-03, 8:11 am |
| Hi All,
I am new to POE.I got a problem when i run the POE script.It is
showing this message and then doing the things.
I am just running the bsub jobs by creating different childs
using POE::COMPONENT::CHILD.
Though it is showing error,it is giving the final results
properly.I couldnot understand the reason for this.
If you have any idea please help me in this regard.The eror
message is like this.
INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it at
/apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it at
/apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
Thank you
Regards
Sagar
| |
| Rocco Caputo 2006-05-07, 7:37 pm |
| When POE::Wheel::Run unties STDOUT and STDERR for you in the child
process, it also warns that it's doing so. Something is labeling
these warnings as "INTERNAL ERROR", but it's not POE. Perhaps it's
POE::Component::Child?
The code is:
# Stdio should not be tied. Resolves rt.cpan.org ticket 1648.
if (tied *STDOUT) {
carp "Cannot redirect into tied STDOUT. Untying it";
untie *STDOUT;
}
if (tied *STDERR) {
carp "Cannot redirect into tied STDERR. Untying it";
untie *STDERR;
}
--
Rocco Caputo - rcaputo@pobox.com
On May 3, 2006, at 08:22, Sagar A Chaitanya Reddy wrote:
> Hi All,
>
> I am new to POE.I got a problem when i run the POE script.It
> is showing this message and then doing the things.
> I am just running the bsub jobs by creating different childs
> using POE::COMPONENT::CHILD.
> Though it is showing error,it is giving the final results
> properly.I couldnot understand the reason for this.
> If you have any idea please help me in this regard.The eror
> message is like this.
>
> INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
> INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
>
> Thank you
>
> Regards
> Sagar
| |
| Erick Calder 2006-05-07, 7:37 pm |
| the INTERNAL ERROR doesn't come from ::Child either but the error handler
can be set by the caller so my guess is his code generates that. beyond
that, I'm not sure why there's an error at all...
-----Original Message-----
From: Rocco Caputo [mailto:rcaputo@pobox.com]
Sent: Thursday, May 04, 2006 6:58 AM
To: poe@perl.org
Subject: Re: INTERNAL ERROR
When POE::Wheel::Run unties STDOUT and STDERR for you in the child
process, it also warns that it's doing so. Something is labeling
these warnings as "INTERNAL ERROR", but it's not POE. Perhaps it's
POE::Component::Child?
The code is:
# Stdio should not be tied. Resolves rt.cpan.org ticket 1648.
if (tied *STDOUT) {
carp "Cannot redirect into tied STDOUT. Untying it";
untie *STDOUT;
}
if (tied *STDERR) {
carp "Cannot redirect into tied STDERR. Untying it";
untie *STDERR;
}
--
Rocco Caputo - rcaputo@pobox.com
On May 3, 2006, at 08:22, Sagar A Chaitanya Reddy wrote:
> Hi All,
>
> I am new to POE.I got a problem when i run the POE script.It
> is showing this message and then doing the things.
> I am just running the bsub jobs by creating different childs
> using POE::COMPONENT::CHILD.
> Though it is showing error,it is giving the final results
> properly.I couldnot understand the reason for this.
> If you have any idea please help me in this regard.The eror
> message is like this.
>
> INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
> INTERNAL ERROR >> Cannot redirect into tied STDERR. Untying it
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
>
> Thank you
>
> Regards
> Sagar
|
|
|
|
|