Univention Bugzilla – Bug 56277
schoolwizards/users/query: TypeError: super(type, obj): obj must be an instance or subtype of type
Last modified: 2023-07-06 15:53:21 CEST
Maybe related: Bug 56272 Version: 5.0-3 errata622 - UCS@school 5.0 v3 Error: Interner Server-Fehler in "schoolwizards/users/query (schoolwizards/users)". Request: schoolwizards/users/query (schoolwizards/users) Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 351, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 254, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response return function(self, request) File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 241, in _decorated ret = func(self, request, *a, **kw) File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 156, in wrapper_func return func(*args, **kwargs) File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 490, in get_users school_prefix=False, File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 458, in _get_all school_prefix=school_prefix, File "%PY3%/ucsschool/lib/models/base.py", line 940, in get_all ret.append(cls.from_udm_obj(udm_obj, school, lo)) File "%PY3%/ucsschool/lib/models/user.py", line 267, in from_udm_obj obj = super(User, cls).from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/base.py", line 1017, in from_udm_obj return klass.from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/user.py", line 267, in from_udm_obj obj = super(User, cls).from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/base.py", line 1018, in from_udm_obj udm_obj.open() File "%PY3%/univention/admin/handlers/users/user.py", line 1169, in open univention.admin.handlers.simpleLdap.open(self) File "%PY3%/univention/admin/handlers/__init__.py", line 1101, in open self.call_udm_property_hook('hook_open', self) File "%PY3%/univention/admin/handlers/__init__.py", line 1077, in call_udm_property_hook func(module) File "%PY3%/univention/admin/hook.py", line 208, in hook_open obj[self.udm_attribute_name] = new_value File "%PY3%/univention/admin/handlers/__init__.py", line 428, in __setitem__ p = s.parse(v) File "<string>", line 62, in parse TypeError: super(type, obj): obj must be an instance or subtype of type Role: domaincontroller_master