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

Closed 2 years ago

#1241 closed defect (fixed)

Room Booking error

Reported by: chekanov Owned by:
Priority: normal Milestone: v1.1
Component: General Version: 0.99
Keywords: Room Booking feature Cc: kovacs@…

Description

Hello,

I have an installation of indico (v0.99) here at Argonne. I keep getting errors associated with the Room Booking feature. I just tried to deactivate room booking and got an error. Furthermore, the logger send me many errors per day of the form:

2013-04-22 11:22:56,423 indico.requestHandler - ERROR base.py:358 -- Request 139997351193808 failed:
"'RoomBookingLocationList?'"
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/rh/base.py", line 561, in

process

res = self._process()

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/rh/contribDisplay.py", line 81,

in _process

outgen.confToXML(self._target.getConference(),0,1,1,showContribution=self._target.getId(), overrideCache=True)

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/common/output.py", line 1221, in confToXML

recordingManagerTags = recordingManagerTags)

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/common/output.py", line 404, in _confToXML

roomName = self._getRoom(conf.getRoom(), loc)

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/common/output.py", line 181, in _getRoom

if CrossLocationDB.isConnected() and location:

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/rb_location.py", line 560, in isConnected

for factory in Location.allFactories():

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/rb_location.py", line 225, in allFactories

for location in Location.allLocations:

File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/rb_location.py", line 262, in get

return root[_ROOM_BOOKING_LOCATION_LIST]

File "/usr/lib/python2.7/UserDict.py", line 23, in getitem

raise KeyError?(key)

KeyError?: 'RoomBookingLocationList?'

I would like to stop these errors. I assume the problem is that I don't have appropriate entries for in some required database for our rooms.
But I can't find any documentation or instructions on how to fix this.

Can you please tell me either how to fix the database for our local rooms, or turn off this feature.

Thanks
Eve

*
Eve Kovacs
Argonne National Laboratory,
Room L-177, Bldg. 360, HEP
9700 S. Cass Ave.
Argonne, IL 60439 USA
Phone: (630)-252-6208
Fax: (630)-252-5047
email: kovacs@…
*

Change History (2)

comment:1 Changed 2 years ago by jbenito

  • Milestone set to v1.1

comment:2 Changed 2 years ago by arescope

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

This issue is already fixed in the v1.1 of Indico, if you are using another version you can change that line with:

return root.get(_ROOM_BOOKING_LOCATION_LIST, [])

Note: See TracTickets for help on using tickets.