id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
6305,AttributeError: 'bool' object has no attribute 'lower',anonymous,bobbysmith007,after installing the plugin i can't create a new ticket_ i get the following error :\r\n\r\nOops…\r\nTrac detected an internal error: AttributeError: 'bool' object has no attribute 'lower'\r\nThis is probably a local installation issue. \r\n\r\nFound a bug in Trac?\r\nIf you think this should work and you can reproduce the problem_ you should consider reporting this to the Trac team.\r\n\r\nBefore you do that_ though_ please first try searching for similar issues_ as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac_ please try the mailing list instead of filing a ticket. \r\n\r\nOtherwise_ please    \r\n==== How to Reproduce ====\r\n\r\nWhile doing a GET operation on `/newticket`_ Trac issued an internal error.\r\n\r\n''(please provide additional details here)''\r\n\r\n\r\n\r\nUser Agent was: `Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)`\r\n\r\n==== System Information ====\r\n\r\n|| '''Trac''' || `0.11.6` ||\r\n|| '''Python''' || `2.6.4 (r264:75708_ Oct 26 2009_ 08:23:19) [MSC v.1500 32 bit (Intel)]` ||\r\n|| '''setuptools''' || `0.6c11` ||\r\n|| '''SQLite''' || `3.5.9` ||\r\n|| '''pysqlite''' || `2.4.1` ||\r\n|| '''Genshi''' || `0.6dev-r1092` ||\r\n|| '''Subversion''' || `1.6.6 (r40053)` ||\r\n|| '''jQuery:''' || `1.2.6` ||\r\n\r\n==== Python Traceback ====\r\n{{{\r\nTraceback (most recent call last):\r\n  File "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 450_ in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 227_ in dispatch\r\n    data_ content_type)\r\n  File "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 745_ in render_template\r\n    stream |= self._filter_stream(req_ method_ filename_ stream_ data)\r\n  File "build\\bdist.win32\\egg\\genshi\\core.py"_ line 132_ in __or__\r\n    return Stream(_ensure(function(self))_ serializer=self.serializer)\r\n  File "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 848_ in inner\r\n    data)\r\n  File "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 123_ in filter_stream\r\n    if disabled or istrue(self.config.get(csection_ '%s.disable' % field_ False)):\r\n  File "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 76_ in istrue\r\n    if v.lower() in ('yes'_ 'true'_ '1'_ 'on'):\r\nAttributeError: 'bool' object has no attribute 'lower'\r\n\r\n}}}\r\n      a new ticket at the Trac project site_ where you can describe the problem and explain how to reproduce it.\r\n\r\nPython Traceback\r\nMost recent call last: \r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 450_ in _dispatch_request \r\nCode fragment:\r\n    try:        if not env and env_error:            raise HTTPInternalError(env_error)        try:            dispatcher = RequestDispatcher(env)\r\n                                      dispatcher.dispatch(req)\r\n                                  except RequestDone:            pass        resp = req._response or []     except HTTPException_ e:\r\n                        Local variables:\r\nName Value \r\nafter [u'        except RequestDone:'_ u'            pass'_ u'        resp = ... \r\nbefore [u'    try:'_ u'        if not env and env_error:'_ u'            raise ... \r\ndispatcher <trac.web.main.RequestDispatcher object at 0x017C96B0> \r\ne AttributeError("'bool' object has no attribute 'lower'"_) \r\nenv <trac.env.Environment object at 0x00FDBD90> \r\nenv_error None \r\nexc_info (<type 'exceptions.AttributeError'>_ AttributeError("'bool' object has no ... \r\nfilename 'C:\\\\Python26\\\\lib\\\\site-packages\\\\trac-0.11.6-py2.6-win32.egg\\\\trac\\\\web\\\\ ... \r\nframes [{'function': '_dispatch_request'_ 'lines_before': [u'    try:'_ u'        ... \r\nhas_admin True \r\nline u'            dispatcher.dispatch(req)' \r\nlineno 449 \r\nmessage u"AttributeError: 'bool' object has no attribute 'lower'" \r\nreq <Request "GET u'/newticket'"> \r\nresp [] \r\ntb <traceback object at 0x019B1670> \r\ntb_hide None \r\ntraceback u'Traceback (most recent call last):\\n  File ... \r\n\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 227_ in dispatch \r\nCode fragment:\r\n                            out = StringIO()                            pprint(data_ out)                            req.send(out.getvalue()_ 'text/plain')                        else:                            output = chrome.render_template(req_ template_\r\n                                                                                      data_ content_type)\r\n                                                      # Give the session a chance to persist changes                            req.session.save()                            req.send(output_ content_type or 'text/html')                else:                    self._post_process_request(req)\r\n                        Local variables:\r\nName Value \r\nchosen_handler <trac.ticket.web_ui.TicketModule object at 0x017C95D0> \r\nchrome <trac.web.chrome.Chrome object at 0x01713F30> \r\ncontent_type None \r\ndata {'dateinfo': <function dateinfo at 0x01B0BEB0>_ 'valid': None_ 'fields': ... \r\nerr (<type 'exceptions.AttributeError'>_ AttributeError("'bool' object has no ... \r\nhandler <trac.ticket.web_ui.TicketModule object at 0x017C95D0> \r\nreq <Request "GET u'/newticket'"> \r\nresp ('ticket.html'_ {'dateinfo': <function dateinfo at 0x01B0BEB0>_ 'valid': ... \r\nself <trac.web.main.RequestDispatcher object at 0x017C96B0> \r\ntemplate 'ticket.html' \r\n\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 745_ in render_template \r\nCode fragment:\r\n         stream = template.generate(**data)         # Filter through ITemplateStreamFilter plugins        if self.stream_filters:\r\n                                      stream |= self._filter_stream(req_ method_ filename_ stream_ data)\r\n                                   if fragment:            return stream         if method == 'text':\r\n                        Local variables:\r\nName Value \r\ncontent_type 'text/html' \r\ndata {'abs_url_of': <function get_abs_url at 0x01B0B9F0>_ 'all': <built-in ... \r\nfilename 'ticket.html' \r\nfragment False \r\ni 0 \r\nmethod 'xhtml' \r\nreq <Request "GET u'/newticket'"> \r\nself <trac.web.chrome.Chrome object at 0x01713F30> \r\nstream <genshi.core.Stream object at 0x01B165F0> \r\ntemplate <MarkupTemplate "ticket.html"> \r\ntype_ 'notices' \r\n\r\nFile "build\\bdist.win32\\egg\\genshi\\core.py"_ line 132_ in __or__ \r\nLocal variables:\r\nName Value \r\nfunction <function inner at 0x01B0BB30> \r\nself <genshi.core.Stream object at 0x01B165F0> \r\n\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 848_ in inner \r\nCode fragment:\r\n     def _filter_stream(self_ req_ method_ filename_ stream_ data):        def inner(stream_ ctxt=None):            for filter in self.stream_filters:                stream = filter.filter_stream(req_ method_ filename_ stream_\r\n                                                                        data)\r\n                                      return stream        return inner     def _stream_location(self_ stream):        for kind_ data_ pos in stream:\r\n                        Local variables:\r\nName Value \r\nctxt None \r\ndata {'abs_url_of': <function get_abs_url at 0x01B0B9F0>_ 'all': <built-in ... \r\nfilename 'ticket.html' \r\nfilter <timingandestimationplugin.blackmagic.TicketTweaks object at 0x01964A50> \r\nmethod 'xhtml' \r\nreq <Request "GET u'/newticket'"> \r\nself <trac.web.chrome.Chrome object at 0x01713F30> \r\nstream <genshi.core.Stream object at 0x01B165F0> \r\n\r\nFile "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 123_ in filter_stream \r\nLocal variables:\r\nName Value \r\ndata {'abs_url_of': <function get_abs_url at 0x01B0B9F0>_ 'all': <built-in ... \r\ndenial u'hide' \r\ndisabled False \r\nfield u'billable' \r\nfields [u'billable'_ u'totalhours'_ u'hours'_ u'estimatedhours'_ u'internal'] \r\nfilename 'ticket.html' \r\nhidden False \r\nhide_summary False \r\nmethod 'xhtml' \r\nperm u'TIME_VIEW' \r\nperms [u'TIME_VIEW:hide'_ u'TIME_RECORD:disable'] \r\nremove False \r\nreq <Request "GET u'/newticket'"> \r\ns u'TIME_RECORD:disable' \r\nself <timingandestimationplugin.blackmagic.TicketTweaks object at 0x01964A50> \r\nstream <genshi.core.Stream object at 0x01B165F0> \r\n\r\nFile "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 76_ in istrue \r\nLocal variables:\r\nName Value \r\notherwise None \r\nv False \r\n\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 450_ in _dispatch_request\r\n  dispatcher.dispatch(req)\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\main.py"_ line 227_ in dispatch\r\n  data_ content_type)\r\nFile "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 745_ in render_template\r\n  stream |= self._filter_stream(req_ method_ filename_ stream_ data)\r\nFile "build\\bdist.win32\\egg\\genshi\\core.py"_ line 132_ in __or__File "C:\\Python26\\lib\\site-packages\\trac-0.11.6-py2.6-win32.egg\\trac\\web\\chrome.py"_ line 848_ in inner\r\n  data)\r\nFile "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 123_ in filter_streamFile "build\\bdist.win32\\egg\\timingandestimationplugin\\blackmagic.py"_ line 76_ in istrue\r\n\r\nSystem Information:\r\nUser Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\r\n\r\nTrac: 0.11.6 \r\nPython: 2.6.4 (r264:75708_ Oct 26 2009_ 08:23:19) [MSC v.1500 32 bit (Intel)] \r\nsetuptools: 0.6c11 \r\nSQLite: 3.5.9 \r\npysqlite: 2.4.1 \r\nGenshi: 0.6dev-r1092 \r\nSubversion: 1.6.6 (r40053) \r\njQuery: 1.2.6 \r\n,defect,closed,high,TimingAndEstimationPlugin,blocker,fixed,,,0.11
