Hi! I've done a tg-admin quickinstall wiki using identity, I opened the
toolbox and add an example user via Catwalk. Then a group, and when I
try to add a permission I get an OperationalError: no such table:
permission. I've chequed the database using sqlite and there is a
tg_permission table. Now when I want to add new users or groups I get the
same error, but complaining about missing user_group table (there is a
tg_user_group table on the DB). Same for Visit (visit/tg_visit) and
VisitIdentity (visit_identity/tg_visit_identity).
Any ideas? (TurboGears 0.9a8)
127.0.0.1 - - [25/Jul/2006:13:00:44] "GET /catwalk/browse?object_name=User
HTTP/1.1" 302 161 "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4)
Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)"
2006-07-25 13:00:44,079 turbogears.identity DEBUG Retrieving identity for
visit: 1c49068ce5ac6a601b1f5322581c930e1c3536fd
2006-07-25 13:00:44,079 turbogears.identity INFO Identity is available...
2006-07-25 13:00:44,083 turbogears.controllers DEBUG Adding allow_json rule:
allow_json and (kw.get("tg_format", None) == "json" or accept
=="text/javascript")
2006-07-25 13:00:44,087 turbogears.controllers DEBUG Generated rule
kw.get("tg_format", "default") == "default"
2006-07-25 13:00:44,089 turbogears.database DEBUG Starting SQLObject transaction
2006-07-25 13:00:44,092 turbogears.controllers DEBUG Calling <function index at
0xa73a125c> with *((<turbogears.toolbox.catwalk.browse.Browse object at
0xa73a7d2c>, u'User')), **({'start': 0, 'page_size': 10, 'context': '',
'filters': ''})
25/Jul/2006:13:00:44 HTTP INFO Page handler: <bound method Browse.index of
<turbogears.toolbox.catwalk.browse.Browse object at 0xa73a7d2c>>
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py", line 105,
in _run
self.main()
File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py", line 254,
in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File "/var/lib/python-support/python2.4/turbogears/controllers.py", line 331,
in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/var/lib/python-support/python2.4/turbogears/database.py", line 245, in
so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/var/lib/python-support/python2.4/turbogears/controllers.py", line 348,
in <lambda>
mapping, fragment, *args, **kw)))
File "/var/lib/python-support/python2.4/turbogears/controllers.py", line 372,
in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/var/lib/python-support/python2.4/turbogears/errorhandling.py", line
71, in try_call
return func(self, *args, **kw)
File
"/var/lib/python-support/python2.4/turbogears/toolbox/catwalk/browse.py", line
24, in index
total,rows = self.rows_for_model(object_name,start,page_size,filters)
File
"/var/lib/python-support/python2.4/turbogears/toolbox/catwalk/browse.py", line
124, in rows_for_model
relations = self.relation_values(object_name,rows)
File
"/var/lib/python-support/python2.4/turbogears/toolbox/catwalk/browse.py", line
172, in relation_values
joins[column.joinMethodName] = conn.queryAll(query)
File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 751,
in queryAll
return self._dbConnection._queryAll(self._connection, s)
File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 311,
in _queryAll
self._executeRetry(conn, c, s)
File "/usr/lib/python2.4/site-packages/sqlobject/dbconnection.py", line 297,
in _executeRetry
return cursor.execute(query)
OperationalError: no such table: user_group
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
.------------------------------------------------------------------------,
\ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 /
'--------------------------------------------------------------------'
Desde chiquito quería ser doctor
Pero después me enfermé y me hice músico
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---