Traceback (most recent call last):


 "translate.py", line 171, in <module>

main()


 "translate.py", line 120, in main

for i in predBatch[b][0]]) + '\n')


 "translate.py", line 120, in <listcomp>

for i in predBatch[b][0]]) + '\n')
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "sqlalchemy\engine\base.py", line 1211, in _execute_context


 "sqlalchemy\engine\default.py", line 803, in _init_compiled


 "sqlalchemy\engine\default.py", line 1159, in create_cursor


 "sqlalchemy\pool\base.py", line 1000, in cursor
AttributeError: 'NoneType' object has no attribute 'cursor'
