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

Closed 3 years ago

Last modified 3 years ago

#1029 closed defect (fixed)

fresh install of 0.98.1 cannot create events

Reported by: makub Owned by: arescope
Priority: critical Milestone: v0.98.2
Component: General Version: 0.98-dev
Keywords: Cc:

Description

A fresh installation of Indico 0.98.1 with new (empty) database can not create a new event, it fails with:

2012-05-10 13:03:05,606 indico.requestHandler - ERROR base.py:363 -- Request 140624548507472 failed: "'RoomBookingLocationList'"
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/webinterface/rh/base.py", line 565, in process
    res = self._process()
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/webinterface/rh/categoryDisplay.py", line 204, in _process
    c = self._createEvent( self._params )
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/webinterface/rh/categoryDisplay.py", line 243, in _createEvent
    UtilsConference.setValues(c, self._params)
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/webinterface/rh/categoryDisplay.py", line 489, in setValues
    r.retrieveFullName(newLocation)
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/conference.py", line 1557, in retrieveFullName
    room = CrossLocationQueries.getRooms(roomName=self.name, location=location)
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/rb_location.py", line 487, in getRooms
    locObj = Location.parse( location )
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/rb_location.py", line 161, in parse
    for loc in Location.allLocations:
  File "/usr/local/lib/python2.6/dist-packages/indico-0.98.1-py2.6.egg/MaKaC/rb_location.py", line 263, in __get__
    return root[_ROOM_BOOKING_LOCATION_LIST]
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'RoomBookingLocationList'

A workaround is to run the migration script for the new database

python /data/indico/bin/migration/migrate_0.97_0.98.py --prev-version=0.98

Change History (7)

comment:1 Changed 3 years ago by jbenito

  • Priority changed from normal to critical

comment:2 Changed 3 years ago by jbenito

  • Owner set to arescope
  • 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

  • Status changed from in_work to awaiting_merge

comment:5 Changed 3 years ago by Alberto Resco Perez <alberto.resco.perez@…>

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

In [67aa0b94b704c54cd4164dc982c49f60fd388f24/indico]:

[FIX] Fix create events if not RB active

comment:6 Changed 3 years ago by Alberto Resco Perez <alberto.resco.perez@…>

In 67aa0b94b704c54cd4164dc982c49f60fd388f24/indico:

[FIX] Fix create events if not RB active

comment:7 Changed 3 years ago by Alberto Resco Perez <alberto.resco.perez@…>

In 67aa0b94b704c54cd4164dc982c49f60fd388f24/indico:

[FIX] Fix create events if not RB active

Note: See TracTickets for help on using tickets.