[librecat-dev] Use of uninitialized value $\ in concatenation (.)or string

Vitali Peil vitali.peil at uni-bielefeld.de
Fri Jul 13 11:49:49 CEST 2018


Hi,

easy answer here: your selected set
"collection~tibcat_solr~documentType:r" does not  exist (according to
https://www.tib.eu/oai/public/repository/open?verb=ListSets).

Without the set parameter it works well

catmandu convert OAI --url
https://www.tib.eu/oai/public/repository/open--metadataPrefix marc_xml
--handler marcxml to MARC > output.xml

(but it doesn't provide an XML ;-) you have to specify a type).

So, one looks ok:
catmandu convert OAI --url
https://www.tib.eu/oai/public/repository/open--metadataPrefix marc_xml
--handler marcxml to MARC --type XML > output.xml

Best,

Vitali


Am 13.07.2018 um 11:31 schrieb Hauschke, Christian:
>
> Dear all,
>
>  
>
> in the mailing list archive it looks like my mail from yesterday
> wasn’t sent out to the list members. Please excuse me, if you receive
> this a second time now.
>
>  
>
> Despite the support of Patrick Hochstenbach
> (https://twitter.com/hochstenbach/status/1017087798132736002, thanks a
> lot!) I cannot achieve my desired result.
>
>  
>
> I want to write the following set as MARC/XML into a file (or many
> files):
> https://www.tib.eu/oai/public/repository/open?verb=ListRecords&metadataPrefix=marc_xml&set=collection~tibkat_solr~documentType:r
> <https://www.tib.eu/oai/public/repository/open?verb=ListRecords&metadataPrefix=marc_xml&set=collection%7Etibkat_solr%7EdocumentType:r>
>
> My approach, following the advice I received:
>
> catmandu convert OAI --url
> https://www.tib.eu/oai/public/repository/open--set
> collection~tibcat_solr~documentType:r --metadataPrefix marc_xml
> --handler marcxml to MARC > output.xml
>
>  
>
> This leads to the following error message:
>
> Use of uninitialized value $\ in concatenation (.) or string at
> /usr/local/share/perl/5.22.1/HTTP/OAI/Repository.pm line 169.
>
>  
>
> I use Catmandu 1.09 on Ubuntu. Any advice on how to proceed is very
> welcome.
>
>  
>
> Best,
>
> Christian
>
>  
>
>  
>
> -- 
>
> Christian Hauschke
>
> Technische Informationsbibliothek (TIB)
>
> German National Library of Science and Technology
>
> Open Science Lab
>
> Welfengarten 1 B // 30167 Hannover, Germany
>
> T +49 511 762-14642
>
> christian.hauschke at tib.eu <mailto:christian.hauschke at tib.eu>
>
> www.tib.eu <http://www.tib.eu/>
>
>  
>
>
>
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/

-- 
Vitali Peil
Deputy Head Acquisitions Department
Subject Librarian
Office U3-200/E1-144, Tel. +49521-106-4010/6125
Bielefeld University Library

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180713/a48c2a0d/attachment.html>


More information about the librecat-dev mailing list