Modify ↓
#8031 closed defect (invalid)
AttributeError: 'module' object has no attribute 'format_exc'
Reported by: | hungdv | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.2.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /newticket
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'field_type': u'task', 'field_end_date': u'', 'field_milestone': u'GeometryComp', 'field_status': u'new', 'field_start_date': u'', 'field_owner': u'', 'field_keywords': u'', 'submit': u'Create ticket', 'field_summary': u'wer', 'field_priority': u'major', '__FORM_TOKEN': u'7265577f418304786f1eb644', 'field_component': u'Geometry', 'field_result': u'', 'field_cc': u'', 'field_reporter': u'hungdv', 'field_rate': u'', 'field_version': u'1.0', 'field_description': u'werwer'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
System Information
Trac | 0.11.2.1
|
Python | 2.3.4 (#1, Feb 15 2005, 19:42:48) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]
|
setuptools | 0.6c9
|
SQLite | 3.3.6
|
pysqlite | 1.1.7
|
Genshi | 0.5
|
mod_python | < 3.2
|
Pygments | 0.11.1
|
Subversion | 1.4.6 (r28521)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/web/main.py", line 432, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/web/main.py", line 204, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/ticket/web_ui.py", line 182, in process_request return self._process_newticket_request(req) File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/ticket/web_ui.py", line 391, in _process_newticket_request valid = self._validate_ticket(req, ticket) File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/ticket/web_ui.py", line 961, in _validate_ticket for field, message in manipulator.validate_ticket(req, ticket): File "build/bdist.linux-i686/egg/datefield/filter.py", line 82, in validate_ticket AttributeError: 'module' object has no attribute 'format_exc'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This is an issue in the th:DateFieldPlugin. Please report it to the plugin maintainer.