[Koha] daemon failing to insert into marc_breeding

Harry Jackson h.jackson at acu.ac.uk
Wed Nov 17 06:12:07 NZDT 2004


I am assessing Koha 2.0.1RC1 for use here and I am in need of some 
pointers.

First thing I need to get working is the import facility. I have got as 
far as getting the daemon working and downloading a marc record and 
updading the z3950results table. Having searched throught the daemon 
source I was under the impression that the ImportBreeding method would 
then  insert the record into the marc_breeding table but this does not 
appear to be happening. Any pointers on where abouts in the source to 
look would be helpful.

The output from the daemon is as follows (looks fine to my untrained eye)

       1 starting loop
       2 starting loop
       3 starting loop
       4 29114/37 : Processing isbn=0470846747 at LibraryOfCongress 
z3950.loc.gov:7090 Voyager MARC21 (1 forks)
       5 29114/37 : 2 >>
       6 29114/37 : creating and 29114/37 : working on results entry 73
       7 29114/37 : connected to LibraryOfCongress
       8 29114/37 : LibraryOfCongress : 1 records found, retrieving them 
(max 80)
       9 29115/37 : Processing isbn=0470846747 at ION.SLV.VIC.GOV.AU 
192.190.180.3:7090 voyager MARC21 (2 forks)
      10 29115/37 : 2 >>
      11 29115/37 : creating and 29115/37 : working on results entry 74
      12 29115/37 : connected to ION.SLV.VIC.GOV.AU
      13 29115/37 : ION.SLV.VIC.GOV.AU : no records found
      14 29115/37 : 192.190.180.3:7090 search done.



And to answer the question at:

     185 # and connect to z3950 server
     186 #FIXME: why do we need $dbi ? can't we use $dbh ?

in the daemon source. The reason you are unable to use the handle 
created before the fork is because you cannot share database connections 
across process's.

Cheers,
Harry



More information about the Koha mailing list