diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 1fd5f09a..c8d7d527 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -41,7 +41,7 @@
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 643, in test_calibre_log - self.assertTrue(" …" in data) -AssertionError: False is not true-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 482, in test_ssl_smtp_setup_error + self.assertTrue(conv) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 69, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 84, 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.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 458, in test_starttls_smtp_setup_error + self.setup_server(False, {'mail_use_ssl':'STARTTLS', 'mail_password':'10234'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 687, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 69, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 84, 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.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 525, in test_user_convert_xss + self.create_user('<p>calibre Quick Start Guide</p><img src=x onerror=alert("jo")>', {'password': '123', + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 973, in create_user + return cls.change_user(config) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1027, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="edit_role"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 69, in tearDown + self.login('admin', 'admin123') + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 84, 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.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 657, in test_title_sort - self.assertEqual(7, len(self.search(' book '))) -AssertionError: 7 != 6-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 269, in test_bookslist_edit_seriesindex + bl = self.get_books_list(-1) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1826, in get_books_list + element_text = "+" if "glyphicon-plus" in click_element.find_elements_by_xpath("./span")[0].get_attribute('class') else "" +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 48, in test_upload_book_lit - self.assertEqual("", self.check_element_on_page((By.ID, "Der Buchtitel"))) -AssertionError: '' != False-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 70, in test_STARTTLS + self.assertTrue(conv) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 87, 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 687, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_STARTTLS.py", line 106, in test_STARTTLS_resend_password + self.create_user('paswd_resend', {'password': '123', 'email': 'a@b.com', 'edit_role': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 973, in create_user + return cls.change_user(config) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1027, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="edit_role"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 111, in test_SSL_None_setup_error + self.assertTrue(conv) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 86, in test_SSL_STARTTLS_setup_error + self.setup_server(False, {'mail_use_ssl':'STARTTLS'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 687, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 126, in test_SSL_logging_email + self.setup_server(True, {'mail_use_ssl': 'SSL/TLS'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 687, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 177, in test_SSL_non_admin_user + self.create_user('ssl_email', {'password': '123', 'email': 'answer@beta.com', 'kindle_mail': 'answer@beta.com', 'download_role': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 973, in create_user + return cls.change_user(config) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1027, in change_user + ele = cls.driver.find_element_by_id(checkbox) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="download_role"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 64, 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 687, in setup_server + select = Select(cls.driver.find_element_by_id(key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id + return self.find_element(by=By.ID, value=id_) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element + return self.execute(Command.FIND_ELEMENT, { + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="mail_use_ssl"]+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 135, in test_email_limit + self.fill_basic_config({'config_uploading': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 355, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 265, 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.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 217, 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_kobo_sync_big.py", line 266, in test_kobo_sync_selected_shelfs + self.inital_sync() + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 144, in inital_sync + self.assertEqual(24, len(data[15])) # 120 new and 4 original books +AssertionError: 24 != 25+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 251, in test_sync_reading_state + self.assertEqual(len(data[1]), 5) # 120 new and 4 original books +AssertionError: 4 != 5+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 618, in test_LDAP_SSL_CERTIFICATE + 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_ldap.py", line 647, in test_LDAP_STARTTLS + self.fill_basic_config({'config_ldap_provider_url': '127.0.0.1', + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 355, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 265, 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.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until + raise TimeoutException(message, screen, stacktrace) +selenium.common.exceptions.TimeoutException: Message:+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 408, in test_LDAP_import + self.assertEqual(len(userlist), 4) +AssertionError: 5 != 4+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 229, in test_LDAP_login + 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_ldap.py", line 766, in test_ldap_authentication + 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_ldap.py", line 1037, in test_ldap_kobo_sync + 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_ldap.py", line 849, in test_ldap_opds_download_book + self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) +AssertionError: False is not true+