id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 12556 AttributeError: 'bool' object has no attribute 'lower' dennis.liou@… "Hello , I am new with trac and now trying ldap with trac, but not successed. Now, I met a bug. Please help me solve the problem, thanks. ==== How to Reproduce ==== While doing a GET operation on `/`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {} }}} User agent: `Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Dragon/49.13.20.402 Chrome/49.0.2623.110 Safari/537.36` ==== System Information ==== ''System information not available'' ==== Enabled Plugins ==== ''Plugin information not available'' ==== Python Traceback ==== {{{ Traceback (most recent call last): File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 512, in _dispatch_request dispatcher.dispatch(req) File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 221, in dispatch resp = chosen_handler.process_request(req) File ""build/bdist.linux-x86_64/egg/trac/wiki/web_ui.py"", line 134, in process_request req.perm(versioned_page.resource).require('WIKI_VIEW') File ""build/bdist.linux-x86_64/egg/trac/perm.py"", line 577, in require if not self._has_permission(action, resource): File ""build/bdist.linux-x86_64/egg/trac/perm.py"", line 568, in _has_permission check_permission(action, perm.username, resource, perm) File ""build/bdist.linux-x86_64/egg/trac/perm.py"", line 460, in check_permission perm) File ""build/bdist.linux-x86_64/egg/trac/perm.py"", line 294, in check_permission get_user_permissions(username) File ""build/bdist.linux-x86_64/egg/trac/perm.py"", line 396, in get_user_permissions for perm in self.store.get_user_permissions(username) or []: File ""build/bdist.linux-x86_64/egg/ldapplugin/api.py"", line 209, in get_user_permissions users += list(provider.get_permission_groups(username)) File ""build/bdist.linux-x86_64/egg/ldapplugin/api.py"", line 108, in get_permission_groups self._ldap = LdapConnection(self.env.log, bind, **self._ldapcfg) File ""build/bdist.linux-x86_64/egg/ldapplugin/api.py"", line 540, in __init__ self.__setattr__(k, v.lower() in _TRUE_VALUES) AttributeError: 'bool' object has no attribute 'lower' }}}" defect closed normal general 1.0.2 normal cantfix