Univention Bugzilla – Bug 48020
Traceback: AttributeError: 'module' object has no attribute 'mailinglist_name'
Last modified: 2018-10-19 15:48:23 CEST
With commit d52919fb7c0 a separate syntax class for mailing list names has been introduced in the context to solve Bug #47861. This leads to the following traceback in the listener.log: https://pastebin.knut.univention.de/pP4GNmjN#listener.log Multifile: /etc/ldap/slapd.conf Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/ldap_extension.py", line 97, in postrun handler_object.mark_active() File "/usr/lib/pymodules/python2.7/univention/lib/ldap_extension.py", line 354, in mark_active udm_modules.update() File "/usr/lib/pymodules/python2.7/univention/admin/modules.py", line 93, in update os.path.walk(dir, _walk, p) File "/usr/lib/python2.7/posixpath.py", line 239, in walk walk(name, func, arg) File "/usr/lib/python2.7/posixpath.py", line 231, in walk func(arg, top, names) File "/usr/lib/pymodules/python2.7/univention/admin/modules.py", line 78, in _walk m = __import__(mod, globals(), locals(), name) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/mail/lists.py", line 60, in <module> syntax=univention.admin.syntax.mailinglist_name, AttributeError: 'module' object has no attribute 'mailinglist_name' The traceback occured during an automatic app appliance test for the master mode with the ONLYOFFICE + Nextcloud Appliance and was caused during the installation of Nextcloud. The result is a missing Nextcloud. The traceback could be reproduced with a manual setup of this appliance. UCS version is UCS: 4.3-2 errata285
Just checked a usual UCS appliance, updated to errata 285 and installed Nextcloud and ownCloud. Both installations were successful. Therefore, only the app appliances seem to be affected. I'll test the ownCloud and Nextcloud appliance, as well and let them update to the latest errata before the apps are installed..
A running Python process does not reload a modified syntax.py. → The (re)loading of syntax classes has been modified to also reload syntax.py. → The syntax class for mailing list names was moved to a separate module. [4.3-2] 1faba855d5 Bug #47861: reload syntax.py itself, move syntax class to separate module [4.3-2] 2957402d2a Bug #47861: advisory univention-directory-manager-modules 13.0.25-5
A new build of the appliance this morning did not show the error anymore. I assume that the update to the errata update after the appliance setup cause somehow the problem. The new build already includes the errata update and this allows Nextcloud to be installed successfully. Therefore, no issue anymore for the recent build. Nevertheless, the problem should be fixed, which is already on the way. Thanks for the quick response, Daniel.
Ok, works
<http://errata.software-univention.de/ucs/4.3/286.html>