Modify

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#8124 closed defect (fixed)

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

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

Description (last modified by rjollos)

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/main.py", line 444, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 226, in dispatch
  data, content_type)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/chrome.py", line 737, in render_template
  stream |= self._filter_stream(req, method, filename, stream, data)
File "build/bdist.linux-i686/egg/genshi/core.py", line 128, in __or__File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/chrome.py", line 840, in inner
  data)
File "build/bdist.linux-x86_64/egg/testmanager/wiki.py", line 76, in filter_streamFile "build/bdist.linux-x86_64/egg/testmanager/wiki.py", line 140, in _catalog_wiki_viewFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 81, in expand_macroFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 338, in _build_catalog_treeFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 650, in _render_subtree_as_tableFile "build/bdist.linux-x86_64/egg/testmanager/macros.py", line 716, in _render_testcases_as_tableFile "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/wiki/formatter.py", 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 4 years ago by seccanj

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

comment:2 Changed 4 years ago by seccanj

Fixed with 1.3.8.

comment:3 Changed 4 years ago by seccanj

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 4 years ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.