Hi Araik, That error is coming from attempting to run the script as root instead of being the opensrf user. The "Can't locate OpenILS/Application..." part of the error is usually a sign that whatever you're trying to run needs to have the right environment paths set (which is usually the opensrf user account).
I would try switching over to the opensrf user on your machine and running that script again. Looks like we'll need to be clearer about that in the doc page referenced. -- Ben ----- Original Message ----- From: "Araik Manukyan" <[email protected]> To: "Evergreen Discussion Group" <[email protected]> Sent: Monday, October 3, 2011 7:55:22 AM Subject: Re: [OPEN-ILS-GENERAL] Export error Hi Dan. Thank you for quick respond about exporting data from Evergreen 1.4.0.4. After your correcting in adresse http://docs.evergreen-ils.org/1.6/draft/html/exportingbibrecordsintoMARC.html I can create a text file list of the Bibliographic record IDs. But when I tried to use marc_export, using the ID file you created in step 1 to define which files to export. cat /home/opensrf/records.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml \ -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml the system pops out an error, namely this *************************************************************************************** root@eg-server:/home/opensrf/Evergreen-ILS-1.4.0.4/Open-ILS/src/support-scripts# cat /home/opensrf/records120.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml \-x /openils/conf/fm_IDL.xml -f XML --timeout 5 > /home/opensrf/exported_files.xml Can't locate OpenILS/Application/AppUtils.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ./marc_export line 11. BEGIN failed--compilation aborted at ./marc_export line 11. ******************************************************************************************* Any suggestion/solution please. Araik.
