Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #464 (closed defect: invalid)

Opened 13 years ago

Last modified 12 years ago

Identity is getting lost in latest SVN (r581)

Reported by: Jorge Godoy <jgodoy@…> Owned by: anonymous
Priority: normal Milestone:
Component: Identity Version:
Severity: major Keywords:
Cc:

Description

After starting the project and logging in to it, one has to fill the form again at every new page being accessed. From the debug output it looks like visit + identity defaults aren't being able to recover data that is present on the database.

% ./start-site_amostras.py
25/Jan/2006:15:35:15 CONFIG INFO Server parameters:
25/Jan/2006:15:35:15 CONFIG INFO   server.environment: development
25/Jan/2006:15:35:15 CONFIG INFO   server.log_to_screen: True
25/Jan/2006:15:35:15 CONFIG INFO   server.log_file:
25/Jan/2006:15:35:15 CONFIG INFO   server.log_tracebacks: True
25/Jan/2006:15:35:15 CONFIG INFO   server.log_request_headers: True
25/Jan/2006:15:35:15 CONFIG INFO   server.protocol_version: HTTP/1.0
25/Jan/2006:15:35:15 CONFIG INFO   server.socket_host:
25/Jan/2006:15:35:15 CONFIG INFO   server.socket_port: 8080
25/Jan/2006:15:35:15 CONFIG INFO   server.socket_file:
25/Jan/2006:15:35:15 CONFIG INFO   server.reverse_dns: False
25/Jan/2006:15:35:15 CONFIG INFO   server.socket_queue_size: 5
25/Jan/2006:15:35:15 CONFIG INFO   server.thread_pool: 0
2006-01-25 15:35:15,750 turbogears.visit INFO Visit Tracking starting
2006-01-25 15:35:15,781 turbogears.visit INFO Visit filter initialised
2006-01-25 15:35:15,785 turbogears.identity INFO Identity starting
2006-01-25 15:35:15,785 turbogears.identity DEBUG Loading provider from plugin: sqlobject
2006-01-25 15:35:15,807 turbogears.identity INFO Identity visit plugin initialised
2006-01-25 15:35:15,808 turbogears.identity DEBUG Loading provider from plugin: sqlobject
25/Jan/2006:15:35:16 HTTP INFO Serving HTTP on http://localhost:8080/
2006-01-25 15:35:18,759 turbogears.identity DEBUG Retrieving identity for visit: 200
2006-01-25 15:35:18,760 turbogears.identity DEBUG user_name=godoy pw=teste
2006-01-25 15:35:18,771 turbogears.identity INFO Identity is available...
2006-01-25 15:35:18,795 turbokid.kidsupport DEBUG Recompiling template for turbogears.fastdata.templates.sitetemplate
2006-01-25 15:35:18,798 turbokid.kidsupport DEBUG Recompiling template for site_amostras.templates.site
2006-01-25 15:35:18,802 turbokid.kidsupport DEBUG Applying template site_amostras.templates.site
127.0.0.1 - - [25/Jan/2006:15:35:18] "POST / HTTP/1.1" 200 10138
2006-01-25 15:35:23,386 turbogears.identity DEBUG Retrieving identity for visit: 200
2006-01-25 15:35:23,387 turbogears.identity DEBUG No identity found
2006-01-25 15:35:23,387 turbogears.identity INFO Identity is available...
2006-01-25 15:35:23,401 turbogears.identity DEBUG Retrieving identity for visit: 200
2006-01-25 15:35:23,401 turbogears.identity DEBUG No identity found
2006-01-25 15:35:23,402 turbogears.identity INFO Identity is available...
2006-01-25 15:35:23,405 turbokid.kidsupport DEBUG Recompiling template for site_amostras.templates.login
2006-01-25 15:35:23,407 turbokid.kidsupport DEBUG Applying template site_amostras.templates.login
127.0.0.1 - - [25/Jan/2006:15:35:23] "GET /toxicologia/ HTTP/1.1" 403 6693

Change History

comment:1 Changed 13 years ago by Jorge Godoy <jgodoy@…>

  • Status changed from new to closed
  • Resolution set to invalid

My mistake. "identity_source" in config.py must have "visit" in it. I had accidentally removed that.

Note: See TracTickets for help on using tickets.