#734: "no such table: tg_user " error
---------------------------+------------------------------------------------
Reporter: Italo.Maia | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 0.9a5
Component: Identity | Version: 0.9a4
Severity: blocker | Resolution:
Keywords: tg_user, user |
---------------------------+------------------------------------------------
Comment (by godoy):
{{{
07/Apr/2006:01:13:08 CONFIG INFO Server parameters:
07/Apr/2006:01:13:08 CONFIG INFO server.environment: development
07/Apr/2006:01:13:08 CONFIG INFO server.log_to_screen: True
07/Apr/2006:01:13:08 CONFIG INFO server.log_file:
07/Apr/2006:01:13:08 CONFIG INFO server.log_tracebacks: True
07/Apr/2006:01:13:08 CONFIG INFO server.log_request_headers: True
07/Apr/2006:01:13:08 CONFIG INFO server.protocol_version: HTTP/1.0
07/Apr/2006:01:13:08 CONFIG INFO server.socket_host:
07/Apr/2006:01:13:08 CONFIG INFO server.socket_port: 8080
07/Apr/2006:01:13:08 CONFIG INFO server.socket_file:
07/Apr/2006:01:13:08 CONFIG INFO server.reverse_dns: False
07/Apr/2006:01:13:08 CONFIG INFO server.socket_queue_size: 5
07/Apr/2006:01:13:08 CONFIG INFO server.thread_pool: 10
2006-04-07 01:13:08,632 turbogears.visit INFO Visit Tracking starting
2006-04-07 01:13:08,632 turbogears.visit DEBUG Loading visit manager from
plugin: sqlobject
2006-04-07 01:13:08,636 turbogears.visit INFO Visit filter initialised
2006-04-07 01:13:08,649 turbogears.identity INFO Identity starting
2006-04-07 01:13:08,649 turbogears.identity DEBUG Loading provider from
plugin: sqlobject
2006-04-07 01:13:08,703 turbogears.identity.soprovider INFO Succesfully
loaded "test_app.model.Usuario"
2006-04-07 01:13:08,704 turbogears.identity.soprovider INFO Succesfully
loaded "turbogears.identity.soprovider.TG_Group"
2006-04-07 01:13:08,704 turbogears.identity.soprovider INFO Succesfully
loaded "turbogears.identity.soprovider.TG_Permission"
2006-04-07 01:13:08,841 turbogears.identity INFO Identity visit plugin
initialised
2006-04-07 01:13:08,842 turbogears.identity DEBUG Loading provider from
plugin: sqlobject
2006-04-07 01:13:08,845 turbogears.identity.soprovider INFO Succesfully
loaded "test_app.model.Usuario"
2006-04-07 01:13:08,845 turbogears.identity.soprovider INFO Succesfully
loaded "turbogears.identity.soprovider.TG_Group"
2006-04-07 01:13:08,846 turbogears.identity.soprovider INFO Succesfully
loaded "turbogears.identity.soprovider.TG_Permission"
07/Apr/2006:01:13:08 HTTP INFO Serving HTTP on http://localhost:8080/
}}}
Tested with the given code on this bug report and everything worked as
expected. I used the procedure described on the Wiki:
* enabled identity and visit, started the app
* changed the model
* restarted the app
As it can be seen above, more specifically on the line
{{{
2006-04-07 01:13:08,845 turbogears.identity.soprovider INFO Succesfully
loaded "test_app.model.Usuario"
}}}
it worked without any problem. Tables were created and the user was
added.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/734>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---