Hi,
  currently finding some weirdness with Catwalk when using identity.
The key caveat is that I have added identity to a project _after_
creating it initially, by generating a new project with tg-admin
quickstart and moving over files/code etc as appropriate.

  I am now at the point where identity works ok and I have the
identity related tables in my (mysql) database as follows:

   group_permission
   permission
   tg_group
   tg_user
   user_group
   visit
   visit_identity

 If I use tg-admin shell to add a new user it all work ok and I can
log in, query for the current user etc.  I can also see the visit and
visit_identity tables getting updated as I would expect (i.e. seeing a
row in visit_identity that has the right user_id when logged in).

 I also get my classes being loaded for identity:

   2007-01-15 12:17:01,787 turbogears.visit.sovisit INFO Succesfully
loaded "chrss.model.Visit"
   2007-01-15 12:17:01,938 turbogears.identity.soprovider INFO
Succesfully loaded "chrss.model.User"
   2007-01-15 12:17:01,940 turbogears.identity.soprovider INFO
Succesfully loaded "chrss.model.Group"
   2007-01-15 12:17:01,941 turbogears.identity.soprovider INFO
Succesfully loaded "chrss.model.Permission"
   2007-01-15 12:17:01,942 turbogears.identity.soprovider INFO
Succesfully loaded "chrss.model.VisitIdentity"

 So that all works ok.

 However starting tg-admin toolbox loads the wrong identity classes:

  2007-01-15 12:18:57,390 turbogears.visit.sovisit INFO Succesfully
loaded "turbogears.visit.sovisit.TG_Visit"
  2007-01-15 12:18:57,568 turbogears.identity.soprovider INFO
Succesfully loaded "turbogears.identity.soprovider.TG_User"
  2007-01-15 12:18:57,569 turbogears.identity.soprovider INFO
Succesfully loaded "turbogears.identity.soprovider.TG_Group"
  2007-01-15 12:18:57,571 turbogears.identity.soprovider INFO
Succesfully loaded "turbogears.identity.soprovider.TG_Permission"
  2007-01-15 12:18:57,572 turbogears.identity.soprovider INFO
Succesfully loaded "turbogears.identity.soprovider.TG_VisitIdentity"

 And also creates matching tables in the database, so now I have these
tables:

   group_permission
   permission
   tg_group
   tg_permission
   tg_user
   tg_visit
   tg_visit_identity
   user_group
   visit
   visit_identity

 I can then still log in and things seem to work, but I've got these
spurious tables.  Obviously for now I'll just not use Catwalk, but it's
slightly vexing.

 This might be related to this thread:


http://groups.google.co.vi/group/turbogears/browse_thread/thread/abf238097c5ca312/50639b204ccab5c0?lnk=st&q=catwalk+identity+tg_visit&rnum=8#50639b204ccab5c0

  Anyway, if anyone has any pointers as to what's going on that'd be
great.  Does Catwalk pull in extra configuration information from
somewhere that I've missed maybe?

  Cheers,
           John Montgomery


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