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

Closed 6 years ago

Last modified 2 years ago

#31 closed defect (fixed)

Traceback when accessing TT in management mode (RB related)

Reported by: pferreir Owned by: cemunoz
Priority: normal Milestone: v0.97.0
Component: Timetable Version: 0.97.0
Keywords: Cc:

Description (last modified by pferreir)

Issues with CRBS DB access?


User Comments

I was trying to edit the timetable on my meeting when this error cropped up.


Error details

exception message => unsubscriptable object
exception type => exceptions.TypeError
traceback => 
  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/rh/base.py", line 444, in process
    res = self._process()

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/rh/conferenceModif.py", line 565, in _process
    return p.display(**params)

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/base.py", line 139, in display
    return "%s%s%s"%( self._getHTMLHeader(), \

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/main.py", line 160, in _display
    body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(),

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/conferences.py", line 2209, in _getBody
    return self._applyFrame( self._getPageContent( params ) )

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/conferences.py", line 3238, in _getPageContent
    return self._getTTPage(params)

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/conferences.py", line 3235, in _getTTPage
    return wc.getHTML(params)

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/wcomponents.py", line 188, in getHTML
    vars = self.getVars()

  File "/usr/lib/python2.4/site-packages/MaKaC/webinterface/pages/conferences.py", line 3178, in getVars
    vars['eventInfo'] = simplejson.dumps(DictPickler.pickle(self._conf, timezone=tz))

  File "/usr/lib/python2.4/site-packages/MaKaC/common/PickleJar.py", line 197, in pickle
    return DictPickler._pickle(object, globalPickleMap[clazz], timezone)

  File "/usr/lib/python2.4/site-packages/MaKaC/common/PickleJar.py", line 248, in _pickle
    result = method(object)

  File "/usr/lib/python2.4/site-packages/MaKaC/conference.py", line 3292, in getFavoriteRooms
    roomList.extend(map(lambda x: x._getName(), self.getBookedRooms()))

  File "/usr/lib/python2.4/site-packages/MaKaC/conference.py", line 2205, in getBookedRooms
    for r in self.getRoomBookingList():

  File "/usr/lib/python2.4/site-packages/MaKaC/conference.py", line 2180, in getRoomBookingList
    r = resvGuid.getReservation()

  File "/usr/lib/python2.4/site-packages/MaKaC/rb_location.py", line 305, in getReservation
    return CrossLocationQueries.getReservations(

  File "/usr/lib/python2.4/site-packages/MaKaC/rb_location.py", line 421, in getReservations
    return Location.parse( location ).factory.newReservation().getReservations( **kwargs )

  File "/usr/lib/python2.4/site-packages/MaKaC/plugins/RoomBooking/default/reservation.py", line 193, in getReservations
    return root[_RESERVATIONS].get( resvID )

request handler => <class 'MaKaC.webinterface.rh.conferenceModif.RHConfModifSchedule'>
url => http://indicobeta.cern.ch/confModifSchedule.py?confId=73604
parameters => 
slot = []
sessions = []
contributions = []
days = all
confId = 73604
headers => 
Host: indicobeta.cern.ch

Change History (6)

comment:1 Changed 6 years ago by pferreir

  • Description modified (diff)

comment:2 Changed 6 years ago by pferreir

  • Description modified (diff)

comment:3 Changed 6 years ago by cemunoz

  • Owner set to cemunoz
  • Status changed from new to accepted

comment:4 Changed 6 years ago by cesar.munoz.orena@…

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

commit 93192254eef449c4ec16c9ba02a175dc03f0217a
Author: Cesar Munoz Orena <cesar.munoz.orena@…>
Date: Thu Nov 12 17:22:31 2009 +0100

[FIXED] Error when displaying conference timetable


  • When the timetable link of a conference was clicked there was an error because the handler (RHConferenceTimeTable) was not inheriting from the class that made the connection with the database (RoomBookingDBMixin)
  • fixes #31

comment:6 Changed 5 years ago by Cesar Munoz Orena <cesar.munoz.orena@…>

In [93192254eef449c4ec16c9ba02a175dc03f0217a]:

[FIXED] Error when displaying conference timetable

  • When the timetable link of a conference was clicked there was an error because the handler (RHConferenceTimeTable) was not inheriting from the class that made the connection with the database (RoomBookingDBMixin)
  • fixes #31

comment:7 Changed 2 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In 5e257d8c9fee71f15079a46773eb8b4ab7225750/indico:

[FIX] Traceback while creating fresh DB (install script)

  • Closes #31 (GH)
Note: See TracTickets for help on using tickets.