Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6090 closed defect (invalid)

TypeError: _do_save() takes exactly 4 arguments (2 given)

Reported by: trepca@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Whenever I want to save a wiki page, I get this error!

How to Reproduce

While doing a POST operation on /wiki/WikiStart, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'd61d69dd2dee195b484facaa',
 'action': u'edit',
 'comment': u'',
 'editrows': u'40',
 'page': u'WikiStart',
 'save': u'Submit changes',
 'scroll_bar_pos': u'',
 'text': u'secret :)',
 'version': u'329'}

System Information

Trac 0.11dev-r6038
Python 2.5.1 (r251:54863, Sep 18 2007, 21:36:54)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
setuptools 0.6c7
psycopg2 2.0.6
Genshi 0.4.4
Pygments None
Subversion 1.4.5 (r25188)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/web/main.py", line 381, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/web/main.py", line 191, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/TracTags-0.4-py2.5.egg/tractags/web_ui.py", line 64, in process_request
    result = WikiModule.process_request(self, req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/wiki/web_ui.py", line 134, in process_request
    self._do_save(context)
TypeError: _do_save() takes exactly 4 arguments (2 given)

Attachments (0)

Change History (3)

comment:1 by anonymous, 17 years ago

The same goes for tickets too.

File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/web/main.py", line 381, in dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/web/main.py", line 191, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/ticket/web_ui.py", line 148, in process_request
  return self._process_newticket_request(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/ticket/web_ui.py", line 332, in _process_newticket_request
  self._do_create(context) # redirected if successful
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/ticket/web_ui.py", line 809, in _do_create
  ticket.insert(db=context.db)
File "/usr/lib/python2.5/site-packages/Trac-0.11dev_r6038-py2.5.egg/trac/ticket/model.py", line 187, in insert
  listener.ticket_created(self)
File "/usr/lib/python2.5/site-packages/TracIrcCatListener-0.1-py2.5.egg/irccatlistener/irccatlistener.py", line 20, in ticket_createdFile "/usr/lib/python2.5/site-packages/TracIrcCatListener-0.1-py2.5.egg/irccatlistener/irccatlistener.py", line 16, in _sendText

comment:2 by anonymous, 17 years ago

Ehh, sorry, the last comment is an IrcCat listener problem.

comment:3 by anonymous, 17 years ago

Resolution: invalid
Status: newclosed

Nevermind. My fault. TracTags plugin is problematic.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.