-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Davide Alberani wrote:
> My guess is that sqlalchemy's "connect" function isn't happy with
> dictionaries as parameters.  Anyway: here you're using SQLAlchemy 0.4,
> right?

Right.


> But I have a Plan B: try, in alchemyadapter.setConnection, to
> replace the code of the "if uri.startswith('ibm_db')" statement
> with only:
>   # I really do hope to have used the right numer of "connection" ;-)
>   connection.connection.set_autocommit(True)
> 
> Moving everything _after_ the line:
>   connection.module = eng_conn.dialect.dbapi

Does not work, I get the same error as at the very beginning:

[...]

sqlalchemy.exceptions.DatabaseError: (DatabaseError)
ibm_db_dbi::DatabaseError: Binding Error:  'INSERT INTO kind_type (kind)
VALUES (?)' [u'movie']


I also tried connection.set_autocommit(True) but it did not change
anything. I also do not get an error message, although this command
definitely gets executed (I verified this with a print command right
after the autocommit statement).

What's next? ;-)


Best,
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>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkd0awACgkQLkSNdE3JDbAD6QCfSsT3vOnB9+GMDodkmw4XFjY3
CEUAnRWZHLfNHyQ8WElv3C12XBmFwE2B
=0JXU
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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

Reply via email to