id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10800	Error when theme is not defined	me@scott.cm	olemis	When the theme entry is not configured in trac.ini there is an error raised,\r\n{{{\r\nTrac detected an internal error:\r\nTypeError: argument of type 'NoneType' is not iterable\r\n\r\nFile "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 450, in _dispatch_request\r\n  dispatcher.dispatch(req)\r\nFile "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 217, in dispatch\r\n  self._post_process_request(req, *resp)\r\nFile "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 309, in _post_process_request\r\n  resp = f.post_process_request(req, *resp)\r\nFile "/usr/local/lib/python2.6/dist-packages/TracThemeEngine-2.1.1-py2.6.egg/themeengine/web_ui.py", line 63, in post_process_request\r\n  if 'css' in theme:\r\n}}}\r\n\r\nI attached a quick patch for this. I am still new to python so not sure if this is the best method.\r\n	defect	closed	normal	ThemeEnginePlugin	normal	fixed			0.11
