On Mon, 28 Oct 2019, Riccardo (Jack) Lucchetti wrote:
On Mon, 28 Oct 2019, Marcin Błażejowski wrote:
> Hi,
>
> simple script:
> <hansl>
> set verbose off
> open dbnomics
>
> string KRAJE = "AT BE BG CY CZ DE DK ES EE FI FR GB GR HR HU IE IT LT LU
> LV MT NL PL PT RO SK SI SE EA12 EA19 EU15 EU28"
> loop foreach KR @KRAJE --quiet
> data Eurostat/irt_lt_mcby_q/Q.MCBY.$KR
> endloop
> </hansl>
> and we get SIGSEGV.
Thanks, Marcin. We have two separate problems here:
* the series you want is not available for all countries. If you use the line
string KRAJE = "AT BE BG CY CZ DE DK ES FI FR \
HR HU IE IT LT LU LV MT NL PL PT RO SK SI SE \
EU28"
things are ok.
* As for the remaining countries, the "catch" modifier make the loop go ahead
in all cases except for Estonia (EE), which provokes the segfault.
Of course we need to robustify the dbnomics scripts to cases like these; at
any rate, segfaults shouldn't happen. I'll have a look at this later today.
We weren't catching the error of no data supplied soon enough. That's
now fixed in git.
Allin