Re: Error running embperl

2012-09-03 Thread Jean-Christophe Boggio
Le 03/09/2012 11:44, [email protected] a écrit : Are there any errors in the Apache error log? No, nothing else. I think I've found the problem : apache2-mpm-worker installed instead of apache2-mpm-prefork (default apt-get install apache2 done by the admin). How many times will I be bitten by

RE: Error running embperl

2012-09-03 Thread richter
Are there any errors in the Apache error log? Gerald > -Original Message- > From: Jean-Christophe Boggio [mailto:[email protected]] > Sent: Monday, September 03, 2012 11:13 AM > To: [email protected] > Subject: Error running embperl > > Hi, > > I just recompiled latest embpe

Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Another update: I tried downgrading Embperl to 2.4 just to see if it would be any different, but same result - only message is 'Compilation error'. So, something specific about the way Embperl interacts with Perl that changed with 5.14, presumably... Neil Gunton wrote: Actually, I said in my

Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Actually, I said in my previous email that the error was hard to reproduce in its minimal version - but the one below does seem to do it. All I am getting with this example is 'Compilation error', no line or file information. This is using Embperl::Object, if that matters. Latest Embperl, perl

Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Ok, FYI I am still getting some strange behavior with reporting of compilation errors. However, it's quite difficult to pin down a minimal case that gives the same result that I get with more complex code. At the same time, I get *no* error with something like this in my test.html: [- slkj

Re: Error reporting in Embperl 2.5.0_1

2012-06-05 Thread Neil Gunton
Ok, here is a simple test case. File index.html contains just the following: [- use strict; $x = 1; -] Produces: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, n...@nilspac

Re: Error reporting in Embperl 2.5.0_1

2012-05-31 Thread Neil Gunton
Ok, this is weird. When I try executing the same file now, just the way it was before (without your suggestion), now it doesn't give the error. I have tried restarting apache, clearing both the browser and apache caches, but it works every time. Bizarre. I'll wait a bit and see if I can reprodu

Re: Error reporting in Embperl 2.5.0_1

2012-05-31 Thread Neil Gunton
Hi Gerald, Thanks for getting back. Basically I can have something as simple as this, one line of code in index.html: [- $x = 1; -] Which simply produces the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

RE: Error reporting in Embperl 2.5.0_1

2012-05-29 Thread richter
Hi Neil, in my tests I got normal error messages like before. Do you have a few lines of code, that shows the problem? Gerald > -Original Message- > From: Neil Gunton [mailto:[email protected]] > Sent: Saturday, May 19, 2012 9:29 PM > To: [email protected] > Subject: Error reporti

RE: "Error in perl code: Compilation error"

2012-05-15 Thread richter
For Perl 5.14 please take a look at the Embperl 2.5.0 snapshot. See discussions here http://mail-archives.apache.org/mod_mbox/perl-embperl/201203.mbox/browser Gerald From: Carl Eklof [mailto:[email protected]] Sent

Re: "Error in perl code: Compilation error"

2012-05-15 Thread Ed Grimm
I seem to recall this error was previously identified when trying to use Embperl with perl 5.14.x. Embperl 2.4.0 apparently came out in 2010 October, and I'm pretty sure I heard about this problem since then. So you may want to try pulling the latest code from SVN, if you need to use perl 5.1

RE: Error line numbers do not seem to map correctly to source code

2008-08-06 Thread Andrew O'Brien
Hi Neil, > I am seeing errors in my apache logs which appear to be > within Embperl > code, and yet the error line numbers do not match up with > what is in the > code. For example, I might see > > Can't call method "prepare" on an undefined value at line 182 > in Docs.epl > > But at line

RE: Error using Syntax::SSI and Syntax::EmbperlBlocks at the same time

2007-12-26 Thread Gerald Richter - ECOS GmbH
Hi, Sorry for my late reply. Does it change anything if you exchange the order i.e. EMBPERL_SYNTAX "EmbperlBlocks SSI" Gerald > -Original Message- > From: Vietze, Axel [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 2:47 PM > To: [email protected] > Subject: Error

Re: Error installing Embperl 2.2.0

2007-09-30 Thread Chris Denman
Hi Gerald, I have finally found the difference between a working conf and a non-working conf: I get seg faults with this setup: . CoreDumpDirectory /tmp/denman EMBPERL_OPTIONS 512 EMBPERL_ESCMODE 0 Embperl_Syntax EmbperlBlocks Embperl_AppName

Re: Error installing Embperl 2.2.0

2007-09-30 Thread Chris Denman
Hi again, Looking further into the seg faults on my Virtuozzo virtual server: Just backtraced a core file to find: (gdb) bt full #0 0x002a9a23cd0a in Perl_he_dup () from /usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/CORE/libperl.so No symbol table info available. #1 0x002a9a23de8

Re: Error installing Embperl 2.2.0

2007-09-30 Thread Chris Denman
Hi Gerald, Still getting these in the apache logs [Sun Sep 30 16:04:57 2007] [notice] child pid 28490 exit signal Bus error (7) [Sun Sep 30 16:05:11 2007] [notice] child pid 28532 exit signal Bus error (7) [Sun Sep 30 16:07:05 2007] [notice] child pid 28606 exit signal Segmentation fault (11)

Re: Error installing Embperl 2.2.0

2007-09-30 Thread Chris Denman
Gerald, Thanks for your recent reply. I have now successfully installed V2.3.0 with no errors. Still getting seg faults Although I am new to backtracing, I have attempted to perform one with the following results: (gdb) c Continuing. Program received signal SIGBUS, Bus error. [Switching

RE: Error installing Embperl 2.2.0

2007-09-29 Thread Gerald Richter - ECOS GmbH
Hi, Can you please retry with the just uploaded Embperl 2.3.0. If you still get segfaults, please send me a stack backtrace. Gerald P.S. Please use the Embperl mailinglist for further questions. Besuchen Sie unseren Messe

RE: RE: RE: error document

2007-07-09 Thread Gerald Richter - ECOS GmbH
> > I ran the tests, and the result is as follows. > That sounds ok. In this case could you please run your httpd under gdb with the -X option e.g. gdb --args /path/to/httpd -f /path/to/httpd.conf -X Then do the request where you get the bus error and at the gdb prompt type bt And send

RE: RE: error document

2007-07-06 Thread Ben Kim
I ran the tests, and the result is as follows. Both test will fail, but when you look at test/tmp/out.htm after each test, you should see the sentence "This page is shown due to an ErrorDocument redirection". make test TESTARGS="-h errdoc/errdoc.htm" Same as test/cmp/errdoc.htm This page

RE: RE: error document

2007-06-29 Thread Gerald Richter - ECOS GmbH
> > I ran httpd on another port with -X, and it's somewhat interesting. > > When the first request to the httpd (started with -X) is for > a missing page or a page with error, I get bus error or > segmentation fault and apache dies. > > If the first request is a hit and successful, subsequent

RE: RE: error document

2007-06-14 Thread Gerald Richter - ECOS GmbH
Hi, > > I ran httpd on another port with -X, and it's somewhat interesting. > > When the first request to the httpd (started with -X) is for > a missing page or a page with error, I get bus error or > segmentation fault and apache dies. > > If the first request is a hit and successful, subseq

RE: error document

2007-06-08 Thread Ben Kim
I guess the problem might happen when the same child serves the page again, so the initialisation is skiped. Could you try to run httpd with the -X option, so you have only one process. Does it now fail the second request? I ran httpd on another port with -X, and it's somewhat interesting.

RE: error document

2007-06-06 Thread Gerald Richter - ECOS GmbH
Hi, I guess the problem might happen when the same child serves the page again, so the initialisation is skiped. Could you try to run httpd with the -X option, so you have only one process. Does it now fail the second request? Gerald --

RE: error page problem

2006-02-16 Thread Gerald Richter
Hi, First of all you are right Embperl currently returns 500 for a file not found. This will change in the future. For the rest of your problem, I currently have no idea what's wrong. I would suggest to create a very simple page, which only contains something like [- die -] and to test the error

Re: error during installation of Embperl-2.0b11 (using CPAN)

2004-04-23 Thread Gerald Richter
Robert wrote: > it helped to recompile apache with > > % CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure ... > > apparently new apache escapes everything, see > > http://perl.apache.org/docs/2.0/user/install/install.html#Apache > The patch for Embperl is now in the CVS version, so next releas

Re: error during installation of Embperl-2.0b11 (using CPAN)

2004-04-22 Thread Robert
it helped to recompile apache with % CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure ... apparently new apache escapes everything, see http://perl.apache.org/docs/2.0/user/install/install.html#Apache - r. Dist-List wrote: Setup : My setup : redhat entrerprise V3 apache : httpd-2.0.46-3

Re: error during installation of Embperl-2.0b11 (using CPAN)

2004-04-22 Thread Derrick Spell
I just had this same error not three days ago on my Redhat 9.0 installation. Here's the remedy: Replace line 1605 in test.pl with the following two lines: my @cnt = split/(?:\\n)+/; $cnt -= @cnt; Apparently there is an issue with new line characters in the log files on RedHat. Gerald sent me

Re: error trapping and notice

2004-04-17 Thread Angus Lees
At Thu, 15 Apr 2004 08:56:47 -0500 (CDT), Ben Kim wrote: > 1. error trapping > > Execute({inputfile => 'file.epl', errors => [EMAIL PROTECTED]); > > if (@errors) { Execute('notify_error.epr', [EMAIL PROTECTED]); } > > In the "notify_error.epr" page you can send a message with all debugging > > dat

Re: error trapping and notice

2004-04-15 Thread Ben Kim
I have the following responses. 1. error trapping > Execute({inputfile => 'file.epl', errors => [EMAIL PROTECTED]); > if (@errors) { Execute('notify_error.epr', [EMAIL PROTECTED]); } > In the "notify_error.epr" page you can send a message with all debugging > data you need like fdat, udat, ENV a

Re: error trapping and notice

2004-04-14 Thread Gerald Richter
Ben Kim wrote: > We have quite a few pages using embperl, and sometimes fixing one at > the site module (pm) level breaks others, which we won't know until a > certain combination of things happen together. > > We'd like to be notified by email when any embperl related error > happens. > > What is

Re: error trapping and notice

2004-04-14 Thread Luiz Fernando B. Ribeiro
Ben, Tuesday, April 13, 2004, 7:28:34 PM, você escreveu: BK> We have quite a few pages using embperl, and sometimes fixing one at the BK> site module (pm) level breaks others, which we won't know until a certain BK> combination of things happen together. BK> We'd like to be notified by email wh

Re: Error with [! !

2004-03-11 Thread Gerald Richter
Stefan Cars wrote: > The following code leaves error: > > [! > $r = shift; > require $r -> component -> cwd . "/inc/netlib.pl"; > > !] > try instead require $epreq -> component -> cwd . (needs 2.0b10) or require $Embperl::req -> component -> cwd Gerald > > This error: > > ERR: 24: E

Re: Error when starting apache

2004-03-10 Thread Otto Lang
On Thu, Mar 11, 2004 at 06:41:46AM CET, Gerald Richter wrote: > > --- snip --- > > Cannot require Apache::Session::Serialize::Storable at \ > > /usr/lib/perl5/HTML/Embperl/Session.pm line 225. > > --- snip --- > Looks like Apache::Session is not installed (or maybe an old version, > we need 1.5+)

Re: Error when starting apache

2004-03-10 Thread Gerald Richter
> --- snip --- > Cannot require Apache::Session::Serialize::Storable at \ > /usr/lib/perl5/HTML/Embperl/Session.pm line 225. > --- snip --- > Looks like Apache::Session is not installed (or maybe an old version, we need 1.5+) Gerald ---

Re: Error while closing HTML::Embperl::DOC::_2::OUT:

2003-01-28 Thread Gerald Richter
> > I get following error in my embperl.log file on every request. > > -- > [21949]CUP: Error while closing HTML::Embperl::DOC::_2::OUT: Can't locate > object method "CLOSE" via package "HTML::Embperl::Out" at > /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/HTML/Embperl.pm line > 1448. >

Re: Error in DBI->connect (Oracle)

2003-01-01 Thread Gerald Richter
>[Tue Dec 31 11:48:46 2002] [notice] child pid 6555 exit signal Segmentation Fault (11), possible coredump in /home/ederson/apachelocal This maybe because of some version mismatch of your libs. Maybe they are not compiled for the same Perl or with different compiler setting. Or mod_perl is compil

Re: error document continues

2002-11-12 Thread Gerald Richter
Hi, your config seems to be ok and should work for normal Embperl files. I have never tried it with Embperl::Object, maybe Embperl::Object is not correctly passing the error back. Could you see if you get the same result with an normal Embperl file? Gerald --

Re: error 500 + nice error message

2002-05-29 Thread Cameron McBride
> Is there a way to display a nice (static html) error message when some > embperl page gives Internal Server error message. > I am using .htaccess and ErrorDocument. > When plain perl file gives a 500 then it is working, but when embperl page > gives error 500 then it won't work. hmmm, what vers

Re: error 500 + nice error message

2002-05-24 Thread Gerald Richter
hi! > > Is there a way to display a nice (static html) error message when some > embperl page gives Internal Server error message. > I am using .htaccess and ErrorDocument. > When plain perl file gives a 500 then it is working, but when embperl page > gives error 500 then it won't work. > You nee

Re: Error 404 when returning to epl Page

2002-02-02 Thread Gerald Richter
Hello, > When I am using the Back - Button of the browser to > return to a epl Page I am getting often Error 404. > > Howe can this be solved? > Look thru your httpd access log file and the embperl log file to see when actually happen. Normaly the browser shouldn't make a new request when you h

RE: Error during ppm install on win 98. File-Spec not found (was:Need help)

2002-01-14 Thread Randy Kobes
On Fri, 11 Jan 2002, rmanoharan wrote: > Hi Randy, > > I tried doing what u suggested.This is what i did: > (1)downloaded HTML-Embperl.ppd to C:\My Documents > (2)downloaded HTML-Embperl.tar.gz to C:\My Documents > (3)Removed any reference to 'File-Spec' > (4) >since both files were in the sa

RE: Error during ppm install on win 98. File-Spec not found (was: Need help)

2002-01-14 Thread rmanoharan
69': No such file or directory What am i doing wrong? Ram -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 7:33 AM To: Gerald Richter Cc: rmanoharan; [EMAIL PROTECTED] Subject: Re: Error during ppm install on win 98. File-Spec not foun

Re: Error during ppm install on win 98. File-Spec not found (was: Need help)

2002-01-14 Thread Gerald Richter
> > What am i doing wrong? > Just a question. Which version of ActiveState Perl do you are running ? (output of perl -v) Maybe you need to upgrade Perl itself ? Gerald - Gerald Richterecos electronic communication services gmbh Int

Re: Error during ppm install on win 98. File-Spec not found (was:Need help)

2002-01-11 Thread Randy Kobes
On Fri, 11 Jan 2002, Gerald Richter wrote: > I forward your mail to the Embperl mailing list, where the right place for > asking such questions is. I currently don't know what's going wrong here, > but Randy who creates the ppm packages is listening there... > > > > > Iam trying to download and i

Re: Error during ppm install on win 98. File-Spec not found (was: Need help)

2002-01-10 Thread Gerald Richter
I forward your mail to the Embperl mailing list, where the right place for asking such questions is. I currently don't know what's going wrong here, but Randy who creates the ppm packages is listening there... > > Iam trying to download and install HTML-embperl.Iam running win 98 with > active st

Re: Error in dynamic tables

2002-01-02 Thread Gerald Richter
> > > $arrayref->[$row]->method > > > The problem is that this results in an error in the > log of "Can't call method "method" on an undefined > value". I would have expected it to work. I thought > Embperl would have parse the expression an extracted > "$arrayref->[$row]", determined whether

Re: Error Message Produced by EmbperlObject

2001-06-16 Thread Gerald Richter
Hi, > > [warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path > search /path/to/file/menu.epl > Looks like you are using an old version of Embperl where I have forgot to delete a "warn" which was left over from debugging. You can safely ignore this message. Upgrading to 1.3.3 should

Re: Error in make test

2000-12-05 Thread Gerald Richter
Hi Ken, >I have just installed EmbPerl 1.3.0, and had the following error while running make test: > >EmbperlObject/obj/epoobj3.htm ...ok >Use of uninitialised value at (eval 1381) line 95. Also it doesn't look nice, it isn't a problem, just of problem of the test, not of Embperl itself. To be

Re: error

2000-09-15 Thread Andre Landwehr
On Fri, Sep 15, 2000 at 04:10:29PM +0200, Gerald Richter wrote: > > $udat{ImageName} = $fdat{ImageName}; > > I guess this is from a file upload. CGI.pm uses some magic with globs. Try > > $udat{ImageName} = scalar($fdat{ImageName}) ; oh, thanks... sometimes I'm really too dumb to see the obviou

Re: error

2000-09-15 Thread Gerald Richter
> $udat{ImageName} = $fdat{ImageName}; I guess this is from a file upload. CGI.pm uses some magic with globs. Try $udat{ImageName} = scalar($fdat{ImageName}) ; to convert the typeglob into a scalar value Gerald > $fdat{ImageName} contains a filename, e.g. "74321623782.jpg" > after that Apac

RE: Error during make

2000-04-05 Thread Gerald Richter
> > Trying to install EmbPerl 1.3b2 on a SuSE Linux 6.3 with Apache > 1.3.12. This > comes during make test. Serious or not? > Not serious, just an error of the make test due to the newer Apache. It's already solved in the CVS Version of Embperl Gerald > registry/errpage.htm... > Error in Lin

RE: Error with charset...

2000-03-28 Thread Gerald Richter
> > >This error is due to changes in Apache 1.3.12. It's already solved in the > >CVS Version of Embperl (http://perl.apache.org/from-cvs/embperl) > > > >Gerald > > I downloaded the last one and now I have: > > registry/errpage.htm... > Error in Line 95 > Is: >< > Should: >Additionally, a 500

RE: Error with charset...

2000-03-28 Thread Gerald Richter
> > First, about the segmentation fault: after getting back to Perl > 5.00503, it > eliminated this problem. > Fine. I am working on the perl 5.6 issue and it should be solved soon. > Now, at a later stage of the make test phase, I get this: > > -- > registry/errpage.htm... > Error in Li