--> --> -->
Traceback (most recent call last):
  File "/data/vhost/www.undemocracy.com/docs/trunk.py", line 196, in <module>
    maintrunk(pathpart)
  File "/data/vhost/www.undemocracy.com/docs/trunk.py", line 173, in maintrunk
    LogIncomingDB(pagefunc, "%s/%s" % (hmap["nation"],hmap["person"]), referrer,ipaddress,useragent, remadeurl)
  File "/home/undemocracy/unparse-live/web2/db.py", line 106, in LogIncomingDB
    c.execute("INSERT INTO unlog_incoming (%s) VALUES (%s);" % (paramlist, paramvalues))
  File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'chenko', '', '', '', '2013-05-25 12:28:59.474449', '50.17.109.248', 'CCBot/2.0',' at line 1")