diff --git a/cps/helper.py b/cps/helper.py index a1d28275..b7d4452f 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -119,9 +119,9 @@ def convert_book_format(book_id, calibre_path, old_book_format, new_book_format, def send_test_mail(ereader_mail, user_name): for email in ereader_mail.split(','): email = email.strip() - WorkerThread.add(user_name, TaskEmail(_('Calibre-Web Test Email', None, None, + WorkerThread.add(user_name, TaskEmail(_('Calibre-Web Test Email'), None, None, config.get_mail_settings(), email, N_("Test Email"), - _('This Email has been sent via Calibre-Web.')))) + _('This Email has been sent via Calibre-Web.'))) return diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 5a75ea1c..042bdb8d 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2024-07-08 03:05:56
+Start Time: 2024-07-09 19:39:05
Stop Time: 2024-07-08 05:05:40
+Stop Time: 2024-07-10 13:56:20
Duration: 54:3 min
+Duration: 17h 7 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 83, in test_backup_all - self.assertEqual(1, len(tasks)) -AssertionError: 1 != 0-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 333, in test_backup_change_book_description - self.assertCountEqual(metadata['description'], "<p><strong>Test</strong></p>") -AssertionError: Element counts were not equal: -First has 0, Second has 4: '<' -First has 0, Second has 2: 'p' -First has 0, Second has 4: '>' -First has 0, Second has 3: 's' -First has 0, Second has 3: 't' -First has 0, Second has 2: 'r' -First has 0, Second has 2: 'o' -First has 0, Second has 2: 'n' -First has 0, Second has 2: 'g' -First has 0, Second has 1: 'T' -First has 0, Second has 1: 'e' -First has 0, Second has 2: '/'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 282, in test_backup_change_book_language - self.assertEqual(metadata['language'], ["en"]) -AssertionError: Lists differ: [] != ['en'] - -Second list contains 1 additional elements. -First extra element 0: -'en' - -- [] -+ ['en']-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 312, in test_backup_change_book_rating - self.assertCountEqual(metadata['rating']['content'], "6") -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 547, in test_backup_change_custom_Comment - custom = json.loads(metadata['custom_8']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 613, in test_backup_change_custom_Enum - custom = json.loads(metadata['custom_6']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 348, in test_backup_change_custom_bool - custom = json.loads(metadata['custom_1']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 577, in test_backup_change_custom_categories - custom = json.loads(metadata['custom_9']['content']) -TypeError: string indices must be integers+ File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 602, in test_backup_change_custom_categories + self.assertEqual(custom["#value#"], None) +AssertionError: ['Kulo', 'Smudo'] != None
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 516, in test_backup_change_custom_date - custom = json.loads(metadata['custom_2']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 385, in test_backup_change_custom_float - custom = json.loads(metadata['custom_5']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 421, in test_backup_change_custom_int - custom = json.loads(metadata['custom_4']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 457, in test_backup_change_custom_rating - custom = json.loads(metadata['custom_3']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 486, in test_backup_change_custom_text - custom = json.loads(metadata['custom_10']['content']) -TypeError: string indices must be integers-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8531600>: 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/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py", line 105, in test_backup_gdrive - self.queue_metadata_backup() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1622, in queue_metadata_backup - self.check_element_on_page((By.ID, "metadata_backup")).click() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57187): Max retries exceeded with url: /session/e58017c0-99bf-4e0c-b225-ad7f6bd8e12e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8531600>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a876bf40>: 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/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py", line 79, in tearDownClass - cls.driver.get("http://127.0.0.1:"+ PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57187): Max retries exceeded with url: /session/e58017c0-99bf-4e0c-b225-ad7f6bd8e12e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a876bf40>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 35, in setUpClass - shutil.copytree(os.path.join(base_path, 'Calibre_db'), TEST_DB) - File "/usr/lib/python3.10/shutil.py", line 559, in copytree - return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, - File "/usr/lib/python3.10/shutil.py", line 457, in _copytree - os.makedirs(dst, exist_ok=dirs_exist_ok) - File "/usr/lib/python3.10/os.py", line 225, in makedirs - mkdir(name, mode) -FileExistsError: [Errno 17] File exists: '/home/ozzie/Development/Dokumente/tüst db'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85ff130>: 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/ozzie/Development/calibre-web-test/test/test_cover_edit_books.py", line 52, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=33439): Max retries exceeded with url: /session/e9e7a03b-85b9-49ea-9fb8-e4cba9c0fae7/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85ff130>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_delete_database.py", line 36, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a80e03d0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 62, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a80e03d0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15df670>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 53, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15df670>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 48, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 40, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1f79060>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 84, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1f79060>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 39, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 41, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_metadata_scholar.py", line 41, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8557ca0>: 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/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 60, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=47547): Max retries exceeded with url: /session/288b9af0-8813-4223-8868-0601da8f828e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8557ca0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 46, in setUpClass - startup(cls, cls.py_version, {'config_calibre_dir':TEST_DB, - File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 230, in startup - inst.fill_basic_config(config) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 40, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_error_book.py", line 36, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_error_read_column.py", line 39, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a050e3e0>: 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/ozzie/Development/calibre-web-test/test/test_goodreads.py", line 56, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=60941): Max retries exceeded with url: /session/731b36ac-f613-4eb2-b594-feb4df825ba7/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a050e3e0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a80e2110>: 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/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 61, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=50763): Max retries exceeded with url: /session/0735f2c8-08b7-45fe-af68-757864550d5f/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a80e2110>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a02c45e0>: 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/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 67, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=55533): Max retries exceeded with url: /session/590d80ad-4a32-4afb-87c2-ada3174a9939/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a02c45e0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a050d1b0>: 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/ozzie/Development/calibre-web-test/test/test_limiter.py", line 43, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=45551): Max retries exceeded with url: /session/06a32fa1-f3a9-471d-bbeb-02a9d12cc774/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a050d1b0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_list_orders.py", line 39, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_logging.py", line 39, in setUpClass - startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB, 'config_log_level': 'DEBUG'}, port=PORTS[0], index=INDEX, env={"APP_MODE": "test"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 230, in startup - inst.fill_basic_config(config) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_login.py", line 41, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_merge_books_list.py", line 40, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_oauth.py", line 40, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 28, in setUpClass - startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB, 'config_embed_metadata': 0}, - File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 230, in startup - inst.fill_basic_config(config) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a0f0b550>: 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/ozzie/Development/calibre-web-test/test/test_pdf_metadata.py", line 46, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=45773): Max retries exceeded with url: /session/ab579b3d-9197-45bf-b1dd-f1ae060b411c/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a0f0b550>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_pip_install.py", line 35, in setUpClass - shutil.copytree(os.path.join(base_path, 'Calibre_db'), TEST_DB) - File "/usr/lib/python3.10/shutil.py", line 559, in copytree - return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, - File "/usr/lib/python3.10/shutil.py", line 457, in _copytree - os.makedirs(dst, exist_ok=dirs_exist_ok) - File "/usr/lib/python3.10/os.py", line 225, in makedirs - mkdir(name, mode) -FileExistsError: [Errno 17] File exists: '/home/ozzie/Development/Dokumente/tüst db'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 53, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_readonly_db.py", line 43, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 37, in setUpClass - cls.email_server.start() - File "/home/ozzie/Development/calibre-web-test/test/aiosmtpd/controller.py", line 88, in start - raise self._thread_exception - File "/home/ozzie/Development/calibre-web-test/test/aiosmtpd/controller.py", line 65, in _run - self.server = self.loop.run_until_complete( - File "/opt/pycharm/plugins/python/helpers-pro/pydevd_asyncio/pydevd_nest_asyncio.py", line 243, in run_until_complete - return f.result() - File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result - raise self._exception.with_traceback(self._exception_tb) - File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step - result = coro.send(None) - File "/usr/lib/python3.10/asyncio/base_events.py", line 1519, in create_server - raise OSError(err.errno, 'error while attempting ' -OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 1025): address already in use-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a10dc370>: 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/ozzie/Development/calibre-web-test/test/test_reverse_proxy.py", line 48, in tearDownClass - cls.driver.get('http://' + get_Host_IP() + ':' + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=47229): Max retries exceeded with url: /session/0b3c3cd3-f254-4f82-8369-a4cf6546d15b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a10dc370>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a852afb0>: 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/ozzie/Development/calibre-web-test/test/test_shelf.py", line 42, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=42655): Max retries exceeded with url: /session/1b1d390f-5f36-42b3-9166-7cbea864595c/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a852afb0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_socket.py", line 37, in setUpClass - shutil.copytree('./Calibre_db', TEST_DB) - File "/usr/lib/python3.10/shutil.py", line 559, in copytree - return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, - File "/usr/lib/python3.10/shutil.py", line 457, in _copytree - os.makedirs(dst, exist_ok=dirs_exist_ok) - File "/usr/lib/python3.10/os.py", line 225, in makedirs - mkdir(name, mode) -FileExistsError: [Errno 17] File exists: '/home/ozzie/Development/Dokumente/tüst db'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 48, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_systemd_activation.py", line 32, in setUpClass - shutil.copytree('./Calibre_db', TEST_DB) - File "/usr/lib/python3.10/shutil.py", line 559, in copytree - return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, - File "/usr/lib/python3.10/shutil.py", line 457, in _copytree - os.makedirs(dst, exist_ok=dirs_exist_ok) - File "/usr/lib/python3.10/os.py", line 225, in makedirs - mkdir(name, mode) -FileExistsError: [Errno 17] File exists: '/home/ozzie/Development/Dokumente/tüst db'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e3f280>: 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/ozzie/Development/calibre-web-test/test/test_thumbnail_env.py", line 52, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=60141): Max retries exceeded with url: /session/5991f326-3374-4199-8cc8-93378574f491/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e3f280>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8563b20>: 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/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 52, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43431): Max retries exceeded with url: /session/fdc2610f-4f10-4d64-87ed-d230a31dbc9b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8563b20>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/server.py", line 46, in __init__ - super().__init__( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/net/tcp.py", line 593, in __init__ - self.socket.bind(self.address) -socket.gaierror: [Errno -9] Address family for hostname not supported - -The above exception was the direct cause of the following exception: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 35, in setUpClass - cls.proxy = Proxy() - File "/home/ozzie/Development/calibre-web-test/test/helper_proxy.py", line 307, in __init__ - self.m.server = proxy.server.ProxyServer(pconf) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/server.py", line 54, in __init__ - raise exceptions.ServerException( -mitmproxy.exceptions.ServerException: Error starting proxy server: gaierror(-9, 'Address family for hostname not supported')-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a827b730>: 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/ozzie/Development/calibre-web-test/test/test_upload_epubs.py", line 43, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=41233): Max retries exceeded with url: /session/03b4eb01-179e-4743-b172-0972ae7701bd/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a827b730>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85fed40>: 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/ozzie/Development/calibre-web-test/test/test_user_list.py", line 70, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=55745): Max retries exceeded with url: /session/4680c662-f0e2-4f5b-b41f-d3e50baf24dc/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85fed40>: 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85fffa0>: 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/ozzie/Development/calibre-web-test/test/test_user_list.py", line 72, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=55745): Max retries exceeded with url: /session/4680c662-f0e2-4f5b-b41f-d3e50baf24dc/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85fffa0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8229b40>: 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/ozzie/Development/calibre-web-test/test/test_user_load.py", line 78, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=37005): Max retries exceeded with url: /session/6be8f4a2-af09-430c-a2d2-3fc30eac69d7/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8229b40>: 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8595150>: 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/ozzie/Development/calibre-web-test/test/test_user_load.py", line 80, in tearDownClass - cls.driver.get("http://127.0.0.1:" + PORTS[0]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=37005): Max retries exceeded with url: /session/6be8f4a2-af09-430c-a2d2-3fc30eac69d7/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8595150>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_user_template.py", line 35, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_visiblilitys.py", line 39, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 480, in stop_calibre_web - cls.driver.find_element(By.ID, 'admin_stop').click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_stop"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 201, in test_cli_gdrive_folder - self.start_cw(os.path.join(CALIBRE_WEB_PATH + INDEX, u'cps.py'), gdrive_dir) - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in start_cw - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 182, in test_cli_gdrive_location - self.start_cw(os.path.join(CALIBRE_WEB_PATH + INDEX, u'cps.py'), os.path.join(gdrive_dir, u'gü dr.app')) - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in start_cw - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 150, in test_gdrive_db_nonwrite - self.start_cw(os.path.join(CALIBRE_WEB_PATH + INDEX, u'cps.py')) - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in start_cw - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 230, in test_no_database - self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) -AssertionError: False is not true - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 237, in test_no_database - self.assertFalse(True, "Inital config failed with normal database") -AssertionError: True is not false : Inital config failed with normal database-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8291ba0>: 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/ozzie/Development/calibre-web-test/test/test_cover_edit_books.py", line 120, in test_invalid_jpg_hdd - self.check_invalid_cover(invalid_cover) - File "/home/ozzie/Development/calibre-web-test/test/test_cover_edit_books.py", line 60, in check_invalid_cover - self.get_book_details(9) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=33439): Max retries exceeded with url: /session/e9e7a03b-85b9-49ea-9fb8-e4cba9c0fae7/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8291ba0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85fdc00>: 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/ozzie/Development/calibre-web-test/test/test_cover_edit_books.py", line 69, in test_upload_jpg - self.get_book_details(8) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=33439): Max retries exceeded with url: /session/e9e7a03b-85b9-49ea-9fb8-e4cba9c0fae7/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85fdc00>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_delete_database.py", line 43, in test_delete_books_in_database - self.delete_book(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1840, in delete_book - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82a8c40>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 656, in test_calibre_log self.fill_basic_config({'config_log_level': 'DEBUG'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config cls._fill_basic_config(elements) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82a8c40>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82a9720>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82a9720>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 77, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 91, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a825dff0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 82, in test_convert_deactivate self.fill_basic_config({'config_binariesdir': ""}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config cls._fill_basic_config(elements) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a825dff0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a825d9f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a825d9f0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 77, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 91, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a825c2b0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 205, in test_convert_email self.setup_server(True, {'mail_password_e': '10234', 'mail_use_ssl': 'None'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server select = Select(cls.driver.find_element(By.ID, key)) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a825c2b0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85fda80>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85fda80>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 77, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 91, in login + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "username"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a825c520>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 288, in test_convert_failed_and_email - vals = self.get_convert_book(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a825c520>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 299, in test_convert_failed_and_email + task_len, ret = self.check_tasks(tasks) +ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a825e2f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a825e2f0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a822a140>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 354, in test_convert_only - vals = self.get_convert_book(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a822a140>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82281c0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82281c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8229c90>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 616, in test_convert_options - vals = self.get_convert_book(3) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8229c90>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 646, in test_convert_options + self.assertEqual(from_book, set(['-- select an option --', "TXT"])) +AssertionError: Items in the first set but not the second: +'AZW3'
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82a9c90>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82a9c90>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8228910>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 171, in test_convert_parameter - self.fill_basic_config({'config_calibre': '--margin-right 11.9'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8228910>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a822b0d0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a822b0d0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 480, in test_email_only + task_len, ret = self.check_tasks(tasks) +ValueError: too many values to unpack (expected 2)
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82f1990>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 99, in test_convert_wrong_excecutable - self.fill_basic_config({'config_binariesdir':'/opt/calibree/ebook-polish'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82f1990>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82f0130>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82f0130>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824a1d0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 554, in test_convert_xss - self.edit_book(11, content={'book_title': u'<p>calibre Quick Start Guide</p><img src=x onerror=alert("hoho")>'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824a1d0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824b010>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824b010>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824a2c0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 493, in test_email_failed - self.setup_server(False, {'mail_password_e': '10234'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 732, in setup_server - ele = cls.driver.find_element(By.ID, key) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824a2c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a82f3f70>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a82f3f70>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824a260>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 472, in test_email_only - self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password_e': '10234'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server - select = Select(cls.driver.find_element(By.ID, key)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824a260>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824a500>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824a500>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824be20>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 273, in test_kindle_send_not_configured - self.create_user('kindle', {'password': '123AbC*!', 'email': 'da@b.com', 'edit_role':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1013, in create_user - return cls.change_user(config) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1067, in change_user - ele = cls.driver.find_element(By.ID, checkbox) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824be20>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a824b2b0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a824b2b0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8562f20>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 535, in test_ssl_smtp_setup_error - self.setup_server(False, {'mail_use_ssl':'SSL/TLS', 'mail_password_e':'10234'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server - select = Select(cls.driver.find_element(By.ID, key)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8562f20>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8561b10>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8561b10>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8563880>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 515, in test_starttls_smtp_setup_error - self.setup_server(False, {'mail_use_ssl':'STARTTLS', 'mail_password_e':'10234'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server - select = Select(cls.driver.find_element(By.ID, key)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8563880>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8562e60>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8562e60>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8563640>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 582, in test_user_convert_xss - self.create_user('<p>calibre Quick Start Guide</p><img src=x onerror=alert("jo")>', {'password': '123AbC*!', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1013, in create_user - return cls.change_user(config) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1067, in change_user - ele = cls.driver.find_element(By.ID, checkbox) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8563640>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8561870>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 75, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=57705): Max retries exceeded with url: /session/d6b428ab-54fd-47b3-ba5a-1d717f20f26e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8561870>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1d65f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 196, in test_convert_email self.setup_server(True, {'mail_password_e': '10234', 'mail_use_ssl': 'None'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server select = Select(cls.driver.find_element(By.ID, key)) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1d65f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1fa860>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7013,7 +1310,31 @@ AttributeError: 'NoneType' object has no attribute 'find_element' value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1fa860>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1e57b0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 247, in test_convert_failed_and_email vals = self.get_convert_book(1) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book cls.driver.get(root_url + "/admin/book/"+str(id)) -AttributeError: 'NoneType' object has no attribute 'get'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1e57b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1e5ba0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7081,7 +1498,31 @@ AttributeError: 'NoneType' object has no attribute 'get'value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element' + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1e5ba0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1c7af0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 318, in test_convert_only vals = self.get_convert_book(7) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book cls.driver.get(root_url + "/admin/book/"+str(id)) -AttributeError: 'NoneType' object has no attribute 'get'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1c7af0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1c6f50>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7149,7 +1686,31 @@ AttributeError: 'NoneType' object has no attribute 'get'value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element' + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1c6f50>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eb3ea40a0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 154, in test_convert_parameter self.fill_basic_config({'config_calibre': '--margin-right 11.9'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config @@ -7186,7 +1783,31 @@ AttributeError: 'NoneType' object has no attribute 'find_element' value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eb3ea40a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eb3ea7010>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7223,7 +1880,31 @@ AttributeError: 'NoneType' object has no attribute 'find_element' value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eb3ea7010>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eb3e6ff10>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 459, in test_email_failed self.setup_server(False, {'mail_password_e': '10234'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 732, in setup_server ele = cls.driver.find_element(By.ID, key) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eb3e6ff10>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca4d7a30>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7291,7 +2068,31 @@ AttributeError: 'NoneType' object has no attribute 'find_element' value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca4d7a30>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca4d47f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 435, in test_email_only self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password_e': '10234'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server select = Select(cls.driver.find_element(By.ID, key)) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca4d47f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca2ed9f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7359,7 +2256,31 @@ AttributeError: 'NoneType' object has no attribute 'find_element' value = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element'+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca2ed9f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request + conn.request(method, url, **httplib_request_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7c3eca1f9960>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 142, in tearDown if not self.check_user_logged_in('admin'): File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in @@ -7425,7 +2382,31 @@ AssertionError: False is not truevalue = method(self._driver) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate return driver.find_element(*locator) -AttributeError: 'NoneType' object has no attribute 'find_element' + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body + return self.urlopen(method, url, **extra_kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment + raise MaxRetryError(_pool, url, error or ResponseError(cause)) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=48079): Max retries exceeded with url: /session/29e5f0e0-bc11-40b7-865a-c30961a0504e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7c3eca1f9960>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e16620>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 67, in test_convert_deactivate - self.fill_basic_config({'config_kepubifypath': ""}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e16620>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e168f0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 61, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e168f0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e08ca0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 117, in test_convert_only - vals = self.get_convert_book(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e08ca0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e08cd0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 61, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e08cd0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1ff2620>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 83, in test_convert_wrong_excecutable - self.fill_basic_config({'config_kepubifypath':'/opt/kepubify/ebook-polish'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1ff2620>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1ff19c0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 61, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=43761): Max retries exceeded with url: /session/380cd91b-0191-4f72-8328-dc4f546449a1/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1ff19c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15dc970>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 116, in test_convert_deactivate - self.fill_basic_config({'config_kepubifypath': ""}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15dc970>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15ddcf0>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 109, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15ddcf0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15ddc00>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 164, in test_convert_only - vals = self.get_convert_book(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15ddc00>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15dca90>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 109, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15dca90>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1418100>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 131, in test_convert_wrong_excecutable - self.fill_basic_config({'config_kepubifypath':'/opt/kepubify/ebook-polish'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1418100>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15de710>: 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/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 109, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in - user_element = cls.check_element_on_page((By.ID, "top_user")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=44395): Max retries exceeded with url: /session/53e42e7b-abca-4626-8f81-b6a3396fb86b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15de710>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a14186d0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 68, in test_cbz_comicinfo - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a14186d0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1ff21a0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 260, in test_change_upload_formats - self.fill_basic_config({'config_uploading': 1, 'config_upload_formats': 'epub'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1ff21a0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1ff2f20>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 326, in test_delete_book - self.get_book_details(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1ff2f20>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e2b160>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 755, in test_delete_role - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e2b160>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e29660>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 916, in test_details_popup - books = self.get_books_displayed() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1229, in get_books_displayed - html = cls.driver.page_source - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 541, in page_source - return self.execute(Command.GET_PAGE_SOURCE)["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 74, in request - return self.request_encode_url( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 96, in request_encode_url - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/source (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e29660>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d0190>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 459, in test_edit_book_identifier - reference_length = len(self.get_book_details(9)['identifier']) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d0190>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d15d0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 598, in test_edit_book_identifier_capital - reference_length = len(self.get_book_details(13)['identifier']) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d15d0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d0070>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 611, in test_edit_book_identifier_standard - reference_length = len(self.get_book_details(4)['identifier']) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d0070>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d0fd0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 562, in test_edit_special_book_identifier - reference_length = len(self.get_book_details(3)['identifier']) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1464, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d0fd0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d37f0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 819, in test_title_sort - self.assertEqual(7, len(self.search(' book '))) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2059, in search - field = self.check_element_on_page((By.ID, "query")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, in check_element_on_page - el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d37f0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a141be50>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 106, in test_upload_cbz_coverformats - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a141be50>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a141b7c0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 671, in test_upload_edit_role - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a141b7c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a141af20>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 235, in test_upload_metadata_cb7 - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a141af20>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1419d80>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 162, in test_upload_metadata_cbr - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1419d80>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d14e0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 203, in test_upload_metadata_cbt - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d14e0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15d2590>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 392, in test_writeonly_path - self.fill_basic_config({'config_rarfile_location': unrar_path(), "config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=34781): Max retries exceeded with url: /session/cd156f43-e422-4198-ba86-60fd199ca51b/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15d2590>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a141b280>: 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send - resp = conn.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a141b280>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 850, in test_xss_comment_edit - login_page = r.get('http://127.0.0.1:{}/login'.format(PORTS[0])) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get - return self.request("GET", url, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request - resp = self.send(prep, **send_kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send - r = adapter.send(request, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/adapters.py", line 519, in send - raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a141b280>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a15defe0>: 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send - resp = conn.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15defe0>: 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/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 871, in test_xss_custom_comment_edit - login_page = r.get('http://127.0.0.1:{}/login'.format(PORTS[0])) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get - return self.request("GET", url, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request - resp = self.send(prep, **send_kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send - r = adapter.send(request, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/adapters.py", line 519, in send - raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8083): Max retries exceeded with url: /login (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a15defe0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1185, in test_download_book - self.assertEqual(len(list_element), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 186, in test_edit_author - self.fill_basic_config({"config_unicode_filename":1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 333, in test_edit_category - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 495, in test_edit_comments - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 508, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 605, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 586, in test_edit_custom_comment - self.assertEqual(len(self.adv_search({u'custom_column_5': u'人1 Ä'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 656, in test_edit_custom_date - self.assertEqual(len(self.adv_search({u'custom_column_2_start': u'16/7/2015'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 624, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 640, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 523, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 549, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 567, 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/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 441, in test_edit_language - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 390, in test_edit_publisher - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 681, in test_edit_publishing_date - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 469, in test_edit_rating - self.assertEqual(1, len(books[1])) -AssertionError: 1 != 0-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 256, in test_edit_series - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 78, in test_edit_title - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 767, in test_typeahead_author - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 711, in test_typeahead_language - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 815, in test_typeahead_publisher - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 744, in test_typeahead_series - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 792, in test_typeahead_tag - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1157, in test_upload_book_cb7 - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1131, in test_upload_book_cbr - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1053, in test_upload_book_cbt - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1026, in test_upload_book_cbz - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 986, in test_upload_book_epub - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 905, in test_upload_book_fb2 - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 932, in test_upload_book_lit - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 959, in test_upload_book_mobi - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 877, in test_upload_book_pdf - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 1081, in test_upload_cbz_coverformats - original_cover = self.check_element_on_page((By.ID, "detailcover")).screenshot_as_png -AttributeError: 'bool' object has no attribute 'screenshot_as_png'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 833, in test_upload_cover_hdd - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 205, in test_change_capital_co_author - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Frodo Beutlin/Der Buchtitel (1)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 48, in test_change_capital_one_author_one_book - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Leo Baskerville/book8 (8)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 94, in test_change_capital_one_author_two_books - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Peter Parker/book7 (10)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 151, in test_change_capital_one_author_two_books_coauthor - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Norbert Halagal/book11 (13)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 249, in test_change_capital_rename_co_author - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Frodo Beutlin/Der Buchtitel (1)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 341, in test_change_capital_rename_two_co_authors - self.assertTrue(os.path.isfile(os.path.join(TEST_DB, 'Asterix Lionherd/comicdemo (3)', -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 488, in test_rename_author_accent_onupload - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 421, in test_rename_capital_on_upload - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e0add0>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 307, in test_change_capital_co_author - self.edit_book(1, content={'bookAuthor': "Frodo Beutlin & Norbert Halagal & Liu yang & Hector Gonçalves"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e0add0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a866f730>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 116, in test_change_capital_one_author_one_book - self.edit_book(8, content={'bookAuthor': "Leo baskerville"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a866f730>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e159c0>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 173, in test_change_capital_one_author_two_books - self.edit_book(10, content={'bookAuthor': "Peter parker"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e159c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a80e17e0>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 243, in test_change_capital_one_author_two_books_coauthor - self.edit_book(13, content={'bookAuthor': "Norbert halagal"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a80e17e0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a866d9c0>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 361, in test_change_capital_rename_co_author - self.edit_book(1, content={'bookAuthor': "Frodo Beutlin & Norbert Halagal & Liu Yang & hector Gonçalves"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a866d9c0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a866e350>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 466, in test_change_capital_rename_two_co_authors - self.edit_book(3, content={'bookAuthor': "Asterix Lionherd & Liu Yang"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1713, in edit_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a866e350>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1f7b1f0>: 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/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 544, in test_rename_capital_on_upload - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=46305): Max retries exceeded with url: /session/ec4a93e8-6f1c-48be-8fe9-a43cec776e2e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1f7b1f0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/models.py", line 971, in json - return complexjson.loads(self.text, **kwargs) - File "/usr/lib/python3.10/json/__init__.py", line 346, in loads - return _default_decoder.decode(s) - File "/usr/lib/python3.10/json/decoder.py", line 337, in decode - obj, end = self.raw_decode(s, idx=_w(s, 0).end()) - File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode - raise JSONDecodeError("Expecting value", s, err.value) from None -json.decoder.JSONDecodeError: Expecting value: line 3 column 1 (char 2) - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 503, in test_booklist_xss - self.assertEqual("<a>Hello</a>", response.json()['newValue']) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/requests/models.py", line 975, in json - raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) -requests.exceptions.JSONDecodeError: Expecting value: line 3 column 1 (char 2)-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 105, in test_bookslist_edit_author - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 146, in test_bookslist_edit_categories - self.assertEqual("+", bl['table'][0]['Categories']['text']) -TypeError: 'bool' object is not subscriptable-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 478, in test_bookslist_edit_comment - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 378, in test_bookslist_edit_cust_category - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 463, in test_bookslist_edit_cust_comment - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 406, in test_bookslist_edit_cust_enum - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 363, in test_bookslist_edit_cust_float - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 348, in test_bookslist_edit_cust_int - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 420, in test_bookslist_edit_cust_ratings - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 435, in test_bookslist_edit_cust_text - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 222, in test_bookslist_edit_languages - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 201, in test_bookslist_edit_publisher - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 179, in test_bookslist_edit_series - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 252, in test_bookslist_edit_seriesindex - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 79, in test_bookslist_edit_title - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 296, in test_list_visibility - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 334, in test_restricted_rights - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 56, in test_search_books_list - bl = self.get_books_list(1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1893, in get_books_list - if header[cnt].text == "": -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 50, in test_load_metadata - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 90, in test_load_metadata + elif 'https://amazon.com/' == results[20]['source']: +IndexError: list index out of range
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 890, in test_download_book - self.assertEqual(len(list_element), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 301, in test_edit_author - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 490, in test_edit_category - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 655, in test_edit_comments - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 669, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 736, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 753, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 769, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 684, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 703, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 719, 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/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 597, in test_edit_language - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 543, in test_edit_publisher - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 627, in test_edit_rating - self.assertEqual(1, len(books[1])) -AssertionError: 1 != 0-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 423, in test_edit_series - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 127, in test_edit_title - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 832, in test_upload_book_lit - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 927, in test_watch_metadata - self.assertTrue(self.check_element_on_page((By.ID, "config_google_drive_watch_changes_response"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_metadata_scholar.py", line 49, in test_load_metadata - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a86156f0>: 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/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 73, in test_STARTTLS self.setup_server(False, {'mail_use_ssl': 'STARTTLS'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server select = Select(cls.driver.find_element(By.ID, key)) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=47547): Max retries exceeded with url: /session/288b9af0-8813-4223-8868-0601da8f828e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a86156f0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a85567a0>: 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/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 97, in test_STARTTLS_SSL_setup_error self.setup_server(False, {'mail_use_ssl':'SSL/TLS'}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server select = Select(cls.driver.find_element(By.ID, key)) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=47547): Max retries exceeded with url: /session/288b9af0-8813-4223-8868-0601da8f828e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a85567a0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8555bd0>: 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/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 116, in test_STARTTLS_resend_password self.create_user('paswd_resend', {'password': '123AbC*!', 'email': 'a@b.com', 'edit_role': 1}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1013, in create_user @@ -14043,141 +3832,11 @@ Traceback (most recent call last): ele = cls.driver.find_element(By.ID, checkbox) File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=47547): Max retries exceeded with url: /session/288b9af0-8813-4223-8868-0601da8f828e/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8555bd0>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 123, in test_convert_file_embed_metadata - select = Select(vals['btn_from']) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/select.py", line 35, in __init__ - if webelement.tag_name.lower() != "select": -AttributeError: 'bool' object has no attribute 'tag_name'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 151, in test_convert_kepub_embed_metadata - select = Select(vals['btn_from']) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/select.py", line 35, in __init__ - if webelement.tag_name.lower() != "select": -AttributeError: 'bool' object has no attribute 'tag_name'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 48, in test_download_check_metadata - self.fill_basic_config({'config_binariesdir': ''}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="edit_role"] Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 @@ -14191,10 +3850,72 @@ dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 138, in test_SSL_logging_email + self.assertTrue(len(re.findall('Subject: Calibre-Web Test Email', data)), "Email logging not working") +AssertionError: 0 is not true : Email logging not working+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 176, in test_download_kepub_embed_metadata - self.fill_basic_config({'config_embed_metadata': 0}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 185, in test_SSL_non_admin_user + self.create_user('ssl_email', {'password': '123AbC*!', 'email': 'answer@beta.com', 'kindle_mail': 'answer@beta.com', 'download_role': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1013, in create_user + return cls.change_user(config) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1067, in change_user + ele = cls.driver.find_element(By.ID, checkbox) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="download_role"] Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 @@ -14234,7 +3959,7 @@ dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 96, in test_download_permissions_missing_file - rights = os.stat(txt_path).st_mode & 0o777 -FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/Der Buchtitel - Frodo Beutlin.txt'+ File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 72, in test_SSL_only + self.setup_server(False, {'mail_use_ssl': 'SSL/TLS'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server + select = Select(cls.driver.find_element(By.ID, key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 229, in test_email_epub_embed_metadata - self.setup_server(False, {'mail_server': '127.0.0.1', 'mail_port': PORTS[1], - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server - select = Select(cls.driver.find_element(By.ID, key)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"] + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 143, in test_email_limit + self.fill_basic_config({'config_uploading': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message: Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 @@ -14302,586 +4038,229 @@ dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 225, in test_filepicker_two_file + accordions[0].click() +IndexError: list index out of range+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a068a710>: 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/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 161, in test_convert_file_embed_metadata - vals = self.get_convert_book(12) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=52055): Max retries exceeded with url: /session/19621f0f-3522-442d-be37-40223851d926/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a068a710>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a1e2bf10>: 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/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 192, in test_convert_kepub_embed_metadata - vals = self.get_convert_book(9) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2041, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=52055): Max retries exceeded with url: /session/19621f0f-3522-442d-be37-40223851d926/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a1e2bf10>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a8528700>: 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/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 113, in test_download_check_metadata - self.fill_basic_config({'config_binariesdir': ''}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=52055): Max retries exceeded with url: /session/19621f0f-3522-442d-be37-40223851d926/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a8528700>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, 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/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request - conn.request(method, url, **httplib_request_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7a92a0693250>: 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/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 220, in test_download_kepub_embed_metadata - self.fill_basic_config({'config_embed_metadata': 0}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment - raise MaxRetryError(_pool, url, error or ResponseError(cause)) -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=52055): Max retries exceeded with url: /session/19621f0f-3522-442d-be37-40223851d926/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7a92a0693250>: Failed to establish a new connection: [Errno 111] Connection refused'))-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 6487, in visit_create_table - processed = self.process( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 912, in process - return obj._compiler_dispatch(self, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/visitors.py", line 143, in _compiler_dispatch - return meth(self, **kw) # type: ignore # noqa: E501 - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 6518, in visit_create_column - text = self.get_column_specification(column, first_pk=first_pk) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/dialects/sqlite/base.py", line 1558, in get_column_specification - raise exc.CompileError( -sqlalchemy.exc.CompileError: SQLite does not support autoincrement for composite primary keys - -The above exception was the direct cause of the following exception: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_error_book.py", line 43, in test_invalid_book_path - change_book_path(os.path.join(TEST_DB, "metadata.db"), 10) - File "/home/ozzie/Development/calibre-web-test/test/helper_db.py", line 154, in change_book_path - Base.metadata.create_all(engine) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 5828, in create_all - bind._run_ddl_visitor( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3243, in _run_ddl_visitor - conn._run_ddl_visitor(visitorcallable, element, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2447, in _run_ddl_visitor - visitorcallable(self.dialect, self, **kwargs).traverse_single(element) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/visitors.py", line 671, in traverse_single - return meth(obj, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/ddl.py", line 919, in visit_metadata - self.traverse_single( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/visitors.py", line 671, in traverse_single - return meth(obj, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/ddl.py", line 957, in visit_table - )._invoke_with(self.connection) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/ddl.py", line 315, in _invoke_with - return bind.execute(self) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1416, in execute - return meth( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/ddl.py", line 181, in _execute_on_connection - return connection._execute_ddl( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1525, in _execute_ddl - compiled = ddl.compile( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 308, in compile - return self._compiler(dialect, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/ddl.py", line 69, in _compiler - return dialect.ddl_compiler(dialect, self, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 867, in __init__ - self.string = self.process(self.statement, **compile_kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 912, in process - return obj._compiler_dispatch(self, **kwargs) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/visitors.py", line 143, in _compiler_dispatch - return meth(self, **kw) # type: ignore # noqa: E501 - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/sqlalchemy/sql/compiler.py", line 6497, in visit_create_table - raise exc.CompileError( -sqlalchemy.exc.CompileError: (in table 'books_authors_link', column 'id'): SQLite does not support autoincrement for composite primary keys-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_error_read_column.py", line 70, in test_invalid_custom_column - self.fill_view_config({'config_restricted_column': "Custom Text 人物 *'()&"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 425, in fill_view_config - accordions[o].click() -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_error_read_column.py", line 46, in test_invalid_custom_read_column - self.fill_view_config({'config_read_column': "Custom Bool 1 Ä"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 425, in fill_view_config - accordions[o].click() -IndexError: list index out of range-