ok, i have updated to current svn version, but now the prob is in python-mysqldb
Installed: 1.2.1c3-4ubuntu4



  File "/usr/lib/python2.4/site-packages/SQLObject-0.8dev_r2019-py2.4.egg/sqlobject/mysql/mysqlconnection.py ", line 64, in makeConnection
    db=self.db, user=self.user, passwd=self.password, **self.kw)
  File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 134, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
TypeError: 'charset' is an invalid keyword argument for this function


any ideas?
flo


2006/10/14, Florian Konnertz <f.konnertz@gmail.com>:

hi all
i have similar prob with encoding in mysql
probably i'll ask soon and paste the code , fow now just a question about the connection uri keywords.

  File "/usr/lib/python2.4/site-packages/SQLObject- 0.7rc1-py2.4.egg/sqlobject/dbconnection.py", line 211, in __init__
    DBConnection.__init__(self, **kw)
TypeError: __init__() got an unexpected keyword argument 'charset'

same with
sqlobject_encoding

what's wrong?

tia,
florian






   Waht about an URI with
"...use_unicode=1&sqlobject_encoding=utf-8&charset=utf8"
   ?