This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#886 closed defect (fixed)

list session conveners exception

Reported by: arescope Owned by: arescope
Priority: critical Milestone: v0.98.1
Component: General Version:
Keywords: Cc:

Description

for v0.98b1

--------------------
Error details

exception message => local variable 'key' referenced before assignment
exception type => <type 'exceptions.UnboundLocalError'>
traceback => 
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 528, in process
    res = self._process()

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/conferenceModif.py", line 2735, in _process
    return p.display()

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/base.py", line 176, in display
    self._display( params ), \

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/main.py", line 159, in _display
    body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(),

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/conferences.py", line 2296, in _getBody
    return self._applyFrame( self._getPageContent( params ) )

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/conferences.py", line 4803, in _getPageContent
    return banner+p.getHTML()

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/wcomponents.py", line 214, in getHTML
    vars = self.getVars()

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/conferences.py", line 4657, in getVars
    vars["convenerNumber"]=str(len(self.__conf.getAllSessionsConvenerList()))

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 3252, in getAllSessionsConvenerList
    dictionary.setdefault(key, set()).add(convener)

request handler => MaKaC.webinterface.rh.conferenceModif.RHConfAllSessionsConveners
url => https://indico.cern.ch:443/confModifTools.py/allSessionsConveners?confId=114816
parameters => 
confId = 114816
headers => 
X-FORWARDED-SERVER: indico.cern.ch
COOKIE: _saml_idp=aHR0cHM6Ly9jZXJuLmNoL2xvZ2lu; MAKACSESSION=AE2FC101EF9EDB86; _shibsession_64656661756c7468747470733a2f2f696e6469636f2e6365726e2e63682f53686962626f6c6574682e73736f2f41444653=_2030a8b61de9d9de883e37fe497b2652
ACCEPT-LANGUAGE: en-GB
USER-AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
CONNECTION: Keep-Alive
REFERER: https://indico.cern.ch/confModifListings.py?confId=114816
HOST: indico.cern.ch
ACCEPT: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
X-FORWARDED-FOR: 137.138.104.200
X-FORWARDED-HOST: indico.cern.ch
ACCEPT-ENCODING: gzip, deflate
user => [7468] EFTHYMIOPOULOS, Ilias <ilias.efthymiopoulos@cern.ch>
--------------------

Change History (5)

comment:1 Changed 4 years ago by arescope

  • Status changed from new to assigned

comment:2 Changed 4 years ago by arescope

  • Status changed from assigned to in_work

comment:3 Changed 4 years ago by arescope

  • Status changed from in_work to awaiting_merge

comment:4 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

  • Resolution set to fixed
  • Status changed from awaiting_merge to closed

In [f42ec62ef29f1775aa675fafcf2c86b1230e73c1/indico]:

[FIX] Fix several exceptions.

comment:5 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

In [f42ec62ef29f1775aa675fafcf2c86b1230e73c1/indico]:

[FIX] Fix several exceptions.

Note: See TracTickets for help on using tickets.