[Koha] Bulk insert with crontab.

aszomor at szomor.hu aszomor at szomor.hu
Tue Aug 7 00:00:14 NZST 2012

Dear All,

I tried to change -i (-isbn) option to -match=022a an got these errors:
Use of uninitialized value $recorddata in pattern match (m//) at  
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 439,  
<GEN13> line 1.
unable to search the database for duplicates : No query entered at  
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 218,  
<GEN13> line 1.


Idézet (aszomor at szomor.hu):

> Dear All,
> I tried the bulkmarcimport.pl with -b -d -i options, but it were  
> unsuccessfully becouse of:
> -- "-d" options truncate commands were failed with foreign key violatoins
> -- "-i" option did not find the ISBN in the database
> The program did not died when the truncates did not succeded and the  
> already existent records duplicated!
> How can I do a successfully batch import ?
> Thanks,
> Attila.
> http://dev.mysql.com/doc/refman/5.6/en/truncate-table.html
> TRUNCATE TABLE fails for an InnoDB table if there are any FOREIGN  
> KEY constraints from other tables that reference the table.
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha

More information about the Koha mailing list