id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
7247	Trac 0.11.6 AttributeError: 'NoneType' object has no attribute 'startswith'	Sam	cboos	Environment\r\n{{{\r\nTrac:  _0.11.6\r\nPython: _2.4.3 (#1, Jun 11 2009, 14:09:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]\r\nsetuptools: _0.6c9\r\nSQLite: _3.3.6\r\npysqlite: _2.5.1\r\nGenshi: _0.5.1\r\nmod_python: _3.2.8\r\nSubversion: _1.6.6 (r40053)\r\njQuery:_1.2.6\r\n}}}\r\n\r\n{{{\r\nError:\r\n Trac detected an internal error:\r\n\r\nAttributeError: 'NoneType' object has no attribute 'startswith'\r\n\r\n\r\nPython Traceback\r\nMost recent call last:\r\n\r\n    * File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request\r\n      Code fragment:\r\n       445. try:\r\n       446. if not env and env_error:\r\n       447. raise HTTPInternalError(env_error)\r\n       448. try:\r\n       449. dispatcher = RequestDispatcher(env)\r\n       450. dispatcher.dispatch(req)\r\n       451. except RequestDone:\r\n       452. pass\r\n       453. resp = req._response or []\r\n       454.  \r\n       455. except HTTPException, e:\r\n      Local variables:\r\n      Name_Value\r\n      after _[u' except RequestDone:', u' pass', u' resp = ...\r\n      before _[u' try:', u' if not env and env_error:', u' raise ...\r\n      dispatcher _<trac.web.main.RequestDispatcher object at 0x2ae2397c3d50>\r\n      e _<exceptions.AttributeError instance at 0x2aaaacb15d88>\r\n      env _<trac.env.Environment object at 0x2ae2397b1210>\r\n      env_error _None\r\n      exc_info _(<class exceptions.AttributeError at 0x2ae23030c6b0>, ...\r\n      filename _'/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/main.py'\r\n      frames _[{'function': '_dispatch_request', 'lines_before': [u' try:', u' ...\r\n      has_admin _True\r\n      line _u' dispatcher.dispatch(req)'\r\n      lineno _449\r\n      message _u"AttributeError: 'NoneType' object has no attribute 'startswith'"\r\n      req _<Request "GET u'/doxygen/'">\r\n      resp _[]\r\n      tb _<traceback object at 0x2aaaacb15dd0>\r\n      tb_hide _None\r\n      traceback _u'Traceback (most recent call last):\\n File ...\r\n    * File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/main.py", line 206, in dispatch\r\n      Code fragment:\r\n       201. req.args.get('__FORM_TOKEN') != req.form_token:\r\n       202. raise HTTPBadRequest('Missing or invalid form token. '\r\n       203. 'Do you have cookies enabled?')\r\n       204.  \r\n       205. # Process the request and render the template\r\n       206. resp = chosen_handler.process_request(req)\r\n       207. if resp:\r\n       208. if len(resp) == 2: # Clearsilver\r\n       209. chrome.populate_hdf(req)\r\n       210. template, content_type = \\\r\n       211. self._post_process_request(req, *resp)\r\n      Local variables:\r\n      Name_Value\r\n      chosen_handler _<doxygentrac.doxygentrac.DoxygenPlugin object at 0x2ae2397ce050>\r\n      chrome _<trac.web.chrome.Chrome object at 0x2ae2397c3650>\r\n      err _(<class exceptions.AttributeError at 0x2ae23030c6b0>, ...\r\n      handler _<doxygentrac.doxygentrac.DoxygenPlugin object at 0x2ae2397ce050>\r\n      req _<Request "GET u'/doxygen/'">\r\n      self _<trac.web.main.RequestDispatcher object at 0x2ae2397c3d50>\r\n    * File "build/bdist.linux-x86_64/egg/doxygentrac/doxygentrac.py", line 159, in process_request\r\n      Local variables:\r\n      Name_Value\r\n      action _'index'\r\n      link _None\r\n      path _''\r\n      req _<Request "GET u'/doxygen/'">\r\n      self _<doxygentrac.doxygentrac.DoxygenPlugin object at 0x2ae2397ce050>\r\n      wiki _None\r\n    * File "/usr/lib64/python2.4/posixpath.py", line 60, in join \r\n}}}	defect	reopened	normal	DoxygenPlugin	normal				0.11
