roskakori / cutplace

validate data stored in CSV, PRN, ODS or Excel files
http://cutplace.readthedocs.org/
GNU Lesser General Public License v3.0
18 stars 20 forks source link

Handle encoding errors in ICD and data properly #18

Closed roskakori closed 12 years ago

roskakori commented 12 years ago

Currently character encoding errors in the ICD or data result in a cryptic stack dump and program exit, for example:

!UnicodeDecodeError: 'ascii' codec can't decode byte 0x8a in position 1: ordinal not in range(128)

Instead, cutplace should stop processing the ICD/data and show a compact error message.