[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-zebra] zebra extended services problem
From: |
Paul POULAIN |
Subject: |
Re: [Koha-zebra] zebra extended services problem |
Date: |
Mon, 09 Jan 2006 18:34:35 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.6-7.2.20060mdk (X11/20050322) |
Mike Taylor a écrit :
I begin to play with ZOOM::package and get some unclear (to me)
errors...
# first, drop Zebra DB
eval {
my $Zpackage = $Zconn->package();
$Zpackage->send("drop");
};
Two problems here. First, _what_ database do you want to drop? You
need to set its name into the XS package so that the server knows what
you're requesting:
$Zpackage->option(databaseName => $dbname);
OK, but why is dbname usefull ?
If I don't mind, zebrasrv uses 1 zebra.cfg, that defines one DB
structure, so 1 DB.
Or I missed something you'll explain !
Error updating 10002 => Encoding failed
I bet it's
> $Zpackage->option(record => $record->as_usmarc);
Once more, you win the prize! (Three in 24 hours. Good going.)
Okay, I'll play Euromillion, on Friday 13 :
(http://www.fdjeux.com/jeux/euromillions/)
103 000 000 Euros to win !
(If I win, i'll still work on Koha, but as a hobby ;-) )
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)