id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10439	AttributeError: 'NoneType' object has no attribute 'get_path_url' after enabling ContextMenuPlugin.*	Matthew.Wild@stfc.ac.uk	rjollos	After installing and enabling the ContextMenuPlugin and looking at the 'Browse Source' page, I get this error\r\n{{{\r\nTrac detected an internal error:\r\nAttributeError: 'NoneType' object has no attribute 'get_path_url'\r\n\r\nThe trace is\r\n\r\nFile "build/bdist.linux-x86_64/egg/trac/web/main.py", line 511, in _dispatch_request\r\n  dispatcher.dispatch(req)\r\nFile "build/bdist.linux-x86_64/egg/trac/web/main.py", line 258, in dispatch\r\n  content_type)\r\nFile "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 840, in render_template\r\n  stream |= self._filter_stream(req, method, filename, stream, data)\r\nFile "/usr/lib/python2.7/site-packages/genshi/core.py", line 132, in __or__\r\n  return Stream(_ensure(function(self)), serializer=self.serializer)\r\nFile "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 991, in inner\r\n  data)\r\nFile "/usr/local/lib/python2.7/site-packages/ContextMenuPlugin-0.2dev_r11870-py2.7.egg/contextmenu/contextmenu.py", line 150, in filter_stream\r\n  content = SubversionLink(self.env).get_content(req, data['path'], stream, data)\r\nFile "/usr/local/lib/python2.7/site-packages/ContextMenuPlugin-0.2dev_r11870-py2.7.egg/contextmenu/contextmenu.py", line 89, in get_content\r\n  return tag.a(_('Subversion'), href=repos.get_path_url(path, None))\r\n}}}\r\n\r\nSystem information:\r\n{{{\r\nUser Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4\r\n\r\nTrac_0.12.2\r\nBabel_0.9.5\r\nGenshi_0.6\r\nmod_wsgi_3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})\r\npysqlite_2.6.0\r\nPython_2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC]\r\nsetuptools_0.6\r\nSQLite_3.7.5\r\nSubversion_1.6.19 (r1383947)\r\njQuery_1.4.2\r\n}}}\r\n\r\nEnabled plugins:\r\n{{{\r\nAttachment-Policy-Plugin_0.1.0_/usr/local/lib/python2.7/site-packages/Attachment_Policy_Plugin-0.1.0-py2.7.egg\r\nContextMenuPlugin_0.2dev-r11870_/usr/local/lib/python2.7/site-packages/ContextMenuPlugin-0.2dev_r11870-py2.7.egg\r\nFootNoteMacro_1.03-r10434_/usr/local/lib/python2.7/site-packages/FootNoteMacro-1.03_r10434-py2.7.egg\r\ngraphviz_0.7.5_/usr/local/lib/python2.7/site-packages/graphviz-0.7.5-py2.7.egg\r\nIniAdmin_0.2-r10454_/usr/local/lib/python2.7/site-packages/IniAdmin-0.2_r10454-py2.7.egg\r\nOverlayView_0.12.0.3_/usr/local/lib/python2.7/site-packages/OverlayView-0.12.0.3-py2.7.egg\r\nTagPublic_0.0.1_/usr/local/lib/python2.7/site-packages/TagPublic-0.0.1-py2.7.egg\r\nTicketGuidelinesPlugin_0.1-r514_/usr/local/lib/python2.7/site-packages/TicketGuidelinesPlugin-0.1_r514-py2.7.egg\r\nTracAccountManager_0.3.2_/usr/local/lib/python2.7/site-packages/TracAccountManager-0.3.2-py2.7.egg\r\nTracMasterTickets_3.0.2_/usr/local/lib/python2.7/site-packages/TracMasterTickets-3.0.2-py2.7.egg\r\nTracNav_4.1_/usr/local/lib/python2.7/site-packages/TracNav-4.1-py2.7.egg\r\nTracPermRedirect_2.0_/usr/local/lib/python2.7/site-packages/TracPermRedirect-2.0-py2.7.egg\r\nTracSectionEditPlugin_0.2.6-r11208_/usr/local/lib/python2.7/site-packages/TracSectionEditPlugin-0.2.6_r11208-py2.7.egg\r\nTracSubTicketsPlugin_0.1.0_/usr/local/lib/python2.7/site-packages/TracSubTicketsPlugin-0.1.0-py2.7.egg\r\nTracTags_0.6_/usr/local/lib/python2.7/site-packages/TracTags-0.6-py2.7.egg\r\nTracWikiPrintPlugin_1.9.2_/usr/local/lib/python2.7/site-packages/TracWikiPrintPlugin-1.9.2-py2.7.egg\r\nTracWysiwyg_0.12.0.4-r11158_/usr/local/lib/python2.7/site-packages/TracWysiwyg-0.12.0.4_r11158-py2.7.egg\r\n}}}	defect	reopened	normal	ContextMenuPlugin	blocker				0.12
