Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12607 closed defect (cantfix)

[TracMasterTickets-3.0.1-py2.7] AttributeError: 'NoneType' object has no attribute 'split'

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{u'__FORM_TOKEN': u'd1a55d01c4377c30e08e1234',
 u'action': u'leave',
 u'comment': u'',
 u'field_billable': u'1',
 u'field_blockedby': u'',
 u'field_blocking': u'19',
 u'field_cc': u'',
 u'field_checkbox_billable': u'1',
 u'field_checkbox_internal': u'1',
 u'field_component': u'aws deployment',
 u'field_description': u'Add kibana proxy machine image to jenkins to create the AWS Machine Image.',
 u'field_estimatedhours': u'0',
 u'field_hours': u'0',
 u'field_keywords': u'',
 u'field_milestone': u'data management generation 2016',
 u'field_priority': u'normal',
 u'field_reporter': u'mgreen',
 u'field_severity': u'major',
 u'field_summary': u'Create Jenkins job to build kibana machine image',
 u'field_totalhours': u'0',
 u'field_type': u'task',
 u'field_version': u'',
 'id': u'21',
 u'replyto': u'',
 u'start_time': u'1476619728473567',
 u'submit': u'Submit changes',
 u'view_time': u'1476619728473567'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

System Information

Trac 1.0.11
Babel 2.3.4
Docutils 0.12
Genshi 0.7 (with speedups)
GIT 1.9.1
psycopg2 2.4.5
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
pytz 2016.4
RPC 1.1.5
setuptools 19.1.1
jQuery 1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1

Enabled Plugins

BitbucketSyncPlugin 0.2
BreadCrumbsNav 0.2.post0
graphviz 1.0.0.8.dev0
HudsonTrac 0.5.post0
IniAdmin 0.3.post0
LDAPAuthNZPlugin 1.0
LdapPlugin 0.7.0.dev0
nevernotifyupdaterplugin 1.0.post0
timingandestimationplugin 1.4.8b0
TracAccountManager 0.4.4
TracDependencyPlugin 0.11.2.1
TracHTTPAuth 1.1
TracLoginRequiredPlugin 0.1.0
TracMasterTickets 3.0.1
TracMenusPlugin 0.1.1.post0
TracXMLRPC 1.1.5
WorkLog 1.0.dev0

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 562, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 249, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 181, in process_request
    return self._process_ticket_request(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 623, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "/usr/local/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 1355, in _do_save
    replyto=req.args.get('replyto'))
  File "/usr/local/lib/python2.7/dist-packages/trac/ticket/model.py", line 369, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "build/bdist.linux-x86_64/egg/mastertickets/api.py", line 111, in ticket_changed
    links.save(author, comment, tkt.time_changed, db)
  File "build/bdist.linux-x86_64/egg/mastertickets/model.py", line 67, in save
    new_value = [x.strip() for x in old_value.split(',') if x.strip()]
AttributeError: 'NoneType' object has no attribute 'split'

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 4 years ago

Resolution: cantfix
Status: newclosed
Last edited 4 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.