Bug 46093 - udm/reports/create computers/computer: AttributeError: 'NoneType' object has no attribute 'info'
udm/reports/create computers/computer: AttributeError: 'NoneType' object has ...
Status: RESOLVED DUPLICATE of bug 47922
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UDM maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-19 17:37 CET by Johannes Keiser
Modified: 2019-03-10 16:45 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018101721001751, 2018011721000199
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2018-01-19 17:37:04 CET
Version: 4.2-2 errata189 (Lesum) - UCS@school 4.2 v3

Die Ausführung des Kommandos udm/reports/create computers/computer ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 82, in _decorated
    return method(*args, **kwargs)
  File "%PY2.7%/univention/management/console/ldap.py", line 143, in _decorated
    result = func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 619, in _thread
    report_file = report.create(request.flavor, request.options['report'], request.options['objects'])
  File "%PY2.7%/univention/directory/reports/report.py", line 69, in create
    tmpfile = doc.create_source(objects)
  File "%PY2.7%/univention/directory/reports/document.py", line 128, in create_source
    interpret.run()
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 80, in run
    self.run(token, token.objects)
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 95, in run
    self.attribute(token, base_objects[0])
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 163, in attribute
    if token.attrs['name'] in base.info:
AttributeError: 'NoneType' object has no attribute 'info'

Role: domaincontroller_backup
Comment 1 Johannes Keiser univentionstaff 2018-10-26 18:23:58 CEST
Reported again:  Version: 4.3-2 errata264 (Neustadt)

Traceback(c0719c151c0550644b688f14c33309fd):
Interner Server-Fehler in "udm/reports/create (groups/group)".
Request: udm/reports/create (groups/group)

  File "%PY2.7%/notifier/threads.py", line 78, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 84, in _decorated
    return method(*args, **kwargs)
  File "%PY2.7%/univention/management/console/ldap.py", line 143, in _decorated
    result = func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 651, in _thread
    report_file = report.create(request.flavor, request.options['report'], request.options['objects'])
  File "%PY2.7%/univention/directory/reports/report.py", line 69, in create
    tmpfile = doc.create_source(objects)
  File "%PY2.7%/univention/directory/reports/document.py", line 128, in create_source
    interpret.run()
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 80, in run
    self.run(token, token.objects)
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 95, in run
    self.attribute(token, base_objects[0])
  File "%PY2.7%/univention/directory/reports/interpreter.py", line 163, in attribute
    if token.attrs['name'] in base.info:
AttributeError: 'NoneType' object has no attribute 'info'

Role: domaincontroller_master
Comment 2 Florian Best univentionstaff 2019-03-10 16:45:00 CET

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