id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
7920	AttributeError: 'NoneType' object has no attribute 'rstrip'	jliu	penmark	Hi.\r\nI installed the ContextMenu plugin by building the egg from source. (Python 2.5.4)\r\nIt installed successfully.\r\nBut causes error below when I try to load up the Browse Source page.\r\nAny help would be appreciated.\r\n\r\n\r\n==== How to Reproduce ====\r\n\r\nWhile doing a GET operation on `/browser`, Trac issued an internal error.\r\n\r\n''(please provide additional details here)''\r\n\r\nRequest parameters:\r\n{{{\r\n{'path': '/'}\r\n}}}\r\n\r\nUser agent: `Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7`\r\n\r\n==== System Information ====\r\n|| '''`Trac`''' || `0.12` ||\r\n|| '''`Genshi`''' || `0.6` ||\r\n|| '''`mod_python`''' || `3.3.1` ||\r\n|| '''`pysqlite`''' || `2.5.5` ||\r\n|| '''`Python`''' || `2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]` ||\r\n|| '''`setuptools`''' || `0.6c11` ||\r\n|| '''`SQLite`''' || `3.6.11` ||\r\n|| '''`Subversion`''' || `1.6.6 (r40053)` ||\r\n|| '''`jQuery`''' || `1.4.2` ||\r\n\r\n==== Enabled Plugins ====\r\n|| '''`contextmenuplugin`''' || `0.1` ||\r\n|| '''`gridmodify`''' || `0.1.5` ||\r\n|| '''`privatewikis`''' || `1.0.0` ||\r\n|| '''`timingandestimationplugin`''' || `1.0.6` ||\r\n|| '''`tracaccess`''' || `0.1` ||\r\n|| '''`tracaccountmanager`''' || `0.3dev` ||\r\n|| '''`tracburndown`''' || `1.9.2` ||\r\n|| '''`tracpermredirect`''' || `2.0` ||\r\n|| '''`tractags`''' || `0.7dev` ||\r\n|| '''`tracwysiwyg`''' || `0.12.0.2` ||\r\n\r\n==== Python Traceback ====\r\n{{{\r\nTraceback (most recent call last):\r\n  File "build\\bdist.win32\\egg\\trac\\web\\main.py", line 513, in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "build\\bdist.win32\\egg\\trac\\web\\main.py", line 256, in dispatch\r\n    content_type)\r\n  File "build\\bdist.win32\\egg\\trac\\web\\chrome.py", line 816, in render_template\r\n    stream |= self._filter_stream(req, method, filename, stream, data)\r\n  File "E:\\apps\\apache2\\bin\\lib\\site-packages\\genshi-0.6-py2.5.egg\\genshi\\core.py", line 132, in __or__\r\n    return Stream(_ensure(function(self)), serializer=self.serializer)\r\n  File "build\\bdist.win32\\egg\\trac\\web\\chrome.py", line 955, in inner\r\n    data)\r\n  File "build\\bdist.win32\\egg\\contextmenu\\contextmenu.py", line 155, in filter_stream\r\n    content = SubversionLink(self.env).get_content(req, data['path'], stream, data)\r\n  File "build\\bdist.win32\\egg\\contextmenu\\contextmenu.py", line 90, in get_content\r\n    href = self.svn_base_url.rstrip('/')\r\nAttributeError: 'NoneType' object has no attribute 'rstrip'\r\n}}}	defect	closed	normal	ContextMenuPlugin	normal	fixed			0.12
