Univention Bugzilla – Bug 52756
Traceback in Repository module with customized configured component
Last modified: 2021-05-25 15:57:47 CEST
Configured a broken component. Interner Server-Fehler in "appcenter/components/query". Request: appcenter/components/query Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 359, 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 262, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 1222, in components_query for comp in self.get_updater().get_components(all=True) File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 1222, in <listcomp> for comp in self.get_updater().get_components(all=True) File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter/util.py", line 328, in component 'defaultpackages': list(comp.defaultpackages), AttributeError: 'Component' object has no attribute 'defaultpackages'
repository/online/component/xx/description='!!' repository/online/component/xx/unmaintained='disabled' repository/online/component/xx='enabled'
Happens sometimes in our Jenkins tests: https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/view/Default/job/AutotestUpgrade/52/SambaVersion=s4,Systemrolle=backup/testReport/junit/99_end/01_var_log_tracebacks/backup073/
probably already fixed
Fixed a while ago. commit 197d4eade129f8701ea119c0cc76084cebf438c4 Author: Dirk Wiesenthal <wiesenthal@univention.de> Date: Fri Feb 26 11:19:25 2021 +0100 Please do a quick double check: - 'defaultpackages': list(comp.defaultpackages), + 'defaultpackages': list(comp.default_packages),
(In reply to Dirk Wiesenthal from comment #4) > Fixed a while ago. > > commit 197d4eade129f8701ea119c0cc76084cebf438c4 Introduced by me with git:e6924d5978c2f5028df22e99c8c5e4ba845c2044 for Bug #51316 > + 'defaultpackages': list(comp.default_packages), OK: The property is called `default_packages`. OK: No changelog reqquired as this is a fix for Bug #51316
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".