Export Bibs/holdings is giving an error...
Hi all, I am trying to export biblios and items (Tools-->Export Bibs/holdings) to MARC output format. I have tried exporting to XML output format as well. Both of them are giving the following error(s): -------------------------------------------------------------------------------------------------------------------- Koha error The following fatal error has occurred: Can't call method "as_usmarc" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 160. (in case of MARC output format) Can't call method "as_xml_record" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 157. ((in case of XML output format) Apache Server version: Apache/2.2.3 Server built: Mar 22 2008 09:29:10 Koha 3.00.00.107 Koha DB 3.0000107 MySQL mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2 OS Linux bethel 2.6.18-6-686 #1 SMP Mon Aug 18 08:42:39 UTC 2008 i686 GNU/Linux Perl 5.008008 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Your help is greatly appreciated. Thanks and Regards, Sekhar
That error is usually caused by indexing problems. Try running rebuildzebra.pl or rebuildnozebra.pl depending on whether you have a zebra installation and see if that gets rid of the error. I'm not sure that will result in a successful export though. I have been unable to get koha to export the entire set of records. It is only exporting a couple of records. Good luck. SekharMSRC wrote:
Hi all,
I am trying to export biblios and items (Tools-->Export Bibs/holdings) to MARC output format. I have tried exporting to XML output format as well.
Both of them are giving the following error(s):
-------------------------------------------------------------------------------------------------------------------- Koha error
The following fatal error has occurred:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 160. (in case of MARC output format)
Can't call method "as_xml_record" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 157. ((in case of XML output format)
Apache Server version: Apache/2.2.3 Server built: Mar 22 2008 09:29:10 Koha 3.00.00.107 Koha DB 3.0000107 MySQL mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2 OS Linux bethel 2.6.18-6-686 #1 SMP Mon Aug 18 08:42:39 UTC 2008 i686 GNU/Linux Perl 5.008008 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Your help is greatly appreciated.
Thanks and Regards, Sekhar
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- View this message in context: http://www.nabble.com/Export-Bibs-holdings-is-giving-an-error...-tp19558300p... Sent from the Koha - Discuss mailing list archive at Nabble.com.
I have tried both of these commands: "rebuildnozebra.pl" and "rebuildzebra.pl -r -b -a". My problem is solved. Thanks for your help. I had problem in exporting the records both in MARC and XML formats. I have tried exporting the biblios and items by only using the following options: "From biblio number", "To biblio number", "Item type", "Library". I could export the complete records in MARC and XML formats. When I tried to use "From itemcallnumber" and "To itemcallnumber", I got an error. Hope this helps. Sekhar oldsalt wrote:
That error is usually caused by indexing problems. Try running rebuildzebra.pl or rebuildnozebra.pl depending on whether you have a zebra installation and see if that gets rid of the error. I'm not sure that will result in a successful export though. I have been unable to get koha to export the entire set of records. It is only exporting a couple of records. Good luck.
SekharMSRC wrote:
Hi all,
I am trying to export biblios and items (Tools-->Export Bibs/holdings) to MARC output format. I have tried exporting to XML output format as well.
Both of them are giving the following error(s):
-------------------------------------------------------------------------------------------------------------------- Koha error
The following fatal error has occurred:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 160. (in case of MARC output format)
Can't call method "as_xml_record" on an undefined value at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 157. ((in case of XML output format)
Apache Server version: Apache/2.2.3 Server built: Mar 22 2008 09:29:10 Koha 3.00.00.107 Koha DB 3.0000107 MySQL mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2 OS Linux bethel 2.6.18-6-686 #1 SMP Mon Aug 18 08:42:39 UTC 2008 i686 GNU/Linux Perl 5.008008 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Your help is greatly appreciated.
Thanks and Regards, Sekhar
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- View this message in context: http://www.nabble.com/Export-Bibs-holdings-is-giving-an-error...-tp19558300p... Sent from the Koha - Discuss mailing list archive at Nabble.com.
participants (3)
-
oldsalt -
SekharMSRC -
sekharmsrc@yahoo.com