Univention Bugzilla – Bug 29201
Traceback in udm/__init__.py line 426: 'NoneType' object has no attribute 'module'
Last modified: 2018-04-13 13:28:51 CEST
Der an Bug 28627 Comment 3 notierte Traceback bei der Bedienung der UMC wurde auch aus einer Testumgebung mit der c't Edition (auf Basis von UCS 3.0-2) gemeldet: +++ This bug was initially created as a clone of Bug #28627 Comment 3 +++ File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 82, in _run tmp = self._function() File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in __call__ return self._function( *tmp, **self._kwargs ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 426, in _thread if module.module is None: AttributeError: 'NoneType' object has no attribute 'module'
Da könnte auch was am logging verbessert werden, dieser Traceback ist in keiner der Logdateien aufgezeichnet.
(In reply to comment #0) > Der an Bug 28627 Comment 3 notierte Traceback bei der Bedienung der UMC wurde > auch aus einer Testumgebung mit der c't Edition (auf Basis von UCS 3.0-2) > gemeldet: > > > +++ This bug was initially created as a clone of Bug #28627 Comment 3 +++ > > File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 82, in _run > tmp = self._function() > File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in > __call__ > return self._function( *tmp, **self._kwargs ) > File > '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', > line 426, in _thread > if module.module is None: > AttributeError: 'NoneType' object has no attribute 'module' Die Zeile müsste lauten: if not module:
(In reply to comment #2) > Die Zeile müsste lauten: > > if not module: Folgende Zeilen (3.1 RC) scheinen den Fehler zu beinhalten: 472, 959
Fixed at Bug #34680. *** This bug has been marked as a duplicate of bug 34680 ***