[librecat-dev] header in CSV export

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Wed Jun 27 13:42:02 CEST 2018


I can’t repeat this. Could you create an issue at https://github.com/LibreCat/Catmandu/issues with some examples?

BR
Patrick

> On 27 Jun 2018, at 10:30, Christoph Krempe <krempe at ub.fu-berlin.de> wrote:
> 
> Hi *,
> 
> a CSV export with
> 
> my $exporter = Catmandu->exporter('CSV',
> 	    fix => 'sap.fix',
>            quote_char => '"',
>            sep_char => "\t",
>            escape_char => '"' ,
>            always_quote => 1,
>            header => 1,
>            fields =>
> 'sepid,publart,titel,subtitel,quelle,auflage,erscheinungsort,verlag,erscheinungsjahr',
>            columns =>
> 'sepid,publart,titel,subtitel,quelle,auflage,erscheinungsort,verlag,erscheinungsjahr'
>    );
> $exporter->add_many($importer);
> $exporter->commit;
> 
> runs perfect for a small amount of exporter lines. When creating an CSV
> file with a larger amount, for example 3000, the header in the CSV is
> missing.
> 
> Any idea why this happens?
> 
> 
> --
> 
> Mit freundlichen Grüßen
> 
> Ch. Krempe
> 
> __________________________________________________
> 
> Christoph Krempe
> Abt. Datenverarbeitung / Fachreferat Philosophie
> Universitätsbibliothek der FU Berlin
> Garystraße 39
> D-14195 Berlin
> 
> Tel.: 030 83854583
> Fax: 030 838454583
> _______________________________________________
> 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180627/6f93b852/attachment.asc>


More information about the librecat-dev mailing list