diff --git a/cps.py b/cps.py index 20aa9cac..32e9b43a 100755 --- a/cps.py +++ b/cps.py @@ -41,6 +41,7 @@ from cps.shelf import shelf from cps.admin import admi from cps.gdrive import gdrive from cps.editbooks import editbook +from cps.error_handler import init_errorhandler try: from cps.kobo import kobo, get_kobo_activated @@ -58,14 +59,17 @@ except ImportError: def main(): app = create_app() + + init_errorhandler() + app.register_blueprint(web) app.register_blueprint(opds) app.register_blueprint(jinjia) app.register_blueprint(about) app.register_blueprint(shelf) app.register_blueprint(admi) - if config.config_use_google_drive: - app.register_blueprint(gdrive) + # if config.config_use_google_drive: + app.register_blueprint(gdrive) app.register_blueprint(editbook) if kobo_available: app.register_blueprint(kobo) diff --git a/cps/admin.py b/cps/admin.py index 3f342374..8b3ca247 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -1327,7 +1327,7 @@ def import_ldap_users(): try: new_users = services.ldap.get_group_members(config.config_ldap_group_name) except (services.ldap.LDAPException, TypeError, AttributeError, KeyError) as e: - log.exception(e) + log.debug_or_exception(e) showtext['text'] = _(u'Error: %(ldaperror)s', ldaperror=e) return json.dumps(showtext) if not new_users: @@ -1355,7 +1355,7 @@ def import_ldap_users(): try: user_data = services.ldap.get_object_details(user=user_identifier, query_filter=query_filter) except AttributeError as e: - log.exception(e) + log.debug_or_exception(e) continue if user_data: user_login_field = extract_dynamic_field_from_filter(user, config.config_ldap_user_object) diff --git a/cps/error_handler.py b/cps/error_handler.py index e2e1638f..e9cb601a 100644 --- a/cps/error_handler.py +++ b/cps/error_handler.py @@ -48,20 +48,21 @@ def internal_error(error): instance=config.config_calibre_web_title ), 500 -# http error handling -for ex in default_exceptions: - if ex < 500: - app.register_error_handler(ex, error_http) - elif ex == 500: - app.register_error_handler(ex, internal_error) +def init_errorhandler(): + # http error handling + for ex in default_exceptions: + if ex < 500: + app.register_error_handler(ex, error_http) + elif ex == 500: + app.register_error_handler(ex, internal_error) -if services.ldap: - # Only way of catching the LDAPException upon logging in with LDAP server down - @app.errorhandler(services.ldap.LDAPException) - def handle_exception(e): - log.debug('LDAP server not accessible while trying to login to opds feed') - return error_http(FailedDependency()) + if services.ldap: + # Only way of catching the LDAPException upon logging in with LDAP server down + @app.errorhandler(services.ldap.LDAPException) + def handle_exception(e): + log.debug('LDAP server not accessible while trying to login to opds feed') + return error_http(FailedDependency()) # @app.errorhandler(InvalidRequestError) diff --git a/cps/opds.py b/cps/opds.py index 7689eacd..1ae7010c 100644 --- a/cps/opds.py +++ b/cps/opds.py @@ -28,7 +28,7 @@ from functools import wraps from flask import Blueprint, request, render_template, Response, g, make_response, abort from flask_login import current_user from sqlalchemy.sql.expression import func, text, or_, and_ - +from werkzeug.security import check_password_hash from . import constants, logger, config, db, calibre_db, ub, services, get_locale, isoLanguages from .helper import get_download_link, get_book_cover diff --git a/cps/templates/admin.html b/cps/templates/admin.html index 3fa86722..1ef64157 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -75,7 +75,7 @@ {% endif %} -
+ diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 7b5c881b..dde602ab 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@Start Time: 2020-12-09 15:21:02
+Start Time: 2020-12-12 12:19:43
Stop Time: 2020-12-09 17:53:34
+Stop Time: 2020-12-12 14:23:09
Duration: 1h 57 min
+Duration: 1h 33 min
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_anonymous.py", line 23, in tearDownClass + File "/home/matthias/Entwicklung/calibre-web-test/test/test_anonymous.py", line 27, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_cli.py", line 48, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_cover_edit_books.py", line 47, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_delete_database.py", line 32, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 63, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 124, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify.py", line 48, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 97, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 42, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 43, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books_list.py", line 41, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 105, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_email_STARTTLS.py", line 51, in tearDownClass cls.stop_calibre_web() - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 372, in stop_calibre_web - element.click() - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 370, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=58421): Max retries exceeded with url: /session/887d6e0a-49ab-46f5-be08-276723d66dc1/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_email_ssl.py", line 53, in setUpClass + cls.setup_server(False, {'mail_server':'127.0.0.1', 'mail_port':'1027', + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 614, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.ElementNotInteractableException: Message: Element+selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] +
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_gdrive_setup.py", line 87, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_goodreads.py", line 46, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_kobo_sync.py", line 55, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ldap.py", line 45, in tearDownClass + cls.stop_calibre_web() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 370, in stop_calibre_web + cls.driver.find_element_by_id('admin_stop').click() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"]+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_logging.py", line 39, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_login.py", line 41, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_oauth.py", line 38, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 35, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_reader.py", line 46, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 43, in tearDownClass + cls.login('admin', 'admin123') + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 65, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_shelf.py", line 39, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_updater.py", line 50, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_user_load.py", line 70, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 31, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 35, in tearDownClass + save_logfiles(cls, cls.__name__) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_func.py", line 352, in save_logfiles + inst.assertFalse(result,"Exception in File {}".format(file)) + File "/usr/lib/python3.8/unittest/case.py", line 758, in assertFalse + msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) +AttributeError: 'bool' object has no attribute '_formatMessage'
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_cli.py", line 262, in test_bind_to_single_interface - self.assertTrue(re.findall('Reached error page:\sabout:neterror\?e=connectionFailure', error)) -AssertionError: [] is not true-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_cli.py", line 226, in test_cli_SSL_files - self.driver.get("https://127.0.0.1:8083") -selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=netTimeout&u=https%3A//127.0.0.1%3A8083/&c=UTF-8&d=Der%20Server%20unter%20127.0.0.1%20braucht%20zu%20lange%2C%20um%20eine%20Antwort%20zu%20senden. - - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_cli.py", line 228, in test_cli_SSL_files - self.assertIsNone("Error", "HTTPS Connection could not established with key/cert file") -AssertionError: 'Error' is not None : HTTPS Connection could not established with key/cert file-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_cli.py", line 97, in test_cli_different_settings_database - self.fill_initial_config({'config_calibre_dir': TEST_DB}) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message:-
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 73, in test_convert_deactivate + self.fill_basic_config({'config_converterpath': ""}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 282, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 183, in test_convert_email + self.setup_server(True, {'mail_password': '10234', 'mail_use_ssl':'None'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 614, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 230, in test_convert_failed_and_email + self.setup_server(True, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 619, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 271, in test_convert_only + vals = self.get_convert_book(7) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1550, in get_convert_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 151, in test_convert_parameter + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 89, in test_convert_wrong_excecutable + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 410, in test_email_failed + self.setup_server(False, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 619, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 370, in test_email_only + self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 614, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 209, in test_kindle_send_not_configured + self.create_user('kindle', {'password': '123', 'email': 'da@b.com', 'edit_role':1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 851, in create_user + return cls.change_user(config) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 890, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 455, in test_ssl_smtp_setup_error + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 435, in test_starttls_smtp_setup_error + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert.py", line 66, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=40881): Max retries exceeded with url: /session/8fe512f2-8558-43de-8c26-d2a0a4061b7f/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 176, in test_convert_email + self.setup_server(True, {'mail_password': '10234', 'mail_use_ssl':'None'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 614, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 216, in test_convert_failed_and_email + self.setup_server(True, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 619, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 254, in test_convert_only + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 138, in test_convert_parameter + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 408, in test_email_failed + self.setup_server(False, {'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 619, in setup_server + ele = cls.driver.find_element_by_id(key) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 368, in test_email_only + self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password': '10234'}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 614, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_gdrive.py", line 127, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=46667): Max retries exceeded with url: /session/087b0e50-0716-4851-b4d4-97275a9ae925/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 107, in test_convert_deactivate + self.fill_basic_config({'config_kepubifypath': ""}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 282, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 102, in tearDown + self.login('admin', 'admin123') + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 65, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 89, in test_upload_metadata_cbt - self.assertEqual('Test 执 to', details['title']) -AssertionError: 'Test 执 to' != 'book' -- Test 执 to -+ book-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 885, in test_upload_book_cbt - self.assertEqual('8936', resp.headers['Content-Length']) -AssertionError: '8936' != '19501' -- 8936 -+ 19501-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 863, in test_upload_book_cbz - self.assertEqual('8936', resp.headers['Content-Length']) -AssertionError: '8936' != '19501' -- 8936 -+ 19501-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 706, in test_upload_cover_hdd - self.assertTrue(self.check_element_on_page((By.CLASS_NAME, "alert"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 712, in test_upload_cover_hdd - self.assertTrue(self.check_element_on_page((By.CLASS_NAME, "alert"))) -AssertionError: False is not true+ File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 272, in test_edit_author + self.get_book_details(8) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 429, in test_edit_category + self.get_book_details(12) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 567, in test_edit_comments + self.get_book_details(12) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 579, in test_edit_custom_bool + self.assertEqual(len(self.adv_search({u'custom_column_3': u'Yes'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 648, in test_edit_custom_categories + self.assertEqual(len(self.adv_search({u'custom_column_6': u'人 Ü'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 666, in test_edit_custom_float + self.assertEqual(len(self.adv_search({u'custom_column_8': u'-2.5'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 682, in test_edit_custom_int + self.assertEqual(len(self.adv_search({u'custom_column_4': u'0'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 595, in test_edit_custom_rating + self.assertEqual(len(self.adv_search({u'custom_column_1': u'3'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 615, in test_edit_custom_single_select + self.assertEqual(len(self.adv_search({u'custom_column_9': u'人物'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 631, in test_edit_custom_text + self.assertEqual(len(self.adv_search({u'custom_column_10': u'人 Ä'})), 0) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 512, in test_edit_language + self.get_book_details(3) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 470, in test_edit_publisher + self.get_book_details(7) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 541, in test_edit_rating + books = self.get_books_displayed() + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1020, in get_books_displayed + html = cls.driver.page_source + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 679, in page_source + return self.execute(Command.GET_PAGE_SOURCE)['value'] + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 75, in request + return self.request_encode_url( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 97, in request_encode_url + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/source (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 378, in test_edit_series + self.get_book_details(9) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 122, in test_edit_title + self.get_book_details(4) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1197, in get_book_details + cls.driver.get(root_url + "/book/"+str(id)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get + self.execute(Command.GET, {'url': url}) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/url (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 767, in test_upload_book_epub + self.fill_basic_config({'config_uploading':1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 282, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 746, in test_upload_book_lit + self.fill_basic_config({'config_uploading':1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 282, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 697, in test_upload_cover_hdd + self.fill_basic_config({'config_uploading': 1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 282, in fill_basic_config + cls.fill_initial_config(elements) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 819, in test_watch_metadata + button = self.check_element_on_page((By.ID, "enable_gdrive_watch")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59273): Max retries exceeded with url: /session/4cefd685-1765-41d7-80d3-67420d8fd684/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_email_STARTTLS.py", line 62, in test_STARTTLS + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_email_STARTTLS.py", line 83, in test_STARTTLS_SSL_setup_error + task_len = len(self.check_tasks()) +TypeError: object of type 'bool' has no len()+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_email_STARTTLS.py", line 103, in test_STARTTLS_resend_password + self.create_user('paswd_resend', {'password': '123', 'email': 'a@b.com', 'edit_role': 1}) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 851, in create_user + return cls.change_user(config) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 890, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=58421): Max retries exceeded with url: /session/887d6e0a-49ab-46f5-be08-276723d66dc1/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_gdrive_setup.py", line 153, in test_config_gdrive + self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_ldap.py", line 896, in test_ldap_opds_download_book + self.assertEqual(424, r.status_code) +AssertionError: 424 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_login.py", line 67, in test_login_protected + self.assertEqual(self.fail_access_page("http://127.0.0.1:8083/config"), 2) +AssertionError: 0 != 2+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_login.py", line 375, in test_robots + self.assertEqual(self.fail_access_page("http://127.0.0.1:8083/robots.txt"), 2) +AssertionError: 0 != 2+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 46, in test_opds + self.assertEqual(401, r.status_code) +AssertionError: 401 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 312, in test_opds_author + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 486, in test_opds_calibre_companion + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 459, in test_opds_cover + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 471, in test_opds_download_book + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 292, in test_opds_formats + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 180, in test_opds_guest_user + self.assertEqual(401, r.status_code) +AssertionError: 401 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 206, in test_opds_hot + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 215, in test_opds_language + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 344, in test_opds_non_admin + self.assertEqual(401, r.status_code) +AssertionError: 401 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 260, in test_opds_publisher + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 193, in test_opds_random + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 397, in test_opds_ratings + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 375, in test_opds_read_unread + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 502, in test_opds_search + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 243, in test_opds_series + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 564, in test_opds_shelf_access + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 276, in test_opds_tags + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 388, in test_opds_top_rated + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 452, in test_opds_unicode_user + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 412, in test_recently_added + self.assertEqual(200, r.status_code) +AssertionError: 200 != 500+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 188, in test_forgot_password + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 68, in test_limit_domain + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 58, in test_register_no_server + if not self.check_user_logged_in('admin', True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 204, in test_registering_only_email + if not self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 122, in test_registering_user + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 138, in test_registering_user_fail + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 156, in test_user_change_password + if self.check_user_logged_in('admin',True): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn + conn = connection.create_connection( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection + raise err + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection + sock.connect(sa) +ConnectionRefusedError: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen + httplib_response = self._make_request( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/usr/lib/python3.8/http/client.py", line 1255, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output + self.send(msg) + File "/usr/lib/python3.8/http/client.py", line 950, in send + self.connect() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect + conn = self._new_conn() + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError:+: Failed to establish a new connection: [Errno 111] Connection refused + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_register.py", line 53, in tearDown + if self.check_user_logged_in('admin'): + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 88, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 633, in check_element_on_page + el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 71, in until + value = method(self._driver) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in __call__ + return _find_element(driver, self.locator) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element + return driver.find_element(*by) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute + return self._request(command_info[0], url, body=data) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request + resp = self._conn.request(method, url, body=body, headers=headers) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 79, in request + return self.request_encode_body( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/request.py", line 171, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 336, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen + return self.urlopen( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen + retries = retries.increment( + File "/home/matthias/Entwicklung/calibre-web-test/test/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=41159): Max retries exceeded with url: /session/baac3b36-e2a6-48d5-8114-c27e471a0f82/element (Caused by NewConnectionError(' : Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 936, in test_archive_books - self.assertTrue(self.check_element_on_page((By.ID, "book_title"))) + File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 424, in test_admin_SMTP_Settings + self.assertTrue(submit) AssertionError: False is not true
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 887, in test_authors_max_settings - self.assertEqual(len(list_element[1][10]['author']), 4) -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 829, in test_hide_custom_column - self.edit_book(custom_content={u'Custom Bool 1 Ä': u'No', - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1418, in edit_book - submit.click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 782, in test_link_column_to_read_status - self.edit_book(custom_content={u'Custom Bool 1 Ä': u'No'}) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1418, in edit_book - submit.click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 87, in test_random_books_available - list_element[0].click() -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 679, in test_restrict_columns - self.assertEqual(len(books[1]), 11) -AssertionError: 10 != 11-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 572, in test_restrict_tags - self.assertEqual(len(self.get_books_displayed()[1]), 7) -AssertionError: 6 != 7-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 482, in test_search_order - self.verify_order("search", order=order) - File "/home/matthias/Entwicklung/calibre-web-test/test/helper_ui.py", line 1132, in verify_order - self.assertEqual(book_id, expected_result, "Key sorting order wrong: " + key) -AssertionError: 9 != 12 : Key sorting order wrong: new-
Traceback (most recent call last): - File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 123, in test_user_visibility_sidebar - list_element[0].click() -IndexError: list index out of range-