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
