Univention Bugzilla – Bug 54874
RuntimeError: dictionary changed size during iteration in UMC-Server
Last modified: 2023-06-09 16:58:15 CEST
I saw the following traceback in a customer environment: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 344, in __error_handling six.reraise(etype, exc, etraceback) File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 247, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 975, in _authentication_finished2 self.processor.set_credentials(**self.__credentials) File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 188, in set_credentials self.update_module_passwords() File "/usr/lib/python3/dist-packages/univention/management/console/protocol/session.py", line 398, in update_module_passwords for module_name, proc in self.__processes.items(): RuntimeError: dictionary changed size during iteration
Occured in my test env, too. I tried to start the UCS@School-Import-Modul and "sometimes" got the same issue.
obsolete by Bug #43633. We changed the architecture w.r.t. updating password in running module processes: the old way was to send the information when the password was changed. the new way is to send the credentials along with every request and if they changed the new credentials are used instead. *** This bug has been marked as a duplicate of bug 43633 ***