Edgewall Software

Opened 11 years ago

Closed 11 years ago

#588 closed defect (invalid)

AssertionError: Session ID not set

Reported by: zinou <zinou8978@…> Owned by: cmlenz
Priority: major Milestone: 0.7
Component: General Version: 0.6
Keywords: 00fec6805e27a549cc0c89de Cc:

Description

How to Reproduce

While doing a POST operation on /prefs/advanced, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'4a446c55e095884b74155f9b',
 'action': u'save',
 'loadsid': u'',
 'newsid': u'00fec6805e27a549cc0c89de',
 'panel_id': u'advanced',
 'restore': u'Load'}

User Agent was: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0

System Information

Trac 0.11.8dev-r10236
Python 2.7.3 (default, Mar 13 2014, 11:26:58)
[GCC 4.7.2]
setuptools 0.6
psycopg2 2.4.5
Genshi 0.6.1
mod_wsgi 3.3 (WSGIProcessGroup genshi WSGIApplicationGroup %{GLOBAL})
Pygments 1.5
Subversion 1.6.17 (r1128011)
Docutils 0.8.1
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/prefs/web_ui.py", line 73, in process_request
    template, data = chosen_provider.render_preference_panel(req, panel_id)
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/prefs/web_ui.py", line 91, in render_preference_panel
    self._do_load(req)
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/prefs/web_ui.py", line 133, in _do_load
    req.session.get_session(oldsid)
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/web/session.py", line 184, in get_session
    self.bake_cookie()
  File "/usr/local/virtualenv/0.11-stable/lib/python2.7/site-packages/Trac-0.11.8dev_r10236-py2.7.egg/trac/web/session.py", line 165, in bake_cookie
    assert self.sid, 'Session ID not set'
AssertionError: Session ID not set

Change History (1)

comment:1 Changed 11 years ago by hodgestar

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

This seems to be a Trac issue rather than a Genshi issue?

Note: See TracTickets for help on using tickets.