for sqlalchemy 0.6.x you need to change all session.save,
session.save_or_update, session.update ...to session.add....
2010/7/16 Carlo Mandelli <email address hidden>
> fix committed in:
>
> 1.1x-r403
> 1.2x-r491
>
> ** Changed in: wiithon
> Status: In Progress => Fix Committed
>
> --
> 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: Fix Committed
> 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
>
for sqlalchemy 0.6.x you need to change all session.save, save_or_ update, session.update ...to session.add....
session.
2010/7/16 Carlo Mandelli <email address hidden>
> fix committed in: /bugs.launchpad .net/bugs/ 575406 0.6.0-py2. 6.egg lib/python2. 6/dist- packages/ SQLAlchemy- 0.6.0-py2. 6.egg wiithon" , line 15, in <module> wiithon/ cli.py" , line 11, in <module> wiithon/ wiitdb_ schema. py", line 32, in <module> DD(db) wiithon/ util.py" , line 377, in getSesionBDD lib/python2. 6/dist- packages/ SQLAlchemy- 0.6.0-py2. 6.egg/sqlalchem y/orm/scoping. py", lib/python2. 6/dist- packages/ SQLAlchemy- 0.6.0-py2. 6.egg/sqlalchem y/util. py", lib/python2. 6/dist- packages/ SQLAlchemy- 0.6.0-py2. 6.egg/sqlalchem y/orm/session. py", _init__ (**local_ kwargs) /bugs.launchpad .net/wiithon/ +bug/575406/ +subscribe
>
> 1.1x-r403
> 1.2x-r491
>
> ** Changed in: wiithon
> Status: In Progress => Fix Committed
>
> --
> lucid lynx - sqlalchemy 6
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Wiithon - WBFS Partition Manager: Fix Committed
> 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-
> Removing SQLAlchemy 0.5.8 from easy-install.pth file
> Adding SQLAlchemy 0.6.0 to easy-install.pth file
>
> Using /usr/local/
> Processing dependencies for sqlalchemy
> Finished processing dependencies for sqlalchemy
> emyr@ubuntu:~$ wiithon
> Traceback (most recent call last):
> File "/usr/games/
> from cli import WiithonCLI
> File "/usr/share/
> from wiitdb_schema import Particion
> File "/usr/share/
> session = util.getSesionB
> File "/usr/share/
> session = Session()
> File
> "/usr/local/
> line 52, in __call__
> return self.registry()
> File
> "/usr/local/
> line 1265, in __call__
> val = self.registry.value = self.createfunc()
> File
> "/usr/local/
> line 180, in __init__
> super(Sess, self)._
> TypeError: __init__() got an unexpected keyword argument 'transactional'
>
> To unsubscribe from this bug, go to:
> https:/
>
--
Saluti da Emanuele