Bug 55451 - appcenter/packages/query: AttributeError: 'NoneType' object has no attribute 'lookup'
appcenter/packages/query: AttributeError: 'NoneType' object has no attribute ...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-23 15:41 CET by Mika Westphal
Modified: 2022-11-23 15:41 CET (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: 2022112321000374
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 Mika Westphal univentionstaff 2022-11-23 15:41:34 CET
Version: 5.0-2 errata492

Error:
Internal server error during "appcenter/packages/query".
Request: appcenter/packages/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 347, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 793, in packages_query
    result.append(self._package_to_dict(package, full=False))
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 910, in _package_to_dict
    'summary': candidate.summary,
  File "%PY3%/apt/package.py", line 605, in summary
    records = self._translated_records
  File "%PY3%/apt/package.py", line 551, in _translated_records
    if self.package._pcache._records.lookup(desc_iter.file_list.pop(0)):
AttributeError: 'NoneType' object has no attribute 'lookup'

Role: domaincontroller_master