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

Closed 5 years ago

Last modified 5 years ago

#565 closed defect (fixed)

Missing pic raises exception

Reported by: jbenito Owned by: lsyroka
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

2010-11-08 14:27:45,887 indico.requestHandler - ERROR base.py:332 -- Request 46912678839888 failed: "'NoneType' object has no attribute 'getLocalFile'"

url: http://indico.cern.ch/conferenceDisplay.py/getPic?picId=15&confId=112851

parameters: {'amp': '', 'picId': '15', 'confId': '112851'}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/base.py", line 486, in process
    res = self._process()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/conferenceDisplay.py", line 537, in _process
    pic=im.getPic(self._picId).getLocalFile()
AttributeError: 'NoneType' object has no attribute 'getLocalFile'

Change History (3)

comment:1 Changed 5 years ago by lsyroka

  • Status changed from new to in_merge

comment:2 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

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

In [edc3c09bddcf6547e490953ced9bf0d48cfaeb1c]:

[FIX] Missing picture exception

  • if picture is missing in the conference, error 404 webpage is shown
  • fix#565

comment:3 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [edc3c09bddcf6547e490953ced9bf0d48cfaeb1c]:

[FIX] Missing picture exception

  • if picture is missing in the conference, error 404 webpage is shown
  • fix#565
Note: See TracTickets for help on using tickets.