Univention Bugzilla – Bug 50596
[O365] Ugly traceback in listener.log on each Listener restart.
Last modified: 2021-07-14 16:47:23 CEST
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 =============================================================================
Found this several times in listener.log of a school customer
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.
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.