diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 234297de..6bafbd11 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2024-01-15 19:07:05
+Start Time: 2024-01-17 20:30:42
Stop Time: 2024-01-16 00:20:43
+Stop Time: 2024-01-18 03:25:01
Duration: 4h 41 min
+Duration: 5h 47 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 139, in test_backup_change_book_series_index - self.assertEqual(metadata['series']['content'], "t,st") -AssertionError: 'tEst' != 't,st' -- tEst + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 132, in test_backup_change_book_series_index + self.assertEqual(metadata['series']['content'], "tEst") +AssertionError: 'test' != 'tEst' +- test ? ^ -+ t,st ++ tEst ? ^
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py", line 37, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 36, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 45, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 38, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 38, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 41, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 34, in setUpClass - prepare_gdrive() - File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 31, in prepare_gdrive - fs.removetree('test') - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1320, in removetree - self.remove(_path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 470, in remove - metadata = self._itemFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 262, in _itemFromPath - pathIdMap = self._itemsFromPath(path) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 252, in _itemsFromPath - metadata = self._childByName(parentId, childName) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 225, in _childByName - raise RuntimeError(f'Folder with id {parentId} has more than 1 child with name {childName}') -RuntimeError: Folder with id 1hm1as7vS6yPzUFGWzFAMYQ-SqvhWJ_Df has more than 1 child with name cover.jpg+ 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 0x7fbaf3c23910>: 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 1630, 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 751, 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=36553): Max retries exceeded with url: /session/21a363dd-f6ec-48cc-95a7-772f18f01f8d/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbaf3c23910>: 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 0x7fbaf3c22e90>: 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 78, 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=36553): Max retries exceeded with url: /session/21a363dd-f6ec-48cc-95a7-772f18f01f8d/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbaf3c22e90>: 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 642, in test_logfile - self.assertTrue("Starting Calibre Web..." in lines, lines) -AssertionError: False is not true : [2024-01-15 19:40:42,385] WARN {cps.config_sql:395} invalidating configuration -[2024-01-15 19:40:42,406] INFO {cps:168} *** "google-api-python-client" version does not meet the requirements. Should: <2.108.0, Found: 2.113.0, please consider installing required version *** -[2024-01-15 19:40:42,406] INFO {cps:168} *** "greenlet" version does not meet the requirements. Should: <2.1.0, Found: 3.0.3, please consider installing required version *** -[2024-01-15 19:40:42,406] INFO {cps:168} *** "PyDrive2" version does not meet the requirements. Should: <1.18.0, Found: 1.19.0, please consider installing required version *** -[2024-01-15 19:40:42,406] INFO {cps:168} *** "google-api-python-client" version does not meet the requirements. Should: <2.108.0, Found: 2.113.0, please consider installing required version ***-
ImportError: Failed to import test module: test_cover_edit_books -Traceback (most recent call last): - File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path - module = self._get_module_from_name(name) - File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name - __import__(name) - File "/home/ozzie/Development/calibre-web-test/test/test_cover_edit_books.py", line 14, in <module> - from helper_proxy import Proxy, val - File "/home/ozzie/Development/calibre-web-test/test/helper_proxy.py", line 1, in <module> - from mitmproxy import proxy, options - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/__init__.py", line 1, in <module> - from .config import ProxyConfig - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/config.py", line 9, in <module> - from mitmproxy import options as moptions - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/options.py", line 4, in <module> - from mitmproxy.net import tls - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/net/tls.py", line 43, in <module> - "SSLv2": (SSL.SSLv2_METHOD, BASIC_OPTIONS), -AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv2_METHOD'-
ImportError: Failed to import test module: test_updater -Traceback (most recent call last): - File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path - module = self._get_module_from_name(name) - File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name - __import__(name) - File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 13, in <module> - from helper_proxy import Proxy, val - File "/home/ozzie/Development/calibre-web-test/test/helper_proxy.py", line 1, in <module> - from mitmproxy import proxy, options - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/__init__.py", line 1, in <module> - from .config import ProxyConfig - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/proxy/config.py", line 9, in <module> - from mitmproxy import options as moptions - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/options.py", line 4, in <module> - from mitmproxy.net import tls - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/mitmproxy/net/tls.py", line 43, in <module> - "SSLv2": (SSL.SSLv2_METHOD, BASIC_OPTIONS), -AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv2_METHOD'-