I am not sure if it is buggy behavior or not, but it seems it could be come from db connect python script to determine indexes of the string in the db table.
Example:
>>>string = 'hi'
>>>print string[0]
Output is 'h' as a first string.
If you run the similar command , but string index is string instead of integer,
>>>string = 'hi'
>>>print string['hi']
Output is :
File "<pyshell#12>", line 1, in <module>
print string['hi']
TypeError: string indices must be integers, not str
You can have the same error, Therefore it is more likely incompatibility of the column types with db-connect.
As I mentioned it before, blob object is causing such kind of issue as well. Make sure that there is no blob object in your table. If you have, please take a look the link for it.
link text
... View more