Bug 50596 - [O365] Ugly traceback in listener.log on each Listener restart.
[O365] Ugly traceback in listener.log on each Listener restart.
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-04 17:13 CET by Arvid Requate
Modified: 2021-07-14 16:47 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Development Internal
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?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020112021000445, 2021070621000166
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2019-12-04 17:13:27 CET
Ugly traceback in listener.log on each Listener restart, probybla caused by circular include dependence. The module still works, but it's ugly:

=============================================================================
04.12.19 16:31:17.135  ADMIN       ( ERROR   ) : admin.hook.import_hook_files: loading '/usr/lib/pymodules/python2.7/univention/admin/hooks.d/office365_user_ADConnections_hook.py' failed
04.12.19 16:31:17.135  ADMIN       ( ERROR   ) : admin.hook.import_hook_files: TRACEBACK:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/admin/hook.py", line 54, in import_hook_files
    exec(fd, sys.modules[__name__].__dict__)
  File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/office365_user_ADConnections_hook.py", line 35, in <module>
    from univention.office365.listener import Office365Listener
  File "/usr/lib/pymodules/python2.7/univention/office365/listener.py", line 40, in <module>
    from univention.office365.azure_handler import AzureHandler, AddLicenseError, ResourceNotFoundError
  File "/usr/lib/pymodules/python2.7/univention/office365/azure_handler.py", line 47, in <module>
    from univention.office365.azure_auth import AzureAuth, AzureError, resource_url
ImportError: cannot import name AzureAuth
=============================================================================
Comment 2 Christina Scheinig univentionstaff 2020-11-20 10:26:05 CET
Found this several times in listener.log of a school customer
Comment 3 Ingo Steuwer univentionstaff 2021-05-14 16:38:16 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have 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" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Dirk Schnick univentionstaff 2021-07-14 16:47:23 CEST
Still relevant, I spend much to much time in investigation on this traceback in a customer environment, just to find out: known since one and half year closed with wont fix.