Comment 3 for bug 575406

removing transactional made the trick..now it works with sqlalchemy 0.6

2010/7/14 Carlo Mandelli <email address hidden>

> Please, try with version 1.21-489.
>
> ** Changed in: debian
> Status: New => In Progress
>
> ** Changed in: wiithon
> Status: New => In Progress
>
> ** Changed in: debian
> Status: In Progress => New
>
> --
> lucid lynx - sqlalchemy 6
> https://bugs.launchpad.net/bugs/575406
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Wiithon - WBFS Partition Manager: In Progress
> Status in Debian GNU/Linux: New
>
> Bug description:
> with sqlalchemy 0.5.8 it works fine on the same computer.
>
> this is the output of the error:
>
> Searching for sqlalchemy
> Best match: SQLAlchemy 0.6.0
> Processing SQLAlchemy-0.6.0-py2.6.egg
> Removing SQLAlchemy 0.5.8 from easy-install.pth file
> Adding SQLAlchemy 0.6.0 to easy-install.pth file
>
> Using /usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.6.0-py2.6.egg
> Processing dependencies for sqlalchemy
> Finished processing dependencies for sqlalchemy
> emyr@ubuntu:~$ wiithon
> Traceback (most recent call last):
> File "/usr/games/wiithon", line 15, in <module>
> from cli import WiithonCLI
> File "/usr/share/wiithon/cli.py", line 11, in <module>
> from wiitdb_schema import Particion
> File "/usr/share/wiithon/wiitdb_schema.py", line 32, in <module>
> session = util.getSesionBDD(db)
> File "/usr/share/wiithon/util.py", line 377, in getSesionBDD
> session = Session()
> File
> "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.6.0-py2.6.egg/sqlalchemy/orm/scoping.py",
> line 52, in __call__
> return self.registry()
> File
> "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.6.0-py2.6.egg/sqlalchemy/util.py",
> line 1265, in __call__
> val = self.registry.value = self.createfunc()
> File
> "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.6.0-py2.6.egg/sqlalchemy/orm/session.py",
> line 180, in __init__
> super(Sess, self).__init__(**local_kwargs)
> TypeError: __init__() got an unexpected keyword argument 'transactional'
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/wiithon/+bug/575406/+subscribe
>

--
Saluti da Emanuele