The table was created manually without problems...
feria@influenza:~/.wiithon/bdd$ sqlite3 ~/.wiithon/bdd/wiithon_db_ver-4.db
SQLite version 3.6.16
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
accesorio rating_content
companie rating_type
genero rating_value
juego rel_accesorio_juego_obligatorio
juego_descripcion rel_accesorio_juego_opcional
juego_wiitdb rel_juego_genero
online_features rel_online_features_juego
particion rel_rating_content_juego
preferencias rom
sqlite>
witthon tries to start, appears the "loading" banner but crashes with this message on a Window (NO errors on console now)
Looks like python cant access sql database... :(
Thanks...
Here is the err...:
cannot create weak reference to 'str' object
Please, inform developers about this error.
Traceback (most recent call last):
File "/usr/games/wiithon", line 114, in <module>
App()
File "/usr/games/wiithon", line 98, in App
interfaz = WiithonGUI(core, loading)
File "/usr/share/wiithon/gui.py", line 361, in __init__
self.refrescarParticionesWBFS()
File "/usr/share/wiithon/gui.py", line 454, in refrescarParticionesWBFS
self.refrescarInfoWiiTDB()
File "/usr/share/wiithon/gui.py", line 1282, in refrescarInfoWiiTDB
query = session.query(Juego).group_by('idgame')
File "<string>", line 1, in <lambda>
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/query.py", line 52, in generate
fn(self, *args[1:], **kw)
File "<string>", line 1, in <lambda>
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/util.py", line 212, in go
return fn(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/query.py", line 698, in group_by
criterion = list(chain(*[_orm_columns(c) for c in criterion]))
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/util.py", line 512, in _orm_columns
mapper, selectable, is_aliased_class = _entity_info(entity)
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/util.py", line 483, in _entity_info
elif _is_mapped_class(entity):
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/util.py", line 589, in _is_mapped_class
manager = attributes.manager_of_class(cls)
File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.2-py2.6.egg/sqlalchemy/orm/attributes.py", line 1663, in manager_of_class
finder = self.manager_finders[cls]
File "/usr/lib/python2.6/weakref.py", line 243, in __getitem__
return self.data[ref(key)]
TypeError: cannot create weak reference to 'str' object
The table was created manually without problems...
feria@influenza :~/.wiithon/ bdd$ sqlite3 ~/.wiithon/ bdd/wiithon_ db_ver- 4.db juego_obligator io juego_opcional features_ juego content_ juego
SQLite version 3.6.16
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
accesorio rating_content
companie rating_type
genero rating_value
juego rel_accesorio_
juego_descripcion rel_accesorio_
juego_wiitdb rel_juego_genero
online_features rel_online_
particion rel_rating_
preferencias rom
sqlite>
witthon tries to start, appears the "loading" banner but crashes with this message on a Window (NO errors on console now)
Looks like python cant access sql database... :(
Thanks...
Here is the err...:
cannot create weak reference to 'str' object
Please, inform developers about this error.
Traceback (most recent call last): wiithon" , line 114, in <module> wiithon" , line 98, in App wiithon/ gui.py" , line 361, in __init__ refrescarPartic ionesWBFS( ) wiithon/ gui.py" , line 454, in refrescarPartic ionesWBFS refrescarInfoWi iTDB() wiithon/ gui.py" , line 1282, in refrescarInfoWiiTDB query(Juego) .group_ by('idgame' ) lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/query. py", line 52, in generate lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/util. py", line 212, in go lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/query. py", line 698, in group_by *[_orm_ columns( c) for c in criterion])) lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/util. py", line 512, in _orm_columns info(entity) lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/util. py", line 483, in _entity_info class(entity) : lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/util. py", line 589, in _is_mapped_class manager_ of_class( cls) lib/python2. 6/dist- packages/ SQLAlchemy- 0.5.2-py2. 6.egg/sqlalchem y/orm/attribute s.py", line 1663, in manager_of_class finders[ cls] python2. 6/weakref. py", line 243, in __getitem__
File "/usr/games/
App()
File "/usr/games/
interfaz = WiithonGUI(core, loading)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
query = session.
File "<string>", line 1, in <lambda>
File "/usr/local/
fn(self, *args[1:], **kw)
File "<string>", line 1, in <lambda>
File "/usr/local/
return fn(*args, **kw)
File "/usr/local/
criterion = list(chain(
File "/usr/local/
mapper, selectable, is_aliased_class = _entity_
File "/usr/local/
elif _is_mapped_
File "/usr/local/
manager = attributes.
File "/usr/local/
finder = self.manager_
File "/usr/lib/
return self.data[ref(key)]
TypeError: cannot create weak reference to 'str' object
Use the following URL for reporting bugs: /bugs.launchpad .net/wiithon/ +filebug
https:/