--> --> -->
Traceback (most recent call last):
  File "/data/vhost/www.undemocracy.com/docs/trunk.py", line 195, in ?
    maintrunk(pathpart)
  File "/data/vhost/www.undemocracy.com/docs/trunk.py", line 172, 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/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.4/site-packages/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 'afari', '', '', '', '2008-12-03 19:40:46.722133', '38.103.63.62', 'CCBot/1.0 (+h' at line 1")