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 20 months ago

Closed 20 months ago

Last modified 20 months ago

#1485 closed defect (duplicate)

'Calendar' object has no attribute 'set'

Reported by: mvala Owned by:
Priority: normal Milestone: v1.1
Component: General Version: 1.1
Keywords: Cc:

Description

Dear support,

i am getting following errors to my mail. What can i do to fix it?

2014-02-20 03:20:54,481 indico.requestHandler - ERROR base.py:380 -- Request 140692767539472 failed: "'Calendar' object has no attribute 'set'"
Traceback (most recent call last):

File "/usr/lib/python2.7/site-packages/indico-1.1.2-py2.7.egg/MaKaC/webinterface/rh/base.py", line 586, in process

res = self._process()

File "/usr/lib/python2.7/site-packages/indico-1.1.2-py2.7.egg/MaKaC/webinterface/rh/conferenceDisplay.py", line 1054, in _process

data = serializer(resultFossil)

File "/usr/lib/python2.7/site-packages/indico-1.1.2-py2.7.egg/indico/web/http_api/metadata/serializer.py", line 64, in call

self._data = self._execute(obj, *args, kwargs)

File "/usr/lib/python2.7/site-packages/indico-1.1.2-py2.7.egg/indico/web/http_api/metadata/ical.py", line 157, in _execute

cal.set('version', '2.0')

AttributeError?: 'Calendar' object has no attribute 'set'

Additional information:
URL: https://wiki.saske.sk/indico/conferenceDisplay.py/ical?detail=contributions&confId=5
Params: {'detail': 'contributions', 'confId': '5'}
IP: 66.249.78.46
User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Referer: n/a

Thanks

Ciao

Martin

Change History (4)

comment:1 Changed 20 months ago by jbenito

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

Please, see my answer in ticket #1484

comment:2 Changed 20 months ago by mvala

This ticket says, that i should downgrade to icalendar 3.6. How do i do it?

Cioa

Martin

comment:3 Changed 20 months ago by jmonnich

pip uninstall icalendar
pip install icalendar==3.2

comment:4 Changed 20 months ago by jbenito

  • Milestone set to v1.1
Note: See TracTickets for help on using tickets.