[haiku-web] [Haiku] #4992: AttributeError: 'NoneType' object has no attribute 'split'

  • From: "idefix" <trac@xxxxxxxxxxxxxxxx>
  • Date: Mon, 16 Nov 2009 19:32:50 -0000

#4992: AttributeError: 'NoneType' object has no attribute 'split'
--------------------------+-------------------------------------------------
 Reporter:  idefix        |       Owner:  haiku-web
     Type:  bug           |      Status:  new      
 Priority:  normal        |   Milestone:  R1       
Component:  Website/Trac  |     Version:  R1/alpha1
 Keywords:                |   Blockedby:           
 Platform:  All           |    Blocking:           
--------------------------+-------------------------------------------------
 ==== How to Reproduce ====

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

 ''(please provide additional details here)''[[BR]]
 Happened after clicking the preview button of a new comment to
 ticket:4749.

 Request parameters:
 {{{
 {'__FORM_TOKEN': u'6044a29f84524bb197bc23a9',
  'action': u'leave',
  'cnum': u'3',
  'comment': u'Changing the recognition rule of `text/x-patch`
 to:\r\n{{{\r\n0.30          ([0:100]"Index: " | [0:100]"--- " |
 [0:100]"+++ " | [0:100]"@@ -")\r\n}}}\r\nGets it correctly recognized as a
 patch file.',
  'field_blockedby': u'',
  'field_blocking': u'',
  'field_component': u'Servers/registrar',
  'field_keywords': u'',
  'field_milestone': u'R1',
  'field_platform': u'All',
  'field_priority': u'normal',
  'field_summary': u'Patch file-type not recognized',
  'field_type': u'bug',
  'field_version': u'R1/alpha1',
  'id': u'4749',
  'preview': u'Preview',
  'replyto': u'',
  'ts': u'2009-10-08 20:07:27+00:00'}
 }}}


 User Agent was: `Mozilla/5.0 (BeOS; U; Haiku BePC; en-US; rv:1.8.1.22pre)
 Gecko/20090908 BeZillaBrowser/2.0.0.22pre`

 ==== System Information ====

 || '''Trac''' || `0.11.5` ||
 || '''Python''' || `2.6 (r26:66714, Feb  3 2009, 20:52:03) ` [[br]] `[GCC
 4.3.2 [gcc-4_3-branch revision 141291]]` ||
 || '''setuptools''' || `0.6c8` ||
 || '''psycopg2''' || `2.0.12` ||
 || '''Genshi''' || `0.5.1` ||
 || '''mod_wsgi''' || `2.5` ||
 || '''Pygments''' || `1.1.1` ||
 || '''Subversion''' || `1.6.3 (r38063)` ||
 || '''jQuery:''' || `1.2.6` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 205, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 182,
 in process_request
     return self._process_ticket_request(req)
   File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 531,
 in _process_ticket_request
     get_reporter_id(req, 'author'), field_changes)
   File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line
 1260, in _insert_ticket_data
     self._render_property_changes(req, ticket, field_changes)
   File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line
 1310, in _render_property_changes
     resource_new)
   File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line
 1344, in _render_property_diff
     old_list, new_list = old.split(), new.split()
 AttributeError: 'NoneType' object has no attribute 'split'

 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4992>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
-----------------------------------------------------------------------
haiku-web@xxxxxxxxxxxxx - Haiku Web & Developer Support Discussion List

Other related posts: