[Dachs-support] Issue with gz files?
Stéphane Erard
stephane.erard at obspm.fr
Thu Mar 28 15:21:30 CET 2019
Dear Markus
I’m trying to unzip source files in a q.rd, using csvGrammar.
From the doc, I'm writing
<sources pattern="data/*.csv.gz" recurse="True"/>
<csvGrammar preFilter="zcat">
<rowfilter procDef="//products#define">
<bind name="table">"\schema.epn_core"</bind>
</rowfilter>
</csvGrammar>
etc
but end up with
Failed /var/gavo/inputs/vims_satellites/data/vis_nav-2017.csv.gz
Done None, read 2013
*** Error: While parsing source
'/var/gavo/inputs/vims_satellites/data/vis_nav-2017.csv.gz', near line
2014:
AttributeError("'list' object has no attribute 'clear’ »,)
I get other errors if I use bzcat, gunzip… instead of zcat (which is actually installed)
Am I doing something wrong?
Stéphane
More information about the Dachs-support
mailing list