id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10514	error produced by module simplemultiproject.admin_component.smpcomponentadminpanel trac 0.11.7	crossroad	falkb	if the user is offline and the module simplemultiproject.admin_component.smpcomponentadminpanel is enabled: \r\n{{{\r\n   simplemultiproject.admin_component.smpcomponentadminpanel = enabled\r\n}}}\r\n\r\nget the following error:\r\n\r\n{{{\r\nTrac[main] ERROR: Internal Server Error:\r\nTraceback (most recent call last):\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/web/main.py", line 450, in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/web/main.py", line 206, in dispatch\r\n    resp = chosen_handler.process_request(req)\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/wiki/web_ui.py", line 129, in process_request\r\n    add_stylesheet(req, 'common/css/wiki.css')\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/web/chrome.py", line 78, in add_stylesheet\r\n    if filename.startswith('common/') and 'htdocs_location' in req.chrome:\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/web/api.py", line 195, in __getattr__\r\n    value = self.callbacks[name](self)\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/web/chrome.py", line 506, in prepare_request\r\n    for category, name, text in contributor.get_navigation_items(req):\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/admin/web_ui.py", line 65, in get_navigation_items\r\n    panels, providers = self._get_panels(req)\r\n  File "/usr/local/lib/python2.7/dist-packages/Trac-0.11.7-py2.7.egg/trac/admin/web_ui.py", line 161, in _get_panels\r\n    p = list(provider.get_admin_panels(req))\r\nTypeError: 'NoneType' object is not iterable\r\n}}}\r\n\r\nI also think that the same are associated with the following warnings in the debug console:\r\n\r\n\r\n{{{\r\n/usr/local/lib/python2.7/dist-packages/SimpleMultiProject-0.0.3dev_r12068-py2.7.egg/simplemultiproject/admin.py:133: RuntimeWarning: Parent module 'simplemultiproject' not found while handling absolute import\r\n  from pkg_resources import resource_filename\r\n/usr/local/lib/python2.7/dist-packages/SimpleMultiProject-0.0.3dev_r12068-py2.7.egg/simplemultiproject/admin.py:125: RuntimeWarning: Parent module 'simplemultiproject' not found while handling absolute import\r\n}}}\r\n\r\nIf the user is logged in the error and warnings disappear \r\n\r\nthe user has the following permissions: PROJECT_ADMIN  PROJECT_SETTINGS_VIEW  TRAC_ADMIN\r\n\r\n\r\n\r\n	defect	closed	normal	SimpleMultiProjectPlugin	normal	duplicate		falkb	0.11
