Modify ↓
Opened 15 years ago
Closed 15 years ago
#8797 closed defect (invalid)
TypeError: schedule() takes exactly 3 arguments (2 given)
Reported by: | tsukahara | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
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:
{'__FORM_TOKEN': u'2b535a5183fe8541106b156e', 'field_billable': u'1', 'field_blockedby': u'', 'field_blocking': u'', 'field_cc': u'', 'field_checkbox_billable': u'1', 'field_component': u'component1', 'field_description': u'SchedulingTools 0.1\u3092\u767b\u9332\u3057\u307e\u3057\u305f\u3002', 'field_duedate': u'', 'field_estimatedhours': u'0', 'field_hours': u'0', 'field_keywords': u'', 'field_milestone': u'', 'field_owner': u'', 'field_priority': u'major', 'field_reporter': u'tsukahara', 'field_startdate': u'', 'field_status': u'new', 'field_summary': u'SchedulingTools 0.1\u3092\u767b\u9332\u3057\u307e\u3057\u305f\u3002', 'field_totalhours': u'0', 'field_type': u'defect', 'field_version': u'', 'submit': u'\u30c1\u30b1\u30c3\u30c8\u3092\u767b\u9332\u3059\u308b'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)
System Information
Trac | 0.11.5.ja1
|
Python | 2.6 (r26:66714, Jun 8 2009, 16:07:26) [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
|
setuptools | 0.6c9
|
SQLite | 3.6.12
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Pygments | 1.1.1
|
Subversion | 1.6.5 (r38866)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/ticket/web_ui.py", line 184, in process_request return self._process_newticket_request(req) File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/ticket/web_ui.py", line 404, in _process_newticket_request self._do_create(req, ticket) # (redirected if successful) File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/ticket/web_ui.py", line 992, in _do_create ticket.insert() File "/usr/lib/python2.6/site-packages/Trac-0.11.5.ja1-py2.6.egg/trac/ticket/model.py", line 212, in insert listener.ticket_created(self) File "build/bdist.linux-i686/egg/schedulingtools/scheduler.py", line 22, in ticket_created scheduler.schedule(self.env); TypeError: schedule() takes exactly 3 arguments (2 given)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This is a PluginIssue (schedulingtools), please report it to the plugin maintainer.