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

#568 closed defect (fixed)

Bug displaying time error message (adding contribution)

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

Description

--------------------
Error details

ERR-P0
Error processing method.
Inner error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 67, in invokeMethod\n    result = processRequest(method, params, req)\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 45, in processRequest\n    result = handler(params, req.get_remote_host(), getSession(req)).process()\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/implementation/base.py", line 231, in process\n    answer = self._getAnswer()\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/implementation/schedule.py", line 91, in _getAnswer\n    return self._performOperation()\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/implementation/schedule.py", line 159, in _performOperation\n    contribution.setStartDate(adjDate, check = checkFlag)\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/conference.py", line 8697, in setStartDate\n    self.verifyStartDate(newDate, check)\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/conference.py", line 8674, in verifyStartDate\n    raise ParentTimingError("The contribution cannot end after (%s) its parent ends (%s)"%\\\n', "AttributeError: 'NoneType' object has no attribute 'strftime'\n"]
{'params': {'conference': '75718', 'startDate': '2010/11/11 10:30', 'roomInfo': {}, 'title': 'EC Simulations ', 'privileges': {'presenter-grant-submission': True}, 'sessionTimetable': True, 'presenters': [{'_type': 'Avatar', 'name': 'Ingrid Gregor', 'firstName': 'Ingrid', 'title': 'Dr.', 'familyName': 'Gregor', 'email': 'ingrid.gregor@desy.de', 'affiliation': 'DESY', '_fossil': 'avatar', 'id': '1863'}, {'_type': 'Avatar', 'name': 'Antje Huettmann', 'firstName': 'Antje', 'title': '', 'familyName': 'Huettmann', 'email': 'antje.huettmann@cern.ch', 'affiliation': '', '_fossil': 'avatar', 'id': '37708'}], 'session': '62', 'slot': '0', 'keywords': [], 'duration': '20', 'confId': '75718'}, 'method': 'schedule.slot.addContribution'}
--------------------

Change History (4)

comment:1 Changed 5 years ago by lsyroka

  • Status changed from new to assigned

comment:2 Changed 5 years ago by lsyroka

  • Status changed from assigned to in_merge

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

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

In [ea0ef1a495be7ce8de6381cac0256860ea5e63ce]:

[FIX] Add contr time error message

  • while verifying date of a new contribution getEndDate method returns None, so the value have to be calculated manually
  • fix#568

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

In [ea0ef1a495be7ce8de6381cac0256860ea5e63ce]:

[FIX] Add contr time error message

  • while verifying date of a new contribution getEndDate method returns None, so the value have to be calculated manually
  • fix#568
Note: See TracTickets for help on using tickets.