diff --git a/cps/admin.py b/cps/admin.py index 0cf087ef..610afa17 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -163,7 +163,7 @@ def queue_metadata_backup(): show_text = {} log.warning("Queuing all books for metadata backup") helper.set_all_metadata_dirty() - show_text['text'] = _('Success! Books queued for Metadata Backup') + show_text['text'] = _('Success! Books queued for Metadata Backup, please check Tasks for result') return json.dumps(show_text) @@ -1940,10 +1940,10 @@ def _delete_user(content): log.info("User {} deleted".format(content.name)) return _("User '%(nick)s' deleted", nick=content.name) else: - log.warning(_("Can't delete Guest User")) + # log.warning(_("Can't delete Guest User")) raise Exception(_("Can't delete Guest User")) else: - log.warning("No admin user remaining, can't delete user") + # log.warning("No admin user remaining, can't delete user") raise Exception(_("No admin user remaining, can't delete user")) @@ -1995,7 +1995,7 @@ def _handle_edit_user(to_save, content, languages, translations, kobo_support): else: content.role &= ~constants.ROLE_ANONYMOUS if to_save.get("password", ""): - content.password = generate_password_hash(helper.valid_password(to_save.get["password"])) + content.password = generate_password_hash(helper.valid_password(to_save.get("password", ""))) new_email = valid_email(to_save.get("email", content.email)) if not new_email: diff --git a/cps/tasks/metadata_backup.py b/cps/tasks/metadata_backup.py index b700b22a..2bb2a06f 100644 --- a/cps/tasks/metadata_backup.py +++ b/cps/tasks/metadata_backup.py @@ -89,7 +89,6 @@ class TaskBackupMetadata(CalibreTask): self.open_metadata(book, custom_columns) else: self.log.error("Book {} not found in database".format(backup.book)) - # self._handleError("Book {} not found in database".format(backup.book)) i += 1 self.progress = (1.0 / count) * i self._handleSuccess() @@ -230,9 +229,8 @@ class TaskBackupMetadata(CalibreTask): try: with open(book_metadata_filepath, 'wb') as f: doc.write(f, xml_declaration=True, encoding='utf-8', pretty_print=True) - except Exception: - # ToDo: Folder not writeable error - pass + except Exception as ex: + raise Exception('Writing Metadata failed with error: {} '.format(ex)) @property def name(self): diff --git a/cps/web.py b/cps/web.py index 2578ed48..528e1db4 100644 --- a/cps/web.py +++ b/cps/web.py @@ -1423,7 +1423,7 @@ def change_profile(kobo_support, local_oauth_check, oauth_status, translations, try: if current_user.role_passwd() or current_user.role_admin(): if to_save.get("password", "") != "": - current_user.password = generate_password_hash(to_save.get("password")) + current_user.password = generate_password_hash(valid_password(to_save.get("password"))) if to_save.get("kindle_mail", current_user.kindle_mail) != current_user.kindle_mail: current_user.kindle_mail = valid_email(to_save.get("kindle_mail")) new_email = valid_email(to_save.get("email", current_user.email)) diff --git a/optional-requirements.txt b/optional-requirements.txt index dabbd08d..85a3d5f0 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -37,7 +37,7 @@ beautifulsoup4>=4.0.1,<4.12.0 cchardet>=2.0.0,<2.2.0 # Comics -natsort>=2.2.0,<8.3.0 +natsort>=2.2.0,<8.4.0 comicapi>=2.2.0,<2.3.0 # Kobo integration diff --git a/requirements.txt b/requirements.txt index 1eaffa38..e6f227be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,9 +7,9 @@ Flask-Principal>=0.3.2,<0.5.1 backports_abc>=0.4 Flask>=1.0.2,<2.3.0 iso-639>=0.4.5,<0.5.0 -PyPDF==3.4.0 +PyPDF==3.6.0 pytz>=2016.10 -requests>=2.11.1,<2.28.0 +requests>=2.11.1,<2.29.0 SQLAlchemy>=1.3.0,<2.0.0 tornado>=4.1,<6.3 Wand>=0.4.4,<0.7.0 @@ -18,4 +18,4 @@ lxml>=3.8.0,<5.0.0 flask-wtf>=0.14.2,<1.2.0 chardet>=3.0.0,<4.1.0 advocate>=1.0.0,<1.1.0 -Flask-Limiter>=2.3.0,<3.3.0 +Flask-Limiter>=2.3.0,<3.4.0 diff --git a/setup.cfg b/setup.cfg index 91acc9f0..9c772414 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,7 +58,7 @@ install_requires = flask-wtf>=0.14.2,<1.2.0 chardet>=3.0.0,<4.1.0 advocate>=1.0.0,<1.1.0 - Flask-Limiter>=2.3.0,<3.2.0 + Flask-Limiter>=2.3.0,<3.3.0 [options.extras_require] diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 06f5a539..2c8c5f9c 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2023-02-15 20:17:44
+Start Time: 2023-03-03 20:00:16
Stop Time: 2023-02-16 02:39:07
+Stop Time: 2023-03-04 02:33:04
Duration: 5h 24 min
+Duration: 5h 37 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 399, in test_guest_change_visibility_category - 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_anonymous.py", line 334, in test_guest_change_visibility_format - 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_anonymous.py", line 276, in test_guest_change_visibility_hot - 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_anonymous.py", line 251, in test_guest_change_visibility_language - 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_anonymous.py", line 314, in test_guest_change_visibility_publisher - 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_anonymous.py", line 229, in test_guest_change_visibility_rated - 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_anonymous.py", line 359, in test_guest_change_visibility_rating - 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_anonymous.py", line 289, in test_guest_change_visibility_series - 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_anonymous.py", line 135, in test_guest_visibility_sidebar - 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/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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b7070>: 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 60, in test_convert_deactivate - self.fill_basic_config({'config_kepubifypath': ""}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 398, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 302, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b7070>: 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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b7c10>: 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 54, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 117, 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 750, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b7c10>: 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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b6e90>: 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 110, in test_convert_only - vals = self.get_convert_book(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2029, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b6e90>: 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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b6800>: 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 54, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 117, 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 750, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b6800>: 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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b4ee0>: 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 76, 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 398, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 302, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b4ee0>: 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 1282, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 975, 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 0x7f06543b63b0>: 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 54, in tearDown - if not self.check_user_logged_in('admin'): - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 117, 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 750, 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=53967): Max retries exceeded with url: /session/a6cf14b2-710f-43b1-8b46-f8470a56e22a/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06543b63b0>: 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_ebooks_gdrive.py", line 226, in test_edit_title - self.edit_book(content={'book_title': u'Very long extra super turbo cool title without any issue of displaying including ö utf-8 characters'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1761, in edit_book - ele.send_keys(Keys.DELETE) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 230, in send_keys - self._execute( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute - return self._parent.execute(command, params) - 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.StaleElementReferenceException: Message: The element reference of <input id="book_title" class="form-control" name="book_title" type="text"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:180:5 -StaleElementReferenceError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:461:5 -element.resolveElement@chrome://remote/content/marionette/element.sys.mjs:674:11 -evaluate.fromJSON@chrome://remote/content/marionette/evaluate.sys.mjs:255:31 -evaluate.fromJSON@chrome://remote/content/marionette/evaluate.sys.mjs:263:29 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:74:34+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 231, in test_edit_title + self.assertEqual(ele.text, u'Very long extra super turbo cool title without any issue of displaying including ö utf-8 characters') +AttributeError: 'bool' object has no attribute 'text'
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 900, in test_ldap_opds_download_book - 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_limiter.py", line 124, in test_register_limit - 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_login.py", line 518, in test_login_rename_user - 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_opds_feed.py", line 545, in test_opds_calibre_companion - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 229, in test_opds_language - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 281, in test_opds_publisher - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 207, in test_opds_random - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 417, in test_opds_read_unread - self.assertEqual(len(entries['elements']), 11) -AssertionError: 10 != 11-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 602, in test_opds_search - entries = self.get_opds_feed(r.text) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1202, in get_opds_feed - ret['len'] = key -UnboundLocalError: local variable 'key' referenced before assignment-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 260, in test_opds_series - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 667, in test_opds_shelf_access - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 297, in test_opds_tags - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 422, in test_opds_top_rated - self.assertEqual(200, r.status_code) -AssertionError: 200 != 429-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 450, in test_recently_added - self.assertEqual(len(entries['elements']), 11) -AssertionError: 10 != 11-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 260, in test_illegal_email - self.assertTrue("flash_success" in resp.text) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 95, in test_limit_domain - self.assertEqual(self.register('nocom', 'alfa@com.com'),'flash_success') -AssertionError: 'flash_danger' != 'flash_success' -- flash_danger -+ flash_success-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 65, in test_register_no_server - self.login('admin', 'admin123') - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 90, 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:180:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:392:5 -element.find/</<@chrome://remote/content/marionette/element.sys.mjs:275:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 217, in test_registering_only_email - self.login('admin', 'admin123') - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 90, 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:180:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:392:5 -element.find/</<@chrome://remote/content/marionette/element.sys.mjs:275:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 132, in test_registering_user - self.assertEqual(u'flash_success',self.register(u'u1', 'huj@de.de')) -AssertionError: 'flash_success' != 'flash_danger' -- flash_success -+ flash_danger-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 151, in test_registering_user_fail - self.assertEqual(u'flash_success',self.register(u'udouble', 'huj@de.com')) -AssertionError: 'flash_success' != False-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_register.py", line 169, in test_user_change_password - self.login('admin','admin123') - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 90, 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:180:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:392:5 -element.find/</<@chrome://remote/content/marionette/element.sys.mjs:275:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_shelf.py", line 374, in test_shelf_action_non_shelf_edit_role - 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_shelf.py", line 460, in test_shelf_anonymous - self.check_element_on_page((By.ID, "add-to-shelf")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 831, in test_edit_user_email - 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_user_list.py", line 235, in test_user_list_edit_email - self.assertEqual("muki1al@b.com", ul['table'][1]['Email']['text']) -AssertionError: 'muki1al@b.com' != '1@2.3' -- muki1al@b.com -+ 1@2.3-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 261, in test_user_list_edit_kindle - self.assertEqual("muki1al@b.com", ul['table'][1]['eReader Email']['text']) -AssertionError: 'muki1al@b.com' != 'low@de.de' -- muki1al@b.com -+ low@de.de-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 541, in test_user_list_search - ul = self.check_search(ul, "B.cOm", 10, "Email", "muki1al@b.com") - File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 86, in check_search - self.assertEqual(value, bl['table'][0][column]['text']) -AssertionError: 'muki1al@b.com' != 'muki2al@b.com' -- muki1al@b.com -? ^ -+ muki2al@b.com -? ^-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 556, in test_user_list_sort - self.assertEqual("1al@b.com", ul['table'][0]['Email']['text']) -AssertionError: '1al@b.com' != '1@2.3' -- 1al@b.com -+ 1@2.3-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_zz_helper.py", line 137, in test_random_password - self.assertTrue(helper.generate_random_password()) -TypeError: generate_random_password() missing 1 required positional argument: 'min_length'-