Hi Chris,
the regression tests still work. So it looks like a perl problem. Perhaps I'm to dependant on the perl version again. Please try the following:
[EMAIL PROTECTED] wrote:
Hey guys, testing the latest CVS head and have come across this error:
[EMAIL PROTECTED] etc]# ./openca_start Can't call method "get_required" on unblessed reference at /usr/local/093_pki/modules/perl5/OpenCA/UI/HTML.pm line 71. Compilation failed in require at ./openca_start line 63.
here is the code extract:
62 ## this class expects the following parameters: 63 ## - API 64 ## - DATA 65 ## 66 ## we try to handle all types of malformed parameters 67 68 $self->{api} = $keys->{API}; 69 $self->{DEBUG} = $self->{api}->{DEBUG}; 70 $self->{HTDOCS} = $self->{api}->get_required('HtdocsUrlPrefix'); 71 set_language ($self->{api}->get_required ('DEFAULT_LANGUAGE'));
Unblessed reference means there is trouble with $self->{api} !!!
1. remove the blank after get_required (one line above it works!) 2. try to do this:
my $help = $self->{api}->get_required ('DEFAULT_LANGUAGE');
set_language($help);You can additionally activate the debugging in openca_start.
Michael -- _______________________________________________________________
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 [EMAIL PROTECTED] D-10099 Berlin _______________________________________________________________
smime.p7s
Description: S/MIME Cryptographic Signature
