[Dachs-support] Issue with gz files?

Markus Demleitner msdemlei at ari.uni-heidelberg.de
Fri Mar 29 10:31:50 CET 2019


Dear Stéphane,

On Thu, Mar 28, 2019 at 03:21:30PM +0100, Stéphane Erard wrote:
> 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’ »,)

Hm, gzip is a red herring here, I think.  But I'll need to know where
DaCHS messes up.

Could you run

dachs --traceback imp q

and send me the output?

Thanks,

        Markus



More information about the Dachs-support mailing list