Univention Bugzilla – Bug 23529
traceback: AttributeError: 'NoneType' object has no attribute 'lookupByUUIDString'
Last modified: 2023-06-28 10:46:15 CEST
2011-09-06 11:46:05,368 - uvmmd.unix - ERROR - [9] Exception: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/univention/uvmm/unix.py", line 150, in handle_command res = cmd(self, command) File "/usr/lib/python2.4/site-packages/univention/uvmm/commands.py", line 297, in DOMAIN_UPDATE node.domain_update(request.domain) File "/usr/lib/python2.4/site-packages/univention/uvmm/node.py", line 1427, in domain_update dom = conn.lookupByUUIDString(domain) AttributeError: 'NoneType' object has no attribute 'lookupByUUIDString' Ursache ist das nach einem Fehler mit der Verbindung Node.conn=None gesetzt wird, was dann trotzdem ohne Überprüfung von den ganzen domain_*()-Funktionen genutzt wird. Hier wäre folgendes zu ergänzen: if conn is None: raise NodeError(_('Node is currently unconnected.'))
This issue has been filed against UCS 2.4. UCS 2.4 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you.
*** This bug has been marked as a duplicate of bug 35354 ***