samarsault/CSV-Mapper

Failed to open CSV files

dudycooly opened this issue · 1 comments

print converter.doConvert(pretty=True) File "ajax/lib/python2.7/site-packages/csvmapper/converter.py", line 20, in doConvert dic = self.parser.buildDict() File "ajax/lib/python2.7/site-packages/csvmapper/csv_parser.py", line 62, in buildDict self.parseCSV() File "ajax/lib/python2.7/site-packages/csvmapper/csv_parser.py", line 30, in parseCSV for row in rdr: Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?

The solutions can be found here: http://stackoverflow.com/questions/17315635/csv-new-line-character-seen-in-unquoted-field-error
I tried changing read mode to rU, it works

Thanks for showing interest @dudycooly and reporting this issue! :)

This has been fixed in 84c3fd0