bdarnell / torndb

A lightweight wrapper around MySQLdb. Originally part of the Tornado framework.
583 stars 202 forks source link

TypeError: can only concatenate list (not "function") to list #43

Open liukelin opened 7 years ago

liukelin commented 7 years ago
  1. CONVERSIONS[field_type] = [(FLAG.BINARY, str)] + CONVERSIONS[field_type]
bdarnell commented 7 years ago

Can you provide some details about your environment? Versions of python, mysqldb and/or pymysql?

The torndb package is unmaintained (see the warning in the readme), so any problems in it may not get fixed.

liukelin commented 7 years ago

system ubuntu16.04 LTS python 3.5.2 PyMySQL 0.7.10

bdarnell commented 7 years ago

I get the same error. Maybe it worked with the version of pymysql that was current in september when #40 was merged? In any case, since this package is unmaintained, I would encourage you to look for an alternative solution.

liukelin commented 7 years ago

Thanks. I use other versions PyMySQL , maybe not have the question . I use other first an alternative solution. Thanks!