Opened 6 years ago

Closed 6 years ago

#1733 closed bug (wontfix)

error when logging into Trac in Chrome

Reported by: guaka Owned by: planetcruiser
Priority: minor Milestone:
Component: Trac Keywords:
Cc:

Description

(It works in Firefox.)

Traceback (most recent call last):

File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 440, in send_error

data, 'text/html')

File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 827, in render_template

message = req.session.pop('chrome.%s.%d' % (type_, i))

File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 216, in getattr

value = self.callbacks[name](self)

File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 300, in _get_session

return Session(self.env, req)

File "/usr/lib/python2.6/dist-packages/trac/web/session.py", line 202, in init

self.promote_session(sid)

File "/usr/lib/python2.6/dist-packages/trac/web/session.py", line 261, in promote_session

@self.env.with_transaction()

File "/usr/lib/python2.6/dist-packages/trac/db/api.py", line 77, in transaction_wrapper

fn(ldb)

File "/usr/lib/python2.6/dist-packages/trac/web/session.py", line 293, in update_session_id

""", (self.req.authname, sid))

File "/usr/lib/python2.6/dist-packages/trac/db/util.py", line 65, in execute

return self.cursor.execute(sql_escape_percent(sql), args)

File "/usr/lib/python2.6/dist-packages/trac/db/sqlite_backend.py", line 78, in execute

result = PyFormatCursor?.execute(self, *args)

File "/usr/lib/python2.6/dist-packages/trac/db/sqlite_backend.py", line 56, in execute

args or [])

File "/usr/lib/python2.6/dist-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error

return function(self, *args, kwargs)

IntegrityError?: columns sid, authenticated, name are not unique

Change History (2)

comment:1 Changed 6 years ago by TimLoal

I hope the work I've done in the last few days, hasn't disturbed any instabilities. I doubt it would affect Logging in, especially being browser specific. I am keen to get into the admin areas to finish the job.

Unable to recreate on Chrome 20.0.1180, Win 7 Ultimate.

After working with it intensively for a few days, my impression of Trac is not the best, beyond logging issues. I.e. it seems not to integrate well to bW, the project it is supporting and there is little work flow functionality, I envisage a private oDesk or eLance type system for making sure work gets assigned and done.

LnP

comment:2 Changed 6 years ago by guaka

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

Only checked this now. After the login worked in Firefox logging in works again in Chrome.

So it's probably just a weird one time issue and it's easy to work around by using another browser.

Note: See TracTickets for help on using tickets.