id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9872,no syntax highlighting when plugin is enabled,asix,rjollos,Note: System information and relevant plugin information follows the error information.\r\n\r\nProblem: Syntax highlighting does not work when TracKeywordsPlugin is enabled. If I disable the keywords plugin_ syntax highlighting works as expected.\r\n\r\nAlso_ an error is thrown when trying to change the syntax highting preferences.\r\n\r\nClick on Preferences_ then Syntax Highlighting tab_ and the following error is thrown:\r\n\r\n{{{\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x] mod_wsgi (pid=9470): Exception occurred processing WSGI script '/var/www/trac/cgi-bin/trac.wsgi'._\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x] Traceback (most recent call last):_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/var/www/trac/cgi-bin/trac.wsgi"_ line 33_ in application_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     return dispatch_request(environ_ start_request)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 490_ in dispatch_request_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     return _dispatch_request(req_ env_ env_error)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 566_ in _dispatch_request_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     send_internal_error(env_ req_ sys.exc_info())_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 660_ in send_internal_error_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     req.send_error(exc_info_ status=500_ env=env_ data=data)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/api.py"_ line 463_ in send_error_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     exc_info)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 522_ in _dispatch_request_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     dispatcher.dispatch(req)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 269_ in dispatch_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     self._post_process_request(req)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.3-py2.6.egg/trac/web/main.py"_ line 365_ in _post_process_request_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     f.post_process_request(req_ *(None_)*extra_arg_count)_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]   File "/usr/local/lib/python2.6/dist-packages/TracKeywordsPlugin-0.2-py2.6.egg/trackeywords/web_ui.py"_ line 83_ in post_process_request_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x]     data['keywords'] = self._get_keywords()_\r\n[Thu Mar 01 13:08:59 2012] [error] [client x.x.x.x] TypeError: 'NoneType' object does not support item assignment_\r\n}}}\r\n\r\nSystem Information\r\n{{{\r\nTrac 0.12.3\r\nDocutils 0.6\r\nGenshi 0.6\r\nMercurial 2.1\r\nmod_wsgi 2.8 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})\r\nPygments 1.4\r\npysqlite 2.4.1\r\nPython 2.6.5 (r265:79063_ Apr 16 2010_ 13:28:26) [GCC 4.4.3]\r\nsetuptools 0.6\r\nSQLite 3.6.22\r\nSubversion 1.6.6 (r40053)\r\njQuery:1.4.4\r\n}}}\r\nInstalled Plugins\r\n{{{\r\nAutocompleteUsers 0.4.2-r10974 /usr/local/lib/python2.6/dist-packages/AutocompleteUsers-0.4.2_r10974-py2.6.egg\r\nExtLinkRewriter 0.5 /usr/local/lib/python2.6/dist-packages/ExtLinkRewriter-0.5-py2.6.egg\r\nTracCustomFieldAdmin 0.2.8-r11278 /usr/local/lib/python2.6/dist-packages/TracCustomFieldAdmin-0.2.8_r11278-py2.6.egg\r\nTracKeywordsPlugin 0.2 /usr/local/lib/python2.6/dist-packages/TracKeywordsPlugin-0.2-py2.6.egg\r\nTracMasterTickets 3.0.2 /usr/local/lib/python2.6/dist-packages/TracMasterTickets-3.0.2-py2.6.egg\r\nTracMercurial 0.12.0.29dev-r10936 /usr/local/lib/python2.6/dist-packages/TracMercurial-0.12.0.29dev_r10936-py2.6.egg\r\nTracSubcomponents 1.1.2 /usr/local/lib/python2.6/dist-packages/TracSubcomponents-1.1.2-py2.6.egg\r\nTracWatchlistPlugin 0.5 /usr/local/lib/python2.6/dist-packages/TracWatchlistPlugin-0.5-py2.6.egg\r\nTracWikiPrintPlugin 1.9.2 /usr/local/lib/python2.6/dist-packages/TracWikiPrintPlugin-1.9.2-py2.6.egg\r\n}}},defect,assigned,normal,TracKeywordsPlugin,normal,,,,0.12
