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

Closed 6 years ago

Last modified 5 years ago

#209 closed defect (fixed)

DateTime widget is sending weird data. To validate.

Reported by: jbenito Owned by: Pedro Ferreira <jose.pedro.ferreira@…>
Priority: low Milestone: v0.97.0
Component: Timetable Version: 0.97.0
Keywords: Cc:

Description

ERR-P0
Error processing method.
Inner error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-v0.97_dev-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-v0.97_dev-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-v0.97_dev-py2.4.egg/MaKaC/services/implementation/base.py", line 218, in process\n    self._checkParams()\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-v0.97_dev-py2.4.egg/MaKaC/services/implementation/schedule.py", line 517, in _checkParams\n    self._startDate = pManager.extract("startDate", pType=datetime.datetime)\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-v0.97_dev-py2.4.egg/MaKaC/services/implementation/base.py", line 109, in extract\n    naiveDate = parseDateTime(value,\'%Y/%m/%d %H:%M\')\n', '  File "/usr/lib/python2.4/site-packages/cds_indico-v0.97_dev-py2.4.egg/MaKaC/services/implementation/base.py", line 51, in parseDateTime\n    return datetime(*(time.strptime(dt, format)[0:6]))\n', '  File "/usr/lib64/python2.4/_strptime.py", line 293, in strptime\n    raise ValueError("time data did not match format:  data=%s  fmt=%s" %\n', 'ValueError: time data did not match format:  data=NaN/NaN/NaN NaN:NaN  fmt=%Y/%m/%d %H:%M\n']
{'params': {'conference': '79479', 'startDate': 'NaN/NaN/NaN NaN:NaN', 'scheduleEntry': '15', 'endDate': '2010/06/21 10:30'}, 'method': 'schedule.event.modifyStartEndDate'}

Change History (2)

comment:1 Changed 6 years ago by jose.pedro.ferreira@…

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

commit 859dc614a2df81e4ed93bc83b0ca4805eff9e4fe
Author: Pedro Ferreira <jose.pedro.ferreira@…>
Date: Tue Feb 23 16:19:06 2010 +0100

[FIX] Improved date/time check for contrib change


  • NaN is not sent anymore;
  • fixes #209

comment:2 Changed 5 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

  • Owner set to Pedro Ferreira <jose.pedro.ferreira@…>

In [859dc614a2df81e4ed93bc83b0ca4805eff9e4fe]:

[FIX] Improved date/time check for contrib change

  • NaN is not sent anymore;
  • fixes #209
Note: See TracTickets for help on using tickets.