Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10868 closed defect (cantfix)

NameError: global name 'page' is not defined

Reported by: selenwall Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.3
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /ticket/4, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__EDITOR__1': u'wysiwyg',
 '__EDITOR__2': u'wysiwyg',
 '__FORM_TOKEN': u'd056ff2c29ba6468d1712fc2',
 'action': u'leave',
 'cnum': u'1',
 'comment': u'',
 'delete': u'Delete',
 'field_businessvalue': u'',
 'field_description': u'yyyyy',
 'field_keywords': u'',
 'field_reporter': u'selenwall',
 'field_summary': u'xxxxx',
 'field_type': u'requirement',
 'id': u'4',
 'pane': u'edit',
 'replyto': u'',
 'ts': u'2012-09-25 20:25:51.088693+00:00'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1

System Information

Trac 0.12.3
Trac 0.12.3
Agilo 0.9.7
Babel 0.9.6
Docutils 0.8.1
Genshi 0.6
GIT 1.7.10.3
mod_wsgi 3.3 (WSGIProcessGroup traclocal WSGIApplicationGroup %{GLOBAL})
Pygments 1.4
pysqlite 2.6.0
Python 2.7.3 (default, Aug 1 2012, 05:25:23)
[GCC 4.6.3]
Python 2.7.3 (default, Aug 1 2012, 05:25:23)
[GCC 4.6.3]
RPC 1.1.2
setuptools 0.6
setuptools 0.6
SQLite 3.7.9
Subversion 1.7.5 (r1336830)
jQuery 1.4.4

Enabled Plugins

agilo 0.9.7
BreadCrumbsNav 0.3dev
TracAnnouncer 0.12.1dev
TracBurndown 1.9.2dev
Tracchildtickets 2.4.5
TracCustomFieldAdmin 0.2.8
TracDiscussion 0.8
TracGit 0.12.0.5dev
TracIncludePagesMacro 0.1
TracMasterTickets 3.0.2
TracTocMacro 11.0.0.3
TracWikiToPdfPlugin 2.3.1
TracWysiwyg 0.12.0.4
TracXMLRPC 1.1.2
TracXPDev 1.0

Python Traceback

Traceback (most recent call last):
  File "/opt/trac/current/lib/python2.7/site-packages/Trac-0.12.3-py2.7.egg/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/trac/current/lib/python2.7/site-packages/Trac-0.12.3-py2.7.egg/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/trac/current/lib/python2.7/site-packages/Trac-0.12.3-py2.7.egg/trac/ticket/web_ui.py", line 169, in process_request
    return self._process_ticket_request(req)
  File "/srv/trac-deploy/plugins/agilo-0.9.7-py2.7.egg/agilo/ticket/web_ui.py", line 221, in _process_ticket_request
    self._do_delete(req)
  File "/srv/trac-deploy/plugins/agilo-0.9.7-py2.7.egg/agilo/ticket/web_ui.py", line 289, in _do_delete
    n_id = ticket.delete(db=db)
  File "/srv/trac-deploy/plugins/agilo-0.9.7-py2.7.egg/agilo/ticket/model.py", line 842, in delete
    super(AgiloTicket, self).delete(db=db)
  File "/opt/trac/current/lib/python2.7/site-packages/Trac-0.12.3-py2.7.egg/trac/ticket/model.py", line 420, in delete
    listener.ticket_deleted(self)
  File "/srv/trac-deploy/plugins/TracAnnouncer-0.12.1dev-py2.7.egg/announcer/subscribers.py", line 833, in ticket_deleted
    self.env, klass, 'ticket', page.name)
NameError: global name 'page' is not defined

Should I just continue creating new tickets?

Attachments (0)

Change History (2)

in reply to:  description comment:1 by Remy Blank, 12 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

Replying to selenwall:

Should I just continue creating new tickets?

Sure, but not here. This is a PluginIssue (possibly even a combination between AgiloForScrum and AnnouncerPlugin, judging from the traceback), please report the issue to the plugin maintainers.

comment:2 by stefano.rago@…, 12 years ago

@rblank: thanks for the cc @selenwall: please write to support@…

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.