Hi, I tested your lib under Python 2.7.10, and was getting a crash with the following code:
from wikitables import import_tablestables = import_tables('List of postal codes')
Wiki link: https://en.wikipedia.org/wiki/List_of_postal_codes
I'm guessing the error could be arising for some weird chars in the country names (e.g. Åland Islands).
The code is trying to convert to unicode chars that already are in unicode. I just wrapped the erroring line to catch the exception and avoid the unicoding in that case.
Hi, I tested your lib under Python 2.7.10, and was getting a crash with the following code:
from wikitables import import_tables
tables = import_tables('List of postal codes')
Wiki link: https://en.wikipedia.org/wiki/List_of_postal_codesI'm guessing the error could be arising for some weird chars in the country names (e.g. Åland Islands). The code is trying to convert to unicode chars that already are in unicode. I just wrapped the erroring line to catch the exception and avoid the unicoding in that case.
Let me know if this helps.
Thanks!