Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

#13005 closed defect (cantfix)

TypeError: 'NoneType' object is not iterable

Reported by: muhammad.ali.online111@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /newticket, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

System Information

Trac 1.2.1
Docutils 0.13.1
Genshi 0.7 (with speedups)
mod_wsgi 4.3.0 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.6.37", client: "5.7.21", thread-safe: 1
MySQLdb 1.2.4
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609]
setuptools 34.3.3
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

Enabled Plugins

SimpleMultiProject 0.6.0.dev0
trac-oidc 0.1.5

Interface Customization

shared-htdocs
shared-templates
site-htdocs common, site
site-templates

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 623, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 249, in dispatch
    self._post_process_request(req, *resp)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 453, in _post_process_request
    resp = f.post_process_request(req, *resp[:-1])
  File "build/bdist.linux-x86_64/egg/simplemultiproject/ticket.py", line 78, in post_process_request
    self._add_milestones_maps(req, data['ticket'], is_newticket)
  File "build/bdist.linux-x86_64/egg/simplemultiproject/ticket.py", line 112, in _add_milestones_maps
    for milestone in sorted(milestones, key=itemgetter(0)):
TypeError: 'NoneType' object is not iterable

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 6 years ago

Priority: highnormal
Resolution: cantfix
Severity: criticalnormal
Status: newclosed

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.