Re: [greenstone-users] Greenstone Librarian generates perl.exe error. FIXED!

From paul.barrington7@ntlworld.com
DateTue, 13 Jun 2006 17:08:27 +0100
Subject Re: [greenstone-users] Greenstone Librarian generates perl.exe error. FIXED!
Greenstone: per.exe error resolved!

Hi everyone.
First, I upgraded from version 2.70 to
version 2.70W and still got the dreaded
per.exe error message ... even when using
the perl version supplied with Greenstone!

This made me go back to my programming days,
and systematically "think things through."

I have a "full" TeX/LaTeX/ConText install which
I use daily ... this also has it's own minimal
perl version installed. Was there some sort of
interaction going on?

To test for this possibility, I set the gli.bat
"PERLPATH=" to point to the TeXbinperl location
and again run the Librarian ... and guess what?
NO "perl.exe has generated errors" message.

Of course, this "minimal" version of perl could
not fully run Greenstone, so I un-installed TeX etc.,
and re-set ...

PERLPATH=C:Program FilesGreenstonebinwindowsperlbin

... and once again I got the "perl.exe" error message!

I then installed ActivePerl 5.8... altered the PERLPATH
variable to point to it, re-booted the system, and run
the Librarian.

The system ran with NO pelr.exe error ... but then reported:-

"Unable to determine the arguments for AllList.pm classifier.
Please ensure that the classifier in question provides the -xml
flag by running the classinfo.pl script similar to the description
of the pluginfo.pl script in section 2.1 of the Greenstone
Developer's Guide."

I duly tried that ... but to no avail. So, using the in-built
power of "ACTIVE" Perl, I decided to click-start the offending
scripts as follows:-

(a) CD directly into the Greenstone "script.pl" folder.

(b) Double-clicked in turn on each of the following scripts...

Arcplug; Pluginfo; and Classinfo.

(c) Run Librarian ... and ALL SYSTEMS ARE GO!

I have built a full series of test collections, including mixed
source files (PDF; Word; PS; Image; AVI, XML, etc.,) and the
system is very stable and an absolute dream to use!

As for my daily need to run TeX etc., I now run it in isolation
direct from the DVD-ROM and drop into the system via the XEmacs
shell command. And all is well.

Hope this helps others. Sincere best regards,
Paul.


>
> From: Michael Dewsnip <mdewsnip@cs.waikato.ac.nz>
> Date: 2006/05/28 Sun PM 11:17:28 BST
> To: paul.barrington7@ntlworld.com
> CC: greenstone-users@list.scms.waikato.ac.nz
> Subject: Re: [greenstone-users] Greenstone Librarian generates perl.exe error.
>
> Hi Paul,
>
> Please try the version of Perl included with Greenstone on Windows: edit
> the Greenstone "gligli.bat" file, find the line starting "set
> PERLPATH=", and change it to
>
> set PERLPATH=C:Program FilesGreenstonebinwindowsperlbin
>
> (assuming Greenstone is installed in the default location). Do you still
> get the errors now?
>
> Regards,
>
> Michael
>
>
>
> paul.barrington7@ntlworld.com wrote:
>
> >Greenstone version 2.70
> >Installation via Download installer.
> >"Local Library" install method.
> >
> >Operating System: Windows 2000 Pro.
> >Existing resident perl install: version 5.80
> >
> >PROBLEM: When attempting to make a collection in
> >accordance with the "work through" (Chap. 3 page 19)
> >the following error messages occur when completing
> >the data entry in the first dialog box and pressing
> >the OK button (Figure 4 the Librarian Interface):-
> >
> >(1) Program Error. Perl.exe has generated errors...
> >the program will now terminate ... OK
> >
> >(2) ERROR. An error has occurred and the collection
> >could not be created. An error log has been generated.
> >
> >Note(s):-
> >(a) I have cheked the system logs, and no error reports
> >can be found.
> >
> >(b) Contrary to the error event notice, the system does
> >not terminate, and all menus are active and appear normal.
> >The Librarian has to be manually closed down ... but then
> >the Greenstone Digital Library still remains active until
> >it is also exited manually.
> >
> >Please advise remedial course of action, if possible.
> >
> >Many thanks.
> >Sincere best regards,
> >
> >Dr. Paul Barrington
> >
> >
> >-----------------------------------------
> >Email sent from www.ntlworld.com
> >Virus-checked using McAfee(R) Software
> >Visit www.ntlworld.com/security for more information
> >
> >
> >_______________________________________________
> >greenstone-users mailing list
> >greenstone-users@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >
> >
> >
>
>

-----------------------------------------
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software
Visit www.ntlworld.com/security for more information