diff --git a/cps/render_template.py b/cps/render_template.py index fb0b5067..16fdab13 100644 --- a/cps/render_template.py +++ b/cps/render_template.py @@ -104,7 +104,7 @@ def get_readbooks_ids(): readBooks = calibre_db.session.query(db.cc_classes[config.config_read_column])\ .filter(db.cc_classes[config.config_read_column].value == True).all() return frozenset([x.book for x in readBooks]) - except KeyError: + except (KeyError, AttributeError): log.error("Custom Column No.%d is not existing in calibre database", config.config_read_column) return [] diff --git a/cps/web.py b/cps/web.py index 6d993e29..8a52f97a 100644 --- a/cps/web.py +++ b/cps/web.py @@ -616,13 +616,12 @@ def render_read_books(page, are_read, as_xml=False, order=None): db_filter = and_(ub.ReadBook.user_id == int(current_user.id), ub.ReadBook.read_status == ub.ReadBook.STATUS_FINISHED) else: - db_filter = and_(ub.ReadBook.user_id == int(current_user.id), - coalesce(ub.ReadBook.read_status, 0) != ub.ReadBook.STATUS_FINISHED) + db_filter = coalesce(ub.ReadBook.read_status, 0) != ub.ReadBook.STATUS_FINISHED entries, random, pagination = calibre_db.fill_indexpage(page, 0, db.Books, db_filter, order, - ub.ReadBook, db.Books.id==ub.ReadBook.book_id) + ub.ReadBook, db.Books.id == ub.ReadBook.book_id) else: try: if are_read: diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index dde602ab..a2fbfe1a 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2020-12-12 12:19:43
+Start Time: 2021-01-01 20:50:20
Stop Time: 2020-12-12 14:23:09
+Stop Time: 2021-01-02 02:07:39
Duration: 1h 33 min
+Duration: 4h 51 min
Traceback (most recent call last): - 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'+
Not Implemented
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'+
Not implemented
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'+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 270, in test_writeonly_path + self.fill_initial_config(dict(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/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 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.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 + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 38, 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() @@ -911,3734 +878,14 @@ selenium.common.exceptions.NoSuchElementException: Message: Unable to locate ele
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'-
Not Implemented-
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:-
Not implemented-
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_books.py", line 274, in test_edit_series + books[1][0]['ele'].click() +AttributeError: 'bool' object has no attribute 'click'+
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 791, in test_download_book - number_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 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:+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 421, in test_edit_series + books[1][0]['ele'].click() +AttributeError: 'bool' object has no attribute 'click': 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+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_opds_feed.py", line 383, in test_opds_read_unread + self.assertEqual(len(entries['elements']),11) +AssertionError: 0 != 11
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_shelf.py", line 85, in test_private_shelf + self.assertFalse(len(self.list_shelfs())) +AssertionError: 1 is not false+
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_user_template.py", line 552, in test_limit_book_languages + self.assertEqual(int(books[1][0]['id']), 13) +IndexError: list index out of range+
Traceback (most recent call last): - 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+ File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 215, in test_admin_change_visibility_read + self.assertEqual(10, len(books[1])) +AssertionError: 10 != 0
Traceback (most recent call last): + File "/home/matthias/Entwicklung/calibre-web-test/test/test_visiblilitys.py", line 786, in test_link_column_to_read_status + self.assertEqual(len(list_element[1]), 0) +AssertionError: 1 != 0+