List Info

Thread: Problems with SBN




Problems with SBN
user name
2007-02-15 05:57:32
bargioni writes:
 > Hi,
 > using yaz-client I can correctly search
opac.sbn.it:2100/nopac.
 > However, programmatically, using Net:Z3950 in a Perl
script, I obtain
 > 
 > FATAL (yazwrap): illegal/unsupported `which' (1) in  
 > Z_OtherInformationUnit
 > Aborted
 > 
 > My script runs correctly with a lot of Z39.50 sources
but SBN.
 > Any help?
 > Thanks a lot. Stefano

Hi, Stefano.  I'll need more information about what you're
doing,
since I was unable to retrieve records from this server
using
yaz-client, too:

	$ yaz-client opac.sbn.it:2100/nopac
	Connecting...OK.
	Sent initrequest.
	Connection accepted by v3 target.
	ID     : 81
	Name   : metavista-acs [a0a0b0a] [ BXZv7UyBfNE ]/GFS/YAZ
	Version: 1.2.0/1.43/2.0.32
	Options: search present triggerResourceCtrl scan sort
namedResultSets
	Elapsed: 1.862383
	Z> find attr 1=4 fish
	Sent searchRequest.
	Received SearchResponse.
	Search was a success.
	Number of hits: 1222, setno 2
	records returned: 0
	Elapsed: 0.277100
	Z> show 1
	Sent presentRequest (1+1).
	Diagnostic message(s) from database:
	    [2] Temporary system error -- v2 addinfo 'Present
error'
	nextResultSetPosition = 0
	Elapsed: 0.521951
	Z> format marc
	Z> show 1
	Sent presentRequest (1+1).
	Diagnostic message(s) from database:
	    [2] Temporary system error -- v2 addinfo ' Wrong target
state'
	nextResultSetPosition = 0
	Elapsed: 0.267116
	Z>

What sequence of commands are you using to search with
yaz-client, and
how are you trying to emulate this with Net::Z3950?

 _/|_	
____________________________________________________________
_______
/o ) /  Mike Taylor    <mikeindexdata.com>    http://www.miketaylor.or
g.uk
)_v__/  Zenophobia, n. -- the irrational fear of convergent
sequences.


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

Re: Problems with SBN
country flaguser name
Holy See (Vatican City State)
2007-02-15 07:28:50
Marc, maybe you only need to specify
format sutrs
before retrieve records:

$ yaz-client opac.sbn.it:2100/nopac
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : metavista-acs [a0a0b0a] [ BXZv7UyBfNE ]/GFS/YAZ
Version: 1.2.0/1.43/2.0.32
Options: search present triggerResourceCtrl scan sort
namedResultSets
Elapsed: 0.091031
Z> format sutrs
Z> f attr 1=4 fish
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1222, setno 1
records returned: 0
Elapsed: 0.364839
Z> s
Sent presentRequest (1+1).
Records: 1
[nopac]Record type: SUTRS
Livello bibliografico: Monografia
Autore:                Hinton, Susan Eloise
Titolo:                *Rusty il selvaggio / S.E. Hinton
Luogo di pubblicazione: Milano
Data di pubblicazione: stampa 1984
Codice identificativo: ITICCUANA070785
nextResultSetPosition = 2
Elapsed: 0.051814
Z> q

I'm agree with Marc Cromme: "Net::Z3950 or your Perl
script is the  
probable culprit.". But this happens only with the SBN
base...
Bye. Stefano

On 15/feb/07, at 12:57, Mike Taylor wrote:

> bargioni writes:
>> Hi,
>> using yaz-client I can correctly search
opac.sbn.it:2100/nopac.
>> However, programmatically, using Net:Z3950 in a
Perl script, I obtain
>>
>> FATAL (yazwrap): illegal/unsupported `which' (1)
in
>> Z_OtherInformationUnit
>> Aborted
>>
>> My script runs correctly with a lot of Z39.50
sources but SBN.
>> Any help?
>> Thanks a lot. Stefano
>
> Hi, Stefano.  I'll need more information about what
you're doing,
> since I was unable to retrieve records from this server
using
> yaz-client, too:
>
> 	$ yaz-client opac.sbn.it:2100/nopac
> 	Connecting...OK.
> 	Sent initrequest.
> 	Connection accepted by v3 target.
> 	ID     : 81
> 	Name   : metavista-acs [a0a0b0a] [ BXZv7UyBfNE
]/GFS/YAZ
> 	Version: 1.2.0/1.43/2.0.32
> 	Options: search present triggerResourceCtrl scan sort
namedResultSets
> 	Elapsed: 1.862383
> 	Z> find attr 1=4 fish
> 	Sent searchRequest.
> 	Received SearchResponse.
> 	Search was a success.
> 	Number of hits: 1222, setno 2
> 	records returned: 0
> 	Elapsed: 0.277100
> 	Z> show 1
> 	Sent presentRequest (1+1).
> 	Diagnostic message(s) from database:
> 	    [2] Temporary system error -- v2 addinfo 'Present
error'
> 	nextResultSetPosition = 0
> 	Elapsed: 0.521951
> 	Z> format marc
> 	Z> show 1
> 	Sent presentRequest (1+1).
> 	Diagnostic message(s) from database:
> 	    [2] Temporary system error -- v2 addinfo ' Wrong
target state'
> 	nextResultSetPosition = 0
> 	Elapsed: 0.267116
> 	Z>
>
> What sequence of commands are you using to search with
yaz-client, and
> how are you trying to emulate this with Net::Z3950?
>
>  _/|_	  
>
____________________________________________________________
_______
> /o ) /  Mike Taylor    <mikeindexdata.com>   
http:// 
> www.miketaylor.org.uk
> )_v__/  Zenophobia, n. -- the irrational fear of
convergent  
> sequences.
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )