I thought I'd have a stab at improving the identity management tutorial at

   http://docs.turbogears.org/1.0/IdentityManagment

Unfortunately CatWalk is breaking down after I create my first user when 
I try to add a new group. The traceback I'm seeing is:

127.0.0.1 - - [08/Nov/2006:12:45:37] "GET 
/catwalk/columns?objectName=Permission
  HTTP/1.1" 500 3159 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7"
2006-11-08 12:45:41,861 turbogears.identity DEBUG Retrieving identity 
for visit: ccd3cbe073960272c1fbaabe35289a04ed44e2d8
2006-11-08 12:45:41,861 turbogears.identity INFO Identity is available...
08/Nov/2006:12:45:41 HTTP INFO Traceback (most recent call last):
   File 
"C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
 
line 103, in _run
     applyFilters('before_main')
   File 
"C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\filters\__init__.py",
 
line 151, in applyFilters
     method()
   File 
"C:\Python24\lib\site-packages\turbogears-1.0b1-py2.4.egg\turbogears\visit\api.py",
 
line 154, in before_main
     plugin.record_request( visit )
   File 
"C:\Python24\lib\site-packages\turbogears-1.0b1-py2.4.egg\turbogears\identity\visitor.py",
 
line 170, in record_request
     set_current_identity( identity )
   File 
"C:\Python24\lib\site-packages\turbogears-1.0b1-py2.4.egg\turbogears\identity\__init__.py",
 
line 105, in set_current_identity
     cherrypy.request.user_name = identity.user_name
   File 
"C:\Python24\lib\site-packages\turbogears-1.0b1-py2.4.egg\turbogears\identity\soprovider.py",
 
line 91, in _get_user_name
     if not self.user:
   File 
"C:\Python24\lib\site-packages\turbogears-1.0b1-py2.4.egg\turbogears\identity\soprovider.py",
 
line 82, in _get_user
     self._user= user_class.get( visit.user_id )
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\inheritance\__init__.py",
 
line 161, in get
     val = super(InheritableSQLObject, cls).get(id, connection, 
selectResults)
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\main.py",
 
line 912, in get
     val._init(id, connection, selectResults)
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\main.py",
 
line 955, in _init
     selectResults = self._connection._SO_selectOne(self, dbNames)
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
 
line 576, in _SO_selectOne
     return self.queryOne(
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
 
line 760, in queryOne
     return self._dbConnection._queryOne(self._connection, s)
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
 
line 342, in _queryOne
     self._executeRetry(conn, c, s)
   File 
"C:\Python24\lib\site-packages\sqlobject-0.7.1dev_r1860-py2.4.egg\sqlobject\dbconnection.py",
 
line 298, in _executeRetry
     return cursor.execute(query)
OperationalError: no such column: child_name
Request Headers:
   COOKIE: tg-visit=ccd3cbe073960272c1fbaabe35289a04ed44e2d8
   Content-Length:
   ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
   USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.7) Gecko/
20060909 Firefox/1.5.0.7
   CONNECTION: keep-alive
   HOST: localhost:7654
   ACCEPT: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pl
ain;q=0.8,image/png,*/*;q=0.5
   Remote-Addr: 127.0.0.1
   ACCEPT-LANGUAGE: en-us,en;q=0.5
   Content-Type:
   Remote-Host: 127.0.0.1
   ACCEPT-ENCODING: gzip,deflate
   KEEP-ALIVE: 300

Is this a known problem, or did I make some booboo?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to