IMDbAPI\Skorokithakis

E-Mails with Skorokithakis

 * My question:

Hello Stavros,

8<
Traceback (most recent call last): File "imdbapi.py", line 7, in    session = init_db File "[/../../../../..]/imdbapi/database.py", line 62, in init_db session = Session File "[/../..]/lib/python2.6/SQLAlchemy-0.8.0b2-py2.6-linux-x86_64.egg/sqlalchemy/orm/session.py", line 2212, in __call__ return self.class_(**local_kw) TypeError: __init__ got an unexpected keyword argument 'transactional'

8<

 * Answer:

Hello, I think that's because the latest SQLAlchemy has changed and now requires (or doesn't) the "transactional" keyword. I am not entirely sure, but you can remove "transactional=" from "Session" and it might work.

Sorry I can't help more, it's been a while since I wrote it!

Stavros