Opened 5 years ago
Closed 3 years ago
#542 closed defect (invalid)
Room Booking fails for empty database
Reported by: | pferreir | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | v1.0 |
Component: | Room Booking | Version: | 0.98-dev |
Keywords: | Cc: |
Description
Installed Indico, and immediatly activated room booking. The first time I go to the Room Booking part, I get an exception.
2010-09-30 14:48:26,598 indico.requestHandler - ERROR base.py:332 -- Request 47844295072080 failed: "AttributeError: 'NoneType' object has no attribute 'friendlyName' - - - -> {Python code generated from templates is available in /opt/indico/tmp/RoomBookingSearch4Rooms.tpl.error.py file(s)}" url: http://indicodev2.cern.ch:80/roomBooking.py/search4Rooms?forNewBooking=True parameters: {'forNewBooking': 'True'} Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/cds_indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 485, in process res = self._process() File "/usr/lib/python2.6/site-packages/cds_indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/roomBooking.py", line 602, in _process return p.display() File "/usr/lib/python2.6/site-packages/cds_indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/base.py", line 165, in display self._display( params ), \ File "/usr/lib/python2.6/site-packages/cds_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/cds_indico-0.98_dev-py2.6.egg/MaKaC/webinterface/pages/roomBooking.py", line 192, in _getBody return wc.getHTML( params ) File "/usr/lib/python2.6/site-packages/cds_indico-0.98_dev-py2.6.egg/MaKaC/webinterface/wcomponents.py", line 194, in getHTML tempHTML = TemplateExec.executeTemplate( text, vars, self.tplId ) File "/usr/lib/python2.6/site-packages/cds_indico-0.98_dev-py2.6.egg/MaKaC/common/TemplateExec.py", line 410, in executeTemplate raise TemplateExecException( e ) TemplateExecException: AttributeError: 'NoneType' object has no attribute 'friendlyName' - - - -> {Python code generated from templates is available in /opt/indico/tmp/RoomBookingSearch4Rooms.tpl.error.py file(s)}
Change History (5)
comment:1 Changed 5 years ago by jbenito
- Priority changed from normal to very low
comment:2 Changed 3 years ago by jbenito
- Milestone changed from v0.98.1 to v1.0
- Owner set to arescope
- Priority changed from very low to critical
- Status changed from new to assigned
comment:3 Changed 3 years ago by arescope
- Status changed from assigned to in_work
comment:4 Changed 3 years ago by arescope
- Owner arescope deleted
- Status changed from in_work to new
comment:5 Changed 3 years ago by arescope
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
It is not reproducible in the las version of Indico. Everything is going correctly.