In our daily Jenkins Tests I saw this traceback 93 times: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 877, in __sync_file_from_ucs if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2614, in sync_from_ucs self.delete_in_s4(object, property_type) File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2672, in delete_in_s4 if not self.sync_from_ucs(key, subobject_s4, back_mapped_subobject['dn']): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2625, in sync_from_ucs self._check_dn_mapping(pre_mapped_ucs_dn, object['dn']) File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 712, in _check_dn_mapping self._remove_dn_mapping(dn_ucs.lower(), dn_con_mapped.lower()) AttributeError: 'NoneType' object has no attribute 'lower' Seems the DN mapping fails for some sub objects.
Traceback signature changed: 264 times: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 877, in __sync_file_from_ucs if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2614, in sync_from_ucs self.delete_in_s4(object, property_type) File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2650, in delete_in_s4 if self._remove_subtree_in_s4(object, property_type): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2683, in _remove_subtree_in_s4 if not self.sync_from_ucs(key, subobject_s4, back_mapped_subobject['dn']): File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 2625, in sync_from_ucs self._check_dn_mapping(pre_mapped_ucs_dn, object['dn']) File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 712, in _check_dn_mapping self._remove_dn_mapping(dn_ucs.lower(), dn_con_mapped.lower()) AttributeError: 'NoneType' object has no attribute 'lower'
This issue has been filed against UCS 4.4. UCS 4.4 is out of general maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.