Opened 12 years ago

Last modified 12 years ago

#9793 closed defect

Setting new billing date by hand results in an error with python2.4 — at Initial Version

Reported by: gleb@… Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords: setuptools, dependencies, python2.4
Cc: Trac Release: 0.11

Description

I think strptime has a different location in 2.5 vs 2.4. I'm using centos 5 and python24

File "/usr/lib/python2.4/site-packages/Trac-0.12.3-py2.4.egg/trac/web/main.py", line 522, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/Trac-0.12.3-py2.4.egg/trac/web/main.py", line 243, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-i686/egg/timingandestimationplugin/webui.py", line 119, in process_request

self.set_bill_date(req.authname, req.args.get('newbilltime'))

File "build/bdist.linux-i686/egg/timingandestimationplugin/webui.py", line 63, in set_bill_date

when = parsetime(when, now.tzinfo)

File "build/bdist.linux-i686/egg/timingandestimationplugin/webui.py", line 49, in parsetime

try: return datetime.datetime.strptime(val, f).replace(tzinfo=tzinfo)

Change History (0)

Note: See TracTickets for help on using tickets.