[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:
> Hello
> 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...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091202/cba51665/attachment.bin>

More information about the Pd-list mailing list