Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#10186 closed defect (cantfix)

TypeError: 'NoneType' object is not iterable

Reported by: David Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /admin/ticket/template_admin, Trac issued an internal error.

I installed the TicketExt plugin like so:

svn export http://trac-hacks.org/svn/ticketextplugin cd ticketextplugin/0.11 python setup.py bdist_egg and then I moved dist/TicketExtPlugin-0.3.2-py2.6.egg into the plugins directory of trac

Request parameters:

{'cat_id': u'ticket', 'panel_id': u'template_admin', 'path_info': None}

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.10 (maverick) Firefox/3.6.17

System Information

Trac 0.11.7
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)
[GCC 4.4.3]
setuptools 0.6
SQLite 3.6.22
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Pygments 1.2.2
Subversion 1.6.6 (r40053)
CustomFieldAdmin 0.2.5
jQuery: 1.3.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/dist-packages/trac/admin/web_ui.py", line 114, in process_request
    path_info)
  File "build/bdist.linux-x86_64/egg/ticketext/template_admin.py", line 67, in render_admin_panel
    self._process_read(req, page_param)
  File "build/bdist.linux-x86_64/egg/ticketext/template_admin.py", line 91, in _process_read
    for cf in customfields:
TypeError: 'NoneType' object is not iterable

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (ticketext).

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.