Comment 4 for bug 575406

Revision history for this message
Emanuele FANTON (emanuele-fanton) wrote : Re: [Bug 575406] Re: lucid lynx - sqlalchemy 6

made other changes for it to work....previously tried without usb drive
connected...
excuse me...

change done ...session.save to session.add
 /usr/share/wiithon/core.py

riga 87 session.add(particion)

riga 49 session.add(juego)

riga 134 session.add(juego)

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

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

--
Saluti da Emanuele