You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Rajesh Kumar Mallah." <ma...@trade-india.com> on 2002/12/18 08:08:37 UTC
Update ...
I am using Embperl 1.3.4
and its pumping 1000s of those lines every minute
into /tmp/embperl.log will any one please help
regds
mallah.
On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote:
> Hi All,
>
> I get following error in my embperl.log file on every request i think.
>
> [27802]CUP: Error while closing HTML::Embperl::DOC::_12::LOG: Can't locate
> object method "CLOSE" via package "HTML::Embperl::Log" at
> /opt/perl/lib/site_perl/5.8.0/i686-linux/HTML/Embperl.pm line 1448.
>
> can anyone tell me whats wrong with my setup. There is no apparent problem
> in the website functions. I search google and mailling list archive but did
> not come across anything tangible.
>
> though
>
> regds
> mallah.
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Header / Footer when empty list
Posted by Kaare Rasmussen <ka...@kakidata.dk>.
Hi
How can I have a header and footer for a list of data, even if the list is
empty?
Right now I have something similar to this:
<TABLE WIDTH=100%>
[$if $row == 0$]
<TR>
<TH WIDTH=80 CLASS=Title ALIGN=center>[=Select=]</TH>
<TH WIDTH=20% CLASS=Title ALIGN=center>[=Articlenr=]</TH>
...
</TR>
[$endif$]
[$if $row == $#lines $]
<TR>
<TD><INPUT TYPE="radio" VALUE="0" NAME="select_line"></TD>
...
</TR>
[$endif$]
but it doesnt work if @lines is empty. I've also tried to put a check for an
empty array, but it seems to bail out already at the table tag in that case.
This is Embperl 2.0b8.
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Web: www.suse.dk
2000 Frederiksberg Lørdag 12.00-16.00 Email:kar@kakidata.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by "Rajesh Kumar Mallah." <ma...@trade-india.com>.
Hi Cameron,
Thanks for the reply ,
But EMBPERL_DEBUG is already set to 0 .
Still its printing.
Regds
mallah.
SetEnv EMBPERL_DEBUG 0
SetEnv EMBPERL_OPTIONS 16
# optReturnError = 262144
# SetEnv EMBPERL_OPTIONS 262160
PerlSetEnv EMBPERL_COOKIE_NAME "INF_AWER_6786876_UTTFES__QWGGGGF"
PerlSetEnv EMBPERL_COOKIE_PATH /
PerlSetEnv EMBPERL_SESSION_CLASSES "File Null"
PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/tmp/sessions"
On Wednesday 18 December 2002 01:02 pm, Cameron McBride wrote:
> > I am using Embperl 1.3.4
> >
> > and its pumping 1000s of those lines every minute
> > into /tmp/embperl.log will any one please help
>
> well, if everything seems to be working - just turn off the logging
> until you figure out why. (I assume you have enough sampling of the
> error message). ;-)
>
> PerlSetEnv EMBPERL_DEBUG 0
>
> Cameron
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by Cameron McBride <ca...@cwru.edu>.
> I am using Embperl 1.3.4
>
> and its pumping 1000s of those lines every minute
> into /tmp/embperl.log will any one please help
well, if everything seems to be working - just turn off the logging
until you figure out why. (I assume you have enough sampling of the
error message). ;-)
PerlSetEnv EMBPERL_DEBUG 0
Cameron
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by "Rajesh Kumar Mallah." <ma...@trade-india.com>.
Thanks Andre ,
regds
mallah.
On Thursday 19 December 2002 01:54 pm, Andre Landwehr wrote:
> On Thu, Dec 19, 2002 at 01:21:29PM +0530, Rajesh Kumar Mallah. wrote:
> > tell me one thing , if i want to upgrade to Embperl 2.0b8
> > from 1.3.4 what catastrope shud i expect?
> > do i have to change by code massively?
>
> Most things are in readme.v2, which is delivered along with
> embperl2.0b8 and is also available on the web page. Probably the
> most time consuming change you have to do is to change every
> "print" into "print OUT" (or tying the handle yourself) in case
> you use REDIRECT_STDOUT with 1.3.4, at least that was the case
> for me. And of course the different configuration in httpd.conf,
> but migration is quite easy there.
>
> Andre
>
> --
> "The inside of a computer is as dumb as hell, but it goes like mad!"
> (Physicist Richard Feynman)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by Andre Landwehr <an...@gmx.net>.
On Thu, Dec 19, 2002 at 01:21:29PM +0530, Rajesh Kumar Mallah. wrote:
> tell me one thing , if i want to upgrade to Embperl 2.0b8
> from 1.3.4 what catastrope shud i expect?
> do i have to change by code massively?
Most things are in readme.v2, which is delivered along with
embperl2.0b8 and is also available on the web page. Probably the
most time consuming change you have to do is to change every
"print" into "print OUT" (or tying the handle yourself) in case
you use REDIRECT_STDOUT with 1.3.4, at least that was the case
for me. And of course the different configuration in httpd.conf,
but migration is quite easy there.
Andre
--
"The inside of a computer is as dumb as hell, but it goes like mad!"
(Physicist Richard Feynman)
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by Aaron Johnson <so...@gina.net>.
On Thu, 2002-12-19 at 02:51, Rajesh Kumar Mallah. wrote:
> Oh so sorry to hear abt the laptop.
>
>
>
> tell me one thing , if i want to upgrade to Embperl 2.0b8
> from 1.3.4 what catastrope shud i expect?
> do i have to change by code massively?
>
>
In my case I had some very old scripts that used a syntax similar to
this:
[$ foreach @blah $]
Which is not valid under 2.0, in 2.0 you must have the ()s around the
array like standard Perl scripts.
Aaron
> and thanks for the kind reply
>
>
> regds
> mallah.
>
>
>
>
>
>
> On Thursday 19 December 2002 12:52 pm, Angus Lees wrote:
> > At Wed, 18 Dec 2002 12:38:37 +0530, Rajesh Kumar Mallah. wrote:
> > > I am using Embperl 1.3.4
> > >
> > > On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote:
> > > > [27802]CUP: Error while closing HTML::Embperl::DOC::_12::LOG: Can't
> > > > locate object method "CLOSE" via package "HTML::Embperl::Log" at
> > > > /opt/perl/lib/site_perl/5.8.0/i686-linux/HTML/Embperl.pm line 1448.
> >
> > Embperl 1.3.4 doesn't work correctly with perl 5.8. You will need to
> > apply the patch (backported from Embperl2) I posted to this list a
> > month or two ago.
> >
> > (I'd send you the patch myself, but my laptop was stolen along with my
> > copy of that code :(
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by "Rajesh Kumar Mallah." <ma...@trade-india.com>.
Oh so sorry to hear abt the laptop.
tell me one thing , if i want to upgrade to Embperl 2.0b8
from 1.3.4 what catastrope shud i expect?
do i have to change by code massively?
and thanks for the kind reply
regds
mallah.
On Thursday 19 December 2002 12:52 pm, Angus Lees wrote:
> At Wed, 18 Dec 2002 12:38:37 +0530, Rajesh Kumar Mallah. wrote:
> > I am using Embperl 1.3.4
> >
> > On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote:
> > > [27802]CUP: Error while closing HTML::Embperl::DOC::_12::LOG: Can't
> > > locate object method "CLOSE" via package "HTML::Embperl::Log" at
> > > /opt/perl/lib/site_perl/5.8.0/i686-linux/HTML/Embperl.pm line 1448.
>
> Embperl 1.3.4 doesn't work correctly with perl 5.8. You will need to
> apply the patch (backported from Embperl2) I posted to this list a
> month or two ago.
>
> (I'd send you the patch myself, but my laptop was stolen along with my
> copy of that code :(
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Update ...
Posted by Angus Lees <gu...@inodes.org>.
At Wed, 18 Dec 2002 12:38:37 +0530, Rajesh Kumar Mallah. wrote:
> I am using Embperl 1.3.4
> On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote:
> > [27802]CUP: Error while closing HTML::Embperl::DOC::_12::LOG: Can't locate
> > object method "CLOSE" via package "HTML::Embperl::Log" at
> > /opt/perl/lib/site_perl/5.8.0/i686-linux/HTML/Embperl.pm line 1448.
Embperl 1.3.4 doesn't work correctly with perl 5.8. You will need to
apply the patch (backported from Embperl2) I posted to this list a
month or two ago.
(I'd send you the patch myself, but my laptop was stolen along with my
copy of that code :(
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org