Hi, thanks for the quick response. :-)
> Let me know if in the output there are warnings like > "Unable to import OperationalError" (or "IntegrityError"). Looks fine now. > Please try to run the following test and let me know which variations > of the cursor.execute call work (if any): Here are the results: > cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', [u'movie']) Traceback (most recent call last): File "./test.py", line 19, in <module> cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', [u'movie']) File "/home/selke/Desktop/imdb/ibm_db/usr/lib/python2.5/site-packages/ibm_db-0.4.1-py2.5-linux-x86_64.egg/ibm_db_dbi.py", line 1035, in execute self._execute_helper(None, parameters) File "/home/selke/Desktop/imdb/ibm_db/usr/lib/python2.5/site-packages/ibm_db-0.4.1-py2.5-linux-x86_64.egg/ibm_db_dbi.py", line 951, in _execute_helper raise _get_exception(inst) ibm_db_dbi.DatabaseError: ibm_db_dbi::DatabaseError: Binding Error: > cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', (u'movie',)) Traceback (most recent call last): File "./test.py", line 20, in <module> cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', (u'movie',)) File "/home/selke/Desktop/imdb/ibm_db/usr/lib/python2.5/site-packages/ibm_db-0.4.1-py2.5-linux-x86_64.egg/ibm_db_dbi.py", line 1035, in execute self._execute_helper(None, parameters) File "/home/selke/Desktop/imdb/ibm_db/usr/lib/python2.5/site-packages/ibm_db-0.4.1-py2.5-linux-x86_64.egg/ibm_db_dbi.py", line 951, in _execute_helper raise _get_exception(inst) ibm_db_dbi.DatabaseError: ibm_db_dbi::DatabaseError: Binding Error: > cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', ['movie']) No error, but the table is still empty. > cursor.execute('INSERT INTO kind_type (kind) VALUES (?)', ('movie',)) No error, but the table is still empty. Hm, what to do next? Upgrade to SQLAlchemy 5? Joachim -- M. Sc. Joachim Selke Technische Universität Braunschweig, Institut für Informationssysteme Mühlenpfordtstraße 23, 38106 Braunschweig, Germany <http://www.l3s.uni-hannover.de/~selke> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel