Bug 56292 - apps/get: AssertionError: Got magic
apps/get: AssertionError: Got magic
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-07 16:51 CEST by Maximilian Janßen
Modified: 2023-07-07 16:52 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2022121721000151, 2022121621000761
Bug group (optional): 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 Maximilian Janßen univentionstaff 2023-07-07 16:51:29 CEST
Version: 4.4-9 errata1354 (Blumenthal)

Error:
Interner Server-Fehler in "apps/get".
Request: apps/get

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/apps/__init__.py", line 64, in get
    return domain.to_dict([app])[0]
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 98, in to_dict
    hosts = self.get_appcenter_hosts(lo, pos)
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 80, in get_appcenter_hosts
    objs = search_objects('computers/%s' % role, lo, pos)
  File "%PY2.7%/univention/appcenter/udm.py", line 120, in search_objects
    module = _get_module(_module, _lo, _pos)
  File "%PY2.7%/univention/appcenter/udm.py", line 66, in _get_module
    _update_modules()
  File "%PY2.7%/univention/appcenter/udm.py", line 62, in _update_modules
    udm_modules.update()
  File "%PY2.7%/univention/admin/modules.py", line 123, in update
    _walk(root, w_root, w_files)
  File "%PY2.7%/univention/admin/modules.py", line 110, in _walk
    m = importlib.import_module('univention.admin.handlers.%s' % (modulepackage,))  # type: Any
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "%PY2.7%/univention/admin/handlers/users/self.py", line 37, in <module>
    import univention.admin.handlers.users.user as udm_user
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 251, in <module>
    default=[[None, None, tzlocal.get_localzone().zone], []],
  File "%PY2.7%/tzlocal/unix.py", line 123, in get_localzone
    _cache_tz = _get_localzone()
  File "%PY2.7%/tzlocal/unix.py", line 62, in _get_localzone
    return pytz.timezone(etctz.replace(' ', '_'))
  File "%PY2.7%/pytz/__init__.py", line 166, in timezone
    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
  File "%PY2.7%/pytz/tzfile.py", line 33, in build_tzinfo
    assert magic == _byte_string('TZif'), 'Got magic %s' % repr(magic)
AssertionError: Got magic 'f2\x00\x00'

Role: domaincontroller_master