diff --git a/cps/tasks_status.py b/cps/tasks_status.py index 49feb67c..268200d4 100644 --- a/cps/tasks_status.py +++ b/cps/tasks_status.py @@ -82,6 +82,7 @@ def render_task_status(tasklist): ret['task_id'] = task.id ret['stat'] = task.stat ret['is_cancellable'] = task.is_cancellable + ret['error'] = task.error rendered_tasklist.append(ret) diff --git a/cps/templates/tasks.html b/cps/templates/tasks.html index 4d645aa5..83d4e804 100644 --- a/cps/templates/tasks.html +++ b/cps/templates/tasks.html @@ -16,6 +16,7 @@
Start Time: 2024-07-18 20:53:44
+Start Time: 2024-08-02 21:21:17
Stop Time: 2024-07-19 03:48:09
+Stop Time: 2024-08-03 04:29:18
Duration: 5h 43 min
+Duration: 5h 53 min
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 702, in test_calibre_log + task_len, ret1 = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 442, in test_convert_only + self.assertEqual(ret[-1]['result'], 'Finished') +IndexError: list index out of range+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 482, in test_email_only + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 224, in test_convert_email + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 254, in test_convert_failed_and_email + select.select_by_visible_text('AZW3') + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/select.py", line 134, in select_by_visible_text + raise NoSuchElementException(f"Could not locate element with visible text: {text}") +selenium.common.exceptions.NoSuchElementException: Message: Could not locate element with visible text: AZW3+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 412, in test_convert_only + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 0+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 450, in test_email_only + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 154, in test_convert_only + self.assertEqual(ret[-1]['result'], 'Finished') +IndexError: list index out of range+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 212, in test_convert_only + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 0+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 62, in test_change_capital_one_author_one_book + self.assertFalse('Leo Baskerville' in os.listdir(SMB_LIB)) +NameError: name 'SMB_LIB' is not defined+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 111, in test_change_capital_one_author_two_books + self.assertFalse('Peter Parker' in os.listdir(SMB_LIB)) +NameError: name 'SMB_LIB' is not defined+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 164, in test_change_capital_one_author_two_books_coauthor + self.assertFalse('Norbert Halagal' in os.listdir(SMB_LIB)) +NameError: name 'SMB_LIB' is not defined+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author.py", line 294, in test_change_capital_rename_co_author + self.assertFalse('Hector Gonçalves' in os.listdir(SMB_LIB)) +NameError: name 'SMB_LIB' is not defined+
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) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2172, in adv_search + ele = self.driver.find_element(By.XPATH, + 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: //input[@value = '-2.5' and starts-with(@id, 'custom_column_8') ]/.. +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 769, in test_edit_custom_int + self.assertEqual(len(self.adv_search({u'custom_column_4': u'0'})), 0) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2172, in adv_search + ele = self.driver.find_element(By.XPATH, + 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: //input[@value = '0' and starts-with(@id, 'custom_column_4') ]/.. +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_email_ssl.py", line 199, in test_SSL_non_admin_user + task_len, ret = self.wait_tasks(tasks, 1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1636, in wait_tasks + self.assertEqual(expected, task_len) +AssertionError: 1 != 0+
Traceback (most recent call last): + 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_email_ssl.py", line 146, 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 +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_email_ssl.py", line 229, 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/test/test_email_ssl.py", line 60, 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+