Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#3183 closed defect (wontfix)

OperationalError when setting user name and email in settings

Reported by: ssalmine@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (1)

comment:1 by Christian Boos, 19 years ago

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.