-
Notifications
You must be signed in to change notification settings - Fork 62
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
Issue with CSV: Unterminated quoted field at end of CSV line #176
Comments
@DylanVanAssche Do you think this could be an OpenCSV lib issue? Maybe the size of the CSV files? |
@tobiasschweizer I get an error opening the link you provided https://data.snf.ch/Exportcsv/OutputdataScientificPublication.csv Do you still have the failing example? |
Hi @AronBuzogany, Thanks for looking into this. Unfortunately, I do not have the original data anymore. In any case, I think the CSV was fine since it worked with CARML. Here is the link (they changed the portal): https://data.snf.ch/exportcsv/OutputdataScientificPublication.csv |
Thanks for your help @tobiasschweizer . I have just executed your current data with the current version of rmlmapper in development and everything seems to work fine. In any case, the error your issues reports hasn't occurred with the data. |
Back then, I had the impression that it could be related to memory. Did you update the OpenCSV version since when I filed the issue? |
Yes, I tested your issue in |
That's good news, great! |
We have already released it, so I will close this issue. If you encounter more problems, feel free to create more issues. Thanks! |
Hi there,
I am trying to map the following CSV file: https://data.snf.ch/Exportcsv/OutputdataScientificPublication.csv
I am using
rmlmapper-6.0.0-r363-all.jar
(CLI).Mapping:
I get the following error message:
This is the last line of the CSV.
The strange thing is that I can copy this exact line to a small test file and then it works.
OutputdataScientificPublication_test.csv
Is this an OpenCSV issue, see https://stackoverflow.com/questions/70976734/csvmalformedlineexception-unterminated-quoted-field-at-end-of-csv-line and https://stackoverflow.com/questions/70347745/unterminated-quoted-field-at-end-of-csv-line-beginning-of-lost-text? However, the quotes seem ok (opening, closing).
Maybe that is also related to #173 (quoted values).
Thanks a lot for your help.
The text was updated successfully, but these errors were encountered: