Edgewall Software

Ticket #3183 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

OperationalError when setting user name and email in settings

Reported by: ssalmine@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.9.5
Severity: normal Keywords:
Cc:

Description

Created new trac instance using trac 0.9.5, using svn repo. Logged in (I am using .htaccess authentication). Then, I clicked on settings, and setted up realname and e-mail. After a while, I looked up at trac.log, and saw following traceback

21:57:02 Trac[session] DEBUG: Adding variable name with value "Simo Salminen" to session ranq
21:57:02 Trac[session] DEBUG: Adding variable email with value "simo.salminen@iki.fi" to session ranq
21:57:02 Trac[session] DEBUG: Purging old, expired, sessions.
21:57:02 Trac[session] DEBUG: Adding variable name with value "Simo Salminen" to session ranq
21:57:02 Trac[main] ERROR: columns sid, authenticated, var_name are not unique
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 116, in dispatch
    req.session.save()
  File "/usr/lib/python2.3/site-packages/trac/web/session.py", line 157, in save
    (self.sid, authenticated, k, v))
  File "/usr/lib/python2.3/site-packages/trac/db.py", line 219, in execute
    args or [])
  File "/usr/lib/python2.3/site-packages/trac/db.py", line 211, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: columns sid, authenticated, var_name are not unique

Attachments

Change History

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to wontfix

Well, this is going to stay for 0.9-stable and is probably not applicable to milestone:0.10, as the session code has changed quite a bit and is now more robust.

Add/Change #3183 (OperationalError when setting user name and email in settings)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.