Bug 38007

Summary: directory-logger: Multiple Python tracebacks
Product: UCS Reporter: Philipp Hahn <hahn>
Component: Listener (univention-directory-listener)Assignee: Sönke Schwardt-Krummrich <schwardt>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: gohmann, requate, schwardt
Version: UCS 4.0   
Target Milestone: UCS 4.0-x   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Philipp Hahn univentionstaff 2015-03-11 12:41:41 CET
Traceback (most recent call last):

11.03.15 12:36:24.856  LISTENER    ( ERROR   ) : directory_logger: dn not found in dellog: cn=XXX-blade$,cn=uid,cn=t
emporary,cn=univention,dc=phahn,dc=dev
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 191, in handler
    process_dellog( dn )
  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 160, in process_dellog
    if not modifier:    # Fallback
UnboundLocalError: local variable 'modifier' referenced before assignment
11.03.15 12:36:24.857  LISTENER    ( INFO    ) : handler: directory_logger (failed)


  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 191, in handler
    process_dellog( dn )
  File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 122, in process_dellog
    filename = dellist.pop(0);
IndexError: pop from empty list
11.03.15 12:36:27.704  LISTENER    ( INFO    ) : handler: directory_logger (failed)
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-08-01 14:16:18 CEST

*** This bug has been marked as a duplicate of bug 34916 ***