Univention Bugzilla – Bug 34235
UMC/UDM: init() seems to fail or not yet called
Last modified: 2014-12-05 11:32:52 CET
We got another Traceback where the init() function of the UDM module hasn't been called. This occurred before in the appcenter, so it looks like it is a generic UMC problem. We will receive more information after UCS 3.2 errata 40 (→ Bug #33673 improved the behavior of failing init() methods). 3.2-0 errata0 (Borgfeld) Traceback: Die Ausführung des Kommandos udm/reports/query ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 487, in reports_query self.finished( request.id, self.reports_cfg.get_report_names( request.flavor ) ) AttributeError: 'Instance' object has no attribute 'reports_cfg' +++ This bug was initially created as a clone of Bug #33627 +++
Maybe Bug#33848?
(In reply to Dirk Wiesenthal from comment #1) > Maybe Bug#33848? I was able to reproduce both tracebacks reliably: When the ldap-server is down and one open any UDM module while no UDM module is currently running one will get (starting of UMC creates a UDM module process, it has to be killed manually): AttributeError: 'Instance' object has no attribute 'reports_cfg' If there is already a UDM module process running one will get: LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"} The reports_cfg error cannot occur anymore after errata 44 (Bug #33673). Then the only thing we should do is to display a user friendly error message (→ Bug #34244). *** This bug has been marked as a duplicate of bug 33848 ***