perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Gunton <n...@nilspace.com>
Subject Re: Error reporting in Embperl 2.5.0_1
Date Fri, 29 Jun 2012 01:58:10 GMT
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 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
> 5.14.2 on Debian Wheezy (testing) etc - all versions as before. Any ideas?
>
> Thanks,
>
> Neil
>
> Neil Gunton wrote:
>> 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, neil@nilspace.com and inform
>> them of the time the error occurred, and anything you might have done
>> that may have caused the error.
>>
>> [15813]ERR: 24: Error in Perl code: Compilation error
>>
>> Apache Embperl 2.5.0_1 [Tue Jun 5 22:27:42 2012]
>>
>> Once again, this is using Debian Wheezy, Apache/2.2.22 (Unix)
>> Embperl/2.5.0_1 mod_ssl/2.2.22 OpenSSL/1.0.1c mod_perl/2.0.5 Perl/v5.14.2
>>
>> Thanks,
>>
>> Neil
>>
>> richter@ecos.de wrote:
>>> 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:neil@nilspace.com]
>>>> Sent: Saturday, May 19, 2012 9:29 PM
>>>> To: embperl@perl.apache.org
>>>> Subject: Error reporting in Embperl 2.5.0_1
>>>>
>>>> I just noticed that when there is an error in my code, I am not
>>>> getting any
>>>> useful information about where the error occurs. All I get is this:
>>>>
>>>> [21419]ERR: 24: Error in Perl code: Compilation error
>>>>
>>>> I know I used to get more specific line information about where the
>>>> problem
>>>> was. Is there something I can do to re-enable this?
>>>>
>>>> This is using Apache, mod_perl and Embperl all built from source on
>>>> Debian
>>>> Wheezy AMD64:
>>>>
>>>> Apache/2.2.22 (Unix) Embperl/2.5.0_1 mod_ssl/2.2.22 OpenSSL/1.0.1c
>>>> mod_perl/2.0.5 Perl/v5.14.2
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks!
>>>>
>>>> Neil
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>>>> For additional commands, e-mail: embperl-help@perl.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message