-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
throwing err with large tsv #68
Comments
I have a ~7000 line TSV and I'm also getting this error Edit: When making use of the 'error" event I noticed that the problem was actually with quotes in my TSV file |
OK got time to investigate this today....it looks like the issue was an error that occured while parsing the |
So Im pretty sure I found the bug I was able to reproduce this by throwing an error in the |
I'm also getting this error, using the latest version(0.5.3). it's a ~0.5GB TSV file.
results in:
|
Same problem( |
Same problem with 450k line csv, throws error after approximately 200k lines parsed.
|
I have been unsuccessful in reproducing this error...so I was wondering if any one can provide me with an example tsv and some code that produces the error? |
Tested the file with a node-csv-parser, and it gave me and unexpected quote error. After the setting the correct delimiter, quote and escape it worked. |
I am also getting a same error with 20k line of CSV(file size 1.3mb) error: [D:\innovateMR\api_platform\main.js] undefined: "no writecb in Transform |
I was finally able to reproduce this by creating a large -Doug |
v0.5.4 fixes my issue. It works for me. Only thing its reading one extra row at the end of CSV file. |
Great! Does your file have extra line breaks at the end? |
Yes... but same file was working on v0.5.3, anyways i fixed it in my code by putting a check. |
I am having the same issue with a csv that has ~2.2M rows. I added an I would love to share the file but it contains data that I can't share. Thoughts? |
I found the rows that were causing the error. This is what they look like:
It is the last column that is causing the problem. Rows that don't have any escaping work fine. After stripping those rows out of my CSV file everything processed fine. |
@pseudosavant you are referring to the |
With out some more info this one is going to be hard to reproduce. Closing again until there is good example. |
I have a 2M line tsv, and im getting this
My code is using the writeStream. I am trying to use a readStream in here as well but I'm wondering if this should be good enough, or is there a cap on size?
.pipe(fs.createWriteStream(test, {encoding: "utf8"}));
Also I tried a few different csv parsing libraries and this is best I've seen so nice work.
The text was updated successfully, but these errors were encountered: