Modify ↓
Opened 20 years ago
Closed 20 years ago
#3183 closed defect (wontfix)
OperationalError when setting user name and email in settings
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.



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.