Re: 2.0b6 namespace HTML vs. non HTML

2002-03-20 Thread Jochen Topf
On Wed, Mar 20, 2002 at 09:23:11AM +0100, Gerald Richter wrote: > From: "Gerald Richter" <[EMAIL PROTECTED]> > To: "Jochen Topf" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: Re: 2.0b6 namespace HTML vs. non HTML > Date: Wed, 20 Mar 2002 09

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-20 Thread Gerald Richter
> > I am pretty sure, I am not using any globals. > This must be not a global, could be some other reference that still holds the request object. I fixed the problem, so Embperl won't segfault anymore in this situation. Please try the appended new version of epinit.c > BTW what is the preferred

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Tue, Mar 19, 2002 at 07:16:56PM +0100, Gerald Richter wrote: > > [Tue Mar 19 16:28:35 2002] [error] [14366]ERR: 24: Error in Perl code: > Can't upgrade that kind of scalar at /var/www/92/base.epl line 58. > > [14366]ERR: 67: There is still -1 reference(s) to the request.param > object, whil

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Gerald Richter
> [Tue Mar 19 16:28:35 2002] [error] [14366]ERR: 24: Error in Perl code: Can't upgrade that kind of scalar at /var/www/92/base.epl line 58. > [14366]ERR: 67: There is still -1 reference(s) to the request.param object, while there shouldn't be any. Looks like you keep a reference to the EMbper

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Tue, Mar 19, 2002 at 01:57:21PM +0100, Gerald Richter wrote: > > Attempt to free unreferenced scalar at /var/www/92/base.epl line 22. > > > > This shouldn't happen :-( > > > > This line contains this: > > my $obj = Execute( { 'object' => "$ENV{DOCUMENT_ROOT}/$file", 'import' => > 0}); > > >

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Gerald Richter
> > What happens is this: I restart apache. Some pages work, some result in > segfault. After clicking around for a while the pages that resulted in > segfaults suddenly work. This might or might not be related to the following > message in the error log: > > Attempt to free unreferenced scalar at

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-19 Thread Jochen Topf
On Mon, Mar 18, 2002 at 03:17:28PM +0100, Gerald Richter wrote: > > but there are still several references to HTML::Embperl in 2.0b6 and now I > > get some error messages like "Can't locate HTML/Embperl.pm in @INC..." > > > > Where do you have references to HTML::Embperl? I don't find any... > >

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-18 Thread Kee Hinckley
I have some perl libraries that check to see if they are running in Embperl so they can use certain things (typically OUT and escmode). What's the best way to make it possible for them to run under either environment? -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ [EMAI

Re: 2.0b6 namespace HTML vs. non HTML

2002-03-18 Thread Gerald Richter
Hi! > > > but there are still several references to HTML::Embperl in 2.0b6 and now I > get some error messages like "Can't locate HTML/Embperl.pm in @INC..." > Where do you have references to HTML::Embperl? I don't find any... Maybe the following is your problem: HTML::EmbperlObject was renamed