rafelafrance / FloraTraiter

Parsers (rule-based) for information extraction of traits from plant treatments
MIT License
11 stars 3 forks source link

Error while trying to run the tests #6

Open IanOndo opened 5 hours ago

IanOndo commented 5 hours ago

After successfully installing the program, I ran into an error while trying to run some tests using make test from the base directory. The error says:

"UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 3722: character maps to " and occurs at the function read_dwc_terms().

Do you know what could have caused this error ?

Best,

Ian

IanOndo commented 5 hours ago

I figured it out by replacing line 20 in the file "darwin_core.py": with path.open() by with path.open(encoding='utf8')