Univention Bugzilla – Bug 40069
Abort exception not handled by AppCenter
Last modified: 2016-03-08 14:00:17 CET
Die Ausührung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 191, in query return domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 97, in to_dict lo, pos = self._get_ldap_connection(args=None, allow_machine_connection=True) File "%PY2.7%/univention/appcenter/actions/credentials.py", line 184, in _get_ldap_connection raise Abort() Abort Remark: Hallo, ich habe mir nach der fehlerhaften Deinstallation von OpenXchange weitere Pakete deinstalliert. Wenn ich mich auf dem Server direkt anmelde kommt die Fehlermeldung "Esi sit ein schwerer Fehler aufgetreten. Sehen Sie bitte in den Protokolldateien von KDM nach weiteren Informationen oder benachrichtigen Sie Ihren Systemverwalter" ... ;-(((( Ich versuche über die Paketverwaltung (Remotezugriff auf die UMC funktioniert noch, leider nicht mehr der AppCenter) ... Version: 4.1-0 errata1 (Vahr)
Reported again, 4.1-0 errata1 (Vahr) I found a way to reproduce this: Install univention-demo-app on a DC slave. When the dpkg- installation messages occur in the progressbar stop the LDAP server on a DC master. After the installation of the app the UMC session gets renewed. After this the traceback occurs.
Reported again, 4.0-4 errata0 (Vahr) Remark: Fehler tritt auf, nachdem das Updaten von 4.04 auf 4.1.0 durchgeführt und fehlgeschlagen ist. Ich habe wegen verschiedener Fehler den Server manuell neu gestartet und jetzt funktionieren mehrere Komponenten nicht mehr. Unter Anderem die Anmeldung am Samba...
Reported again, 4.1-0 errata44 (Vahr)
Reported again, 4.1-0 errata44 (Vahr) Remark: I have try to install OpenVPN package, installer stop working (I have wait for him like 15-20min.) After that App Center displaying this error msg.
Created attachment 7403 [details] patch @Dirk: Starting point for a patch.
Reported again, 4.1-0 errata56 (Vahr) Remark: Aufruf App Center
Reported again, 4.1-0 errata60 (Vahr)
Reported again, 4.1-0 errata35 (Vahr)
Fixed in univention-appcenter 5.0.19-47.104.201602090155 Improved error_handling, raise better exceptions
This looks way better! YAML: OK Further improvements for the future could be: * HTTP Status = 503 * Close AppCenter frontend on such an error (as it looks especially ugly after the initial failed query). * Abort-Error translations * First-Time-Appcenter-Dialog should not be displayed if LDAP-Server is down * Bug #40629
<http://errata.software-univention.de/ucs/4.1/104.html>
*** Bug 37229 has been marked as a duplicate of this bug. ***