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

#1075 closed defect (fixed)

RoomLinker not imported in fossils.py

Reported by: pedersen Owned by:
Priority: normal Milestone:
Component: General Version: 0.98-dev
Keywords: Cc:

Description

fossils.py misses a RoomLinker? import.

traceback:
2012-08-21 03:41:09,828 indico.requestHandler - ERROR base.py:362 -- Request 35015293712 failed: "global name 'RoomLinker?' is not defined"
Traceback (most recent call last):

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/MaKaC/webinterface/rh/base.py", line 565, in process

res = self._process()

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/MaKaC/webinterface/rh/conferenceDisplay.py", line 1057, in _process

res = hook(self.getAW(), self._req)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/web/http_api/api.py", line 210, in call

resultList, complete = self._performCall(func, aw)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/web/http_api/api.py", line 186, in _performCall

for obj in res:

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/web/http_api/api.py", line 387, in _process

filters={'access': self._userAccessFilter}, mapClassType={'AcceptedContribution?':'Contribution'}), iface)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/util/fossilize/init.py", line 408, in fossilize

kwargs)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/util/fossilize/init.py", line 212, in fossilizeIterable

return target.fossilize(interface, useAttrCache, kwargs)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/util/fossilize/init.py", line 253, in fossilize

kwargs)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/util/fossilize/init.py", line 301, in fossilize_obj

methodResult = method.getTaggedValue('produce')(obj)

File "/usr/local/lib/python2.6/site-packages/indico-0.98.3-py2.6.egg/indico/web/http_api/fossils.py", line 160, in <lambda>

getRoomMapURL.produce = lambda x: RoomLinker?().getURL(x.getRoom(), x.getLocation())

NameError?: global name 'RoomLinker?' is not defined

Attachments (1)

0001-FIX-add-missingh-room-linker.patch (866 bytes) - added by pedersen 3 years ago.
patch

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by pedersen

patch

comment:1 Changed 3 years ago by pferreir

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

Thanks a lot for the patch, but this has already been fixed in 4fba545e099b7a3184291a0d901c3a56f32cc952.

Cheers!

comment:2 Changed 3 years ago by pferreir

Note: See TracTickets for help on using tickets.