Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#8124 closed defect (fixed)

AttributeError: 'NoneType' object has no attribute 'splitlines'

Reported by: Peter Hofer Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords: table view, move
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Trac detected an internal error:
AttributeError: 'NoneType' object has no attribute 'splitlines'

Python Traceback:
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 444, in _dispatch_request
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 226, in dispatch
  data, content_type)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 737, in render_template
  stream |= self._filter_stream(req, method, filename, stream, data)
File "build/bdist.linux-i686/egg/genshi/", line 128, in __or__File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 840, in inner
File "build/bdist.linux-x86_64/egg/testmanager/", line 76, in filter_streamFile "build/bdist.linux-x86_64/egg/testmanager/", line 140, in _catalog_wiki_viewFile "build/bdist.linux-x86_64/egg/testmanager/", line 81, in expand_macroFile "build/bdist.linux-x86_64/egg/testmanager/", line 338, in _build_catalog_treeFile "build/bdist.linux-x86_64/egg/testmanager/", line 650, in _render_subtree_as_tableFile "build/bdist.linux-x86_64/egg/testmanager/", line 716, in _render_testcases_as_tableFile "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/wiki/", line 844, in format
  for line in text.splitlines():

Steps to reproduce: 1) Create two catalogs and a sub catalog for each them 2) Create one testcase in each sub catalog 3) at this point switching between "tree view" and "table view" works without problems. 4) now move a testcase from one sub catalog to the other one 5) When you now select the (sub)catalog which was the target for the move and switch to "table view" then the mentioned error occures.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Roberto Longobardi

Hi, please, could you specify which test manager release are you using?

comment:2 Changed 6 years ago by Roberto Longobardi

Fixed with 1.3.8.

comment:3 Changed 6 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

comment:4 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.