[PD] possible bug with iem_pbank_csv
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Dec 2 09:41:31 CET 2009
Malte Steiner wrote:
> first thanks to Thomas Musil for all his work on PD, its great! I think
> I have discoverd a bug in iem_pbank_csv, maybe its specific to my
> machine. When I write the data to disk and load it back I have only
> access to the first line. When I open the resulting .csv in an editor I
> see that all lines are there and that the data is stored correctly.
> I tried with different settings for delimiters and linebreaks but with
> same results. Same goes for the original helppatch.
> Last experiment I did with the example, copying the original csv file
> and than store another one with the same data. Again, when I reload it,
> it has suddenly only access to the settings from the first line while
> the original worked. When I compare the two files I can see a slightly
> difference, the good and working one as 2 bytes for linebreak (cr/rt
> perhaps) while the new one only has one.
this is a known bug of iem_pbank_csv: it can only handle dos-like
linebreaks (CRLF) and is helpless with unix linebreaks CR (or LF that is).
it think that thomas has fixed this somewhere, but probably he never
committed it :-(
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
More information about the Pd-list