Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10013 closed defect (cantfix)

NameError: global name 'page' is not defined

Reported by: andrey.u@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

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

I've switched to 'edit ticket' pane and press 'delete' button. ticket has actually been deleted, but I've got a nasty exception message

Request parameters:

{'__FORM_TOKEN': u'e232ed0d70818618d1a7cf6a',
 'action': u'leave',
 'cnum': u'1',
 'comment': u'',
 'delete': u'Delete',
 'field_complete': u'0',
 'field_delay_day': u'0',
 'field_description': u'#2',
 'field_estimatedhours': u'',
 'field_priority': u'major',
 'field_quality': u'\u043d\u0435 \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u043b\u043e\u0441\u044c',
 'field_reporter': u'uj',
 'field_sprint': u'',
 'field_summary': u'trac ne \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0442\u0438\u043a\u0435\u0442\u044b',
 'field_totalhours': u'0',
 'field_type': u'bug',
 'id': u'69',
 'pane': u'edit',
 'replyto': u'',
 'ts': u'2011-02-04 11:50:13.923387+00:00'}

User agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13

System Information

Trac 0.12
Trac 0.12
Agilo 1.3.1-PRO
Babel 0.9.5
Genshi 0.6
mod_python 3.2.8
pysqlite 2.3.3
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
pytz 2010l
pytz 2010l
setuptools 0.6c7
setuptools 0.6c7
SQLite 3.3.6
Subversion 1.4.2 (r22196)
jQuery 1.4.2

Enabled Plugins

binary-agilo 1.3.1-PRO
IniAdmin 0.2
TracAnnouncer 0.12.1.dev
TracDateField 1.0.1

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 169, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/ticket/web_ui.py", line 220, in _process_ticket_request
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/ticket/web_ui.py", line 288, in _do_delete
    n_id = ticket.delete(db=db)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.1_PRO-py2.4.egg/agilo/ticket/model.py", line 778, in delete
    super(AgiloTicket, self).delete(db=db)
  File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 414, in delete
  File "build/bdist.linux-x86_64/egg/announcer/subscribers.py", line 832, in ticket_deleted
NameError: global name 'page' is not defined

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 11 years ago

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

AgiloForScrum issue.

I wonder if the duplication of Trac, Python, setuptools and pytz entries in #SystemInformation could be related to Agilo as well?

comment:2 by rbuchholz, 11 years ago

Seems to be an interaction bug between the Agilo and TracAnnouncer plugin.

comment:3 by anonymous, 11 years ago

I'm experiencing this bug as well. While it is just annoying (deletion of tickets is still working), I would like to know if anyone has any bug-fixes for it …

Modify Ticket

Change Properties
Set your email in Preferences
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.