Thank you Jared & Julien. Obviously without "base biblios" and "format xml" it could not work... I should have read the f... manual ! So now I am ready to do some work on zebra (beginning with http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962 ) ;-) Mathieu Le 11/11/2012 18:19, Jared Camins-Esakov a écrit :
Mathieu,
I can't use yaz-client on a test VM (Koha master, running on Ubuntu12.04). I have not used yaz-client for months, so maybe I am doing something wrong, or something is missing in my install... Could somebody give me some piece of advice ?
Koha is installed in dev-mode, on a fresh install (made today). Marc flavor : unimarc Zebra is working (rebuildzebra -b -x -reset + ./bin/koha-zebra-ctl.sh), and I can search my records in OPAC and staff interface
yaz-client is connecting, but when I try to use scan or f command I have got this error : "[109] Database unavailable -- v2 addinfo 'Default'"
Regards, M. Saby Rennes 2 University
Here is what I see when I run yaz-client :
msaby@msaby-VirtualBox:~/koha/kohamaster$ yaz-client -u msaby/msaby unix:/home/msaby/koha/kohamaster/var/run/zebradb/bibliosocket Authentication set to Open (msaby/msaby) Connecting...OK. Sent initrequest. Connection accepted by v3 target. ID : 81 Name : Zebra Information Server/GFS/YAZ Version: 4.2.18 cc3abee6f861d0166bef5333b1fc72fbdc8bd94c Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets Elapsed: 0.027603 Z> f @attr 1=4 universalis Sent searchRequest. Received SearchResponse. Search was a bloomin' failure. Number of hits: 0, setno 1 Result Set Status: none records returned: 0 Diagnostic message(s) from database: [109] Database unavailable -- v2 addinfo 'Default' Elapsed: 0.000641 Z> scan fre query: fre Received ScanResponse 0 entries Scan returned code 6 Diagnostic message(s) from database: [109] Database unavailable -- v2 addinfo 'Default'
Don't forget to choose the database before running a query: base biblios
Regards, Jared
-- Jared Camins-Esakov Bibliographer, C & P Bibliography Services, LLC (phone) +1 (917) 727-3445 (e-mail) jcamins@cpbibliography.com <mailto:jcamins@cpbibliography.com> (web) http://www.cpbibliography.com/
-- Mathieu Saby Service d'Informatique Documentaire Service Commun de Documentation Université Rennes 2 Téléphone : 02 99 14 12 65 Courriel : mathieu.saby@univ-rennes2.fr