Univention Bugzilla – Bug 37118
AttributeError: 'NoneType' object has no attribute 'lookup'
Last modified: 2015-02-17 08:28:05 CET
This traceback happens also when no udm_modules.reload() is done before e.g. a App installation which ships UDM-UMC modules. Traceback: File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 523, in _thread result = module.search( request.options.get( 'container' ), request.options[ 'objectProperty' ], request.options[ 'objectPropertyValue' ], superordinate, scope = request.options.get( 'scope', 'sub' ), hidden=request.options.get('hidden') ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 184, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 471, in search result = self.module.lookup( None, ldap_connection, filter_s, base = container, superordinate = superordinate, scope = scope, sizelimit = sizelimit ) AttributeError: 'NoneType' object has no attribute 'lookup' Remark: - Install SAML identity provider - Open module Domain → SAML identity provider
Bug #26966 should probably fixed as duplicate of this bug.
Reported again, 4.0-0 errata10 (Walle).
Reported again, 3.2-3 errata217 (Borgfeld)
Reported again, 4.0-0 errata48 (Walle) Traceback: Execution of command 'udm/nav/object/query navigation' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 537, in _thread result = module.search(container, objectProperty, objectPropertyValue, superordinate, scope=scope, hidden=hidden) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 159, in _decorated return func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 139, in wrapper_func ret = func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 562, in search result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit) AttributeError: 'module' object has no attribute 'lookup' Remark: Search for Type: User: Self Property: Default properties
(In reply to Florian Best from comment #7) → Oh, this is not this bug it is Bug #37623
Reported again, 3.2-4 errata277: Remark: Es wurde im Webfrontend die LDAP Verzeichnisse durchsucht
I could reproduce this on ucs 3.2-3 but not on ucs 4.0-0 with these steps: - open user module, search for a user - install saml / inbetween renew search - don't reload server components - open saml On 4.0-0 saml module will be empty, but no traceback. *** This bug has been marked as a duplicate of bug 37347 ***
As the duplicated bug is also fixed now, I am VERIFYING this bug. The origin reason is not fixed but the symptoms prevented by the frontend changes.
Duplicate, nothing to release.