On Mon, 21 Jul 2014, Riccardo (Jack) Lucchetti wrote:
On Mon, 21 Jul 2014, Riccardo (Jack) Lucchetti wrote:
> On Mon, 21 Jul 2014, Artur T. wrote:
>
>> Hello,
>>
>> I tried to open a csv-dataset (same error with xls or txt version) which
>> definitely worked in tha past (half a year ago). Now I obtain the
>> following
>> error using current csv on Win 7.
>
> Confirmed. It would seem that the culprit is the series named "INF"; if you
> modify the file and call it something else, it should work. I have no ideas
> as to why this happens.
Now I do. The problem is that process_csv_varname() (from lib/src/csvdata.c)
calls numeric_string() (from strutils.c) as numeric, which, in turn,
recognises "INF" as a numerical value. We screen out "inf" and
"nan" (which
we admit as legitimate variable names), but not their capitalised variants.
I think we need a policy decision here. Allin?
Yes, we do. I suppose we need to screen out "inf" and "nan" in all
combinations of cases.
Allin