[Trac-tickets] [The Trac Project] #2570: internal error ("IntegrityError") when logging in after apache restart

The Trac Project noreply at edgewall.com
Mon Jan 9 04:59:11 CST 2006


#2570: internal error ("IntegrityError") when logging in after apache restart
--------------------------------+-------------------------------------------
 Reporter:  ssalmine at gmail.com  |       Owner:  jonas
     Type:  defect              |      Status:  new  
 Priority:  normal              |   Milestone:       
Component:  general             |     Version:  0.9  
 Severity:  normal              |    Keywords:       
--------------------------------+-------------------------------------------
 Got following internal error when doing this:

  1. setup trac
  1. trying to login (pressing the login button)
  1. that didn't work - no login configured, so added basicauth to apache,
 and restarted it
  1. pressed login again

 After trying again with new browser sessions things worked fine.

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py",
 line 206, in handler
     dispatch_request(mpr.path_info, mpr, env)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in
 dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 81, in
 process_request
     self._do_login(req)
   File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 117, in
 _do_login
     "VALUES (%s, %s, %s, %s)", (cookie, remote_user,
   File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 255, in
 execute
     self.rs = self.con.db.execute(SQL % parms)
 IntegrityError: columns cookie, ipnr, name are not unique
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2570>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list