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 5 years ago

Closed 5 years ago

Last modified 5 years ago

#566 closed defect (fixed)

keyError in epayment module

Reported by: jbenito Owned by: lsyroka
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

2010-11-08 13:57:58,047 indico.requestHandler - ERROR base.py:332 -- Request 46912677747600 failed: "'defaultValue'"

url: http://indico.cern.ch/confModifEpayment.py?confId=112848

parameters: {'confId': '112848'}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/base.py", line 486, in process
    res = self._process()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/ePaymentModif.py", line 42, in _process
    return p.display()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/base.py", line 164, in display
    return "%s%s%s"%( self._getHTMLHeader(), \
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/main.py", line 159, in _display
    body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(),
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/conferences.py", line 2226, in _getBody
    return self._applyFrame( self._getPageContent( params ) )
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/registrationForm.py", line 64, in _getPageContent
    return wcomponents.WTabControl( self._tabCtrl, self._getAW() ).getHTML( self._getTabContent( params ) )
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/epayments.py", line 46, in _getTabContent
    return wc.getHTML()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/wcomponents.py", line 190, in getHTML
    vars = self.getVars()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/epayments.py", line 137, in getVars
    vars["sections"] = self._getSectionsHTML()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/epayments.py", line 79, in _getSectionsHTML
    departmentName = globalOptions[1][1]["defaultValue"]
KeyError: 'defaultValue'

Change History (3)

comment:1 Changed 5 years ago by lsyroka

  • Status changed from new to in_merge

comment:2 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

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

In [922490430bd737756ccee34a69083b26a462b1e8]:

[FIX] KeyError? in epayment module

  • epayment webpage can be browsed by event managers
  • fix#566

comment:3 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [922490430bd737756ccee34a69083b26a462b1e8]:

[FIX] KeyError? in epayment module

  • epayment webpage can be browsed by event managers
  • fix#566
Note: See TracTickets for help on using tickets.