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

#887 closed defect (fixed)

banner exception contrib modification

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 'banner' 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/contribMod.py", line 159, in _process
    return p.display(**params)

  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/contributions.py", line 478, in _getPageContent
    return banner + body

request handler => MaKaC.webinterface.rh.contribMod.RHContributionModification
url => https://indico.cern.ch:443/contributionModification.py?contribId=484&sessionId=18&confId=129980
parameters => 
contribId = 484
sessionId = 18
days = all
confId = 129980
headers => 
X-FORWARDED-SERVER: indico.cern.ch
COOKIE: _saml_idp=aHR0cHM6Ly9jZXJuLmNoL2xvZ2lu; _shibsession_64656661756c7468747470733a2f2f696e6469636f2e6365726e2e63682f53686962626f6c6574682e73736f2f41444653=_d01febc7d88cf97cb78b52232d41d46b; MAKACSESSION=BDF3656D783A9973
ACCEPT-LANGUAGE: en-us
USER-AGENT: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
CONNECTION: Keep-Alive
REFERER: https://indico.cern.ch/sessionModification.py/contribList?sessionId=18&amp;confId=129980
HOST: indico.cern.ch
ACCEPT: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
X-FORWARDED-FOR: 128.200.48.194
X-FORWARDED-HOST: indico.cern.ch
ACCEPT-ENCODING: gzip, deflate
user => [45087] MOLZON, William <wmolzon@uci.edu>
--------------------

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.