Edgewall Software
Modify

Ticket #3183 (closed defect: wontfix)

Opened 6 years ago

Last modified 6 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:
Release Notes:
API 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

Change History

comment:1 Changed 6 years ago by cboos

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

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.