Univention Bugzilla – Bug 48026
Traceback: AttributeError: 'module' object has no attribute 'mailinglist_name'
Last modified: 2019-03-30 09:04:44 CET
+++ This bug was initially created as a clone of Bug #48020 +++ now i get Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 460, in <module> main() File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 421, in main add_srv_record(*args) File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 204, in add_srv_record record.create() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 539, in create dn = self._create(response=response, serverctrls=serverctrls) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1180, in _create self._ldap_post_create() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.py", line 154, in _ldap_post_create self._updateZone() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.py", line 141, in _updateZone self.superordinate.open() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/forward_zone.py", line 260, in open self['refresh'] = univention.admin.mapping.unmapUNIX_TimeInterval(soa[3]) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 433, in __setitem__ p = s.parse(value) File "/usr/lib/pymodules/python2.7/univention/admin/syntax.py", line 1616, in parse return super(UNIX_TimeInterval, cls).parse(texts) TypeError: super(type, obj): obj must be an instance or subtype of type dunring the installation of univention-s4-connector
Please revert everything from Bug #47910 and #48020!
Reverted reloading of syntax.py itself in univention-directory-manager-modules 13.0.25-6A~4.3.0.201810191551 This error may probably still happen in syntax classes in syntax.d/*.py, but for now, we have fixed it for syntax classes in syntax.py itself.
(In reply to Felix Botner from comment #1) > Please revert everything from Bug #47910 and #48020! not #47910 but Bug #47861
ok. univention-install univention-s4-connector ok revert ok yaml
<http://errata.software-univention.de/ucs/4.3/287.html>
Just an explanation: (In reply to Felix Botner from comment #0) > Traceback (most recent call last): > [..] > File "/usr/lib/pymodules/python2.7/univention/admin/syntax.py", line 1616, > in parse > return super(UNIX_TimeInterval, cls).parse(texts) > TypeError: super(type, obj): obj must be an instance or subtype of type I have seen this error before: Bug #48021. The problem is that at compile time UNIX_TimeInterval was loaded the 1st time, but when used in super(UNIX_TimeInterval, cls) it had already been loaded a second time. Thus it was a new class in a new module and as such not the original super class anymore.
External feedback: Version: 4.3-2 errata286 (Neustadt) Interner Server-Fehler in "udm/query (dns/dns)". Request: udm/query (dns/dns) File "%PY2.7%/notifier/threads.py", line 78, in _run tmp = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 583, in _thread superordinate = mod.get(superordinate) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 84, in _decorated return method(*args, **kwargs) File "%PY2.7%/univention/management/console/ldap.py", line 143, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 521, in get obj.open() File "%PY2.7%/univention/admin/handlers/dns/forward_zone.py", line 260, in open self['refresh'] = univention.admin.mapping.unmapUNIX_TimeInterval(soa[3]) File "%PY2.7%/univention/admin/handlers/__init__.py", line 433, in __setitem__ p = s.parse(value) File "%PY2.7%/univention/admin/syntax.py", line 1616, in parse return super(UNIX_TimeInterval, cls).parse(texts) TypeError: super(type, obj): obj must be an instance or subtype of type Role: domaincontroller_master