This is what I am seeing:
Traceback (most recent call last):
File "/home/user/tools/executeJobs.py", line 86, in <module>
owner = re.sub('^(AS[0-9]+ )', '', str(element[2]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 13: ordinal not in range(128)
In the error line you already see the line in question. str(array[0])
never failed me before. How to work around this? A quick and dirty solution is fine.
Update:
Element[2] comes from this binary .dat list: http://github.com/maxmind/geoip-api-php/blob/master/tests/data/… also avail here: http://dev.maxmind.com/geoip/legacy/geolite (The IP/ASN one at the bottom of the table)