Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12074 closed defect (cantfix)

Internal Server Error when deleting a comment

Reported by: adrmateu@… Owned by:
Priority: normal Milestone:
Component: ticket system Version: 1.0.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Deleting comments is producing an internal error, but the comment is deleted anyway.

2015-05-13 09:56:06,628 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "c:\users\ammall~1\appdata\local\temp\easy_install-4unthi\Trac-1.0.5-py2.7-win32.egg.tmp\trac\web\main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\users\ammall~1\appdata\local\temp\easy_install-4unthi\Trac-1.0.5-py2.7-win32.egg.tmp\trac\web\main.py", line 222, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\users\ammall~1\appdata\local\temp\easy_install-4unthi\Trac-1.0.5-py2.7-win32.egg.tmp\tracopt\ticket\deleter.py", line 146, in process_request
    ticket.delete_change(cdate=cdate)
  File "c:\users\ammall~1\appdata\local\temp\easy_install-4unthi\Trac-1.0.5-py2.7-win32.egg.tmp\trac\ticket\model.py", line 527, in delete_change
    listener.ticket_change_deleted(self, cdate, changes)
TypeError: ticket_change_deleted() takes exactly 3 arguments (4 given)

Attachments (0)

Change History (4)

comment:1 by adrmateu@…, 9 years ago

Here is the traceback:

Python Traceback
Most recent call last:

    File "c:/users/ammall~1/appdata/local/temp/easy_install-4unthi/Trac-1.0.5-py2.7-win32.egg.tmp/trac/web/main.py", line 513, in _dispatch_request
    File "c:/users/ammall~1/appdata/local/temp/easy_install-4unthi/Trac-1.0.5-py2.7-win32.egg.tmp/trac/web/main.py", line 222, in dispatch
    File "c:/users/ammall~1/appdata/local/temp/easy_install-4unthi/Trac-1.0.5-py2.7-win32.egg.tmp/tracopt/ticket/deleter.py", line 146, in process_request
    File "c:/users/ammall~1/appdata/local/temp/easy_install-4unthi/Trac-1.0.5-py2.7-win32.egg.tmp/trac/ticket/model.py", line 527, in delete_change

System Information:

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Trac 	1.0.5
Docutils 	0.9.1
Genshi 	0.7 (without speedups)
mod_wsgi 	3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 	1.5
pysqlite 	2.6.0
Python 	2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
pytz 	2011c
setuptools 	1.1.6
SQLite 	3.8.9
Subversion 	1.7.3 (r1242825)
jQuery	1.7.2
jQuery UI	1.8.21
jQuery Timepicker	1.0.1
Enabled Plugins:
timingandestimationplugin 	1.4.7b 	c:\python27\lib\site-packages\timingandestimationplugin-1.4.7b-py2.7.egg
trac-jsgantt 	0.11 	c:\python27\lib\site-packages\trac_jsgantt-0.11-py2.7.egg
tracmastertickets 	3.0.4 	c:\python27\lib\site-packages\tracmastertickets-3.0.4-py2.7.egg
tracsubticketsplugin 	0.2.0.dev-20150225 	c:\work\trac\projects\sweng\plugins\tracsubticketsplugin-0.2.0.dev_20150225-py2.7.egg

comment:2 by anonymous, 9 years ago

I forgot to say that I am running Trac under a Windows 7 Professional Service Pack 1.

comment:4 by adrmateu@…, 9 years ago

Send this issue to th:#12352 as it seems no one reported this before.

Last edited 9 years ago by Jun Omae (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.