Created attachment 8834 [details] скриншот Если мы подключены к серверу, при наведении кнопкой мыши на виджет "ОК" окно приложения не разворачиваются. Прикрепил скриншот. Если зайти в settings и удалить сервер из спика то происходит аварийная остановка. Localization loaded: True QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 164, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 80, in create_connection raise err File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 70, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] В соединении отказано During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 605, in urlopen chunked=chunked) File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 359, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 186, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 173, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x9a0a1e0c>: Failed to establish a new connection: [Errno 111] В соединении отказано During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 643, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=262144&limit=0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x9a0a1e0c>: Failed to establish a new connection: [Errno 111] В соединении отказано')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/Nagstamon/Servers/Generic.py", line 1456, in FetchURL response = self.session.get(url, timeout=self.timeout) File "/usr/lib/python3/site-packages/requests/sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=262144&limit=0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x9a0a1e0c>: Failed to establish a new connection: [Errno 111] В соединении отказано')) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1376, resource id: 10513585, major code: 40 (TranslateCoords), minor code: 0 Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must not let any exception whatsoever propagate through Qt code. If that is not possible, in Qt 5 you must at least reimplement QCoreApplication::notify() and catch all exceptions there. Traceback (most recent call last): File "/usr/lib/python3/site-packages/Nagstamon/QUI/__init__.py", line 5288, in delete_server current=self.ui.list_servers.item(row).text()) AttributeError: 'NoneType' object has no attribute 'text' Аварийный останов
Это точно на Сизиф?
Для начала, давайте попробуем http://git.altlinux.org/tasks/268577/ .
Похоже, что nagstamon 3.5.0-alt2.rc1 исправляет первую проблему. Вторая же проблема с падением при удалении сервера имеет место только в том случае, если это единственный сервер в списке. Поэтому считаю не критичной. Предлагаю пожаловаться на неё в апстрим.