Univention Bugzilla – Bug 38849
"bad marshal data" by admin.modules.update()
Last modified: 2022-06-30 14:32:24 CEST
Reported, 4.0-2 errata213 (Walle) Happens if a .pyc file in univention/admin/handlers/*/* is corrupt or broken: It prevented a start of the UDM module. Failed to load module udm: bad marshal data (unknown type code) Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 100, in _load_module self.__module = __import__(file_, [], [], modname) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 69, in <module> from .udm_ldap import ( File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 69, in <module> udm_modules.update() File "%PY2.7%/univention/admin/modules.py", line 92, in update os.path.walk(dir, _walk, p) File "/usr/lib/python2.7/posixpath.py", line 246, in walk walk(name, func, arg) File "/usr/lib/python2.7/posixpath.py", line 238, in walk func(arg, top, names) File "%PY2.7%/univention/admin/modules.py", line 76, in _walk m=__import__(mod, globals(), locals(), name) ValueError: bad marshal data (unknown type code)
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.