Bug 38849 - "bad marshal data" by admin.modules.update()
"bad marshal data" by admin.modules.update()
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-07 14:19 CEST by Florian Best
Modified: 2022-06-30 14:32 CEST (History)
0 users

See Also:
What kind of report is it?: ---
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?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, 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 Florian Best univentionstaff 2015-07-07 14:19:38 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)
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:16:49 CET
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.