diff --git a/cps/static/js/main.js b/cps/static/js/main.js old mode 100755 new mode 100644 diff --git a/optional-requirements.txt b/optional-requirements.txt index 4360d221..a0384bcd 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -41,4 +41,4 @@ natsort>=2.2.0,<8.2.0 comicapi>=2.2.0,<2.3.0 # Kobo integration -jsonschema>=3.2.0,<4.5.0 +jsonschema>=3.2.0,<4.6.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 027aaa81..86255e61 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2022-04-30 21:05:13
+Start Time: 2022-05-05 20:48:29
Stop Time: 2022-05-01 02:54:00
+Stop Time: 2022-05-06 02:34:54
Duration: 4h 55 min
+Duration: 4h 53 min
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 605, in test_enable_reconnect + self.driver.get("http://127.0.0.1:8083") + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 437, in get + self.execute(Command.GET, {'url': url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 425, 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 246, in check_response + raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here +selenium.common.exceptions.UnexpectedAlertPresentException: Alert Text: None +Message: Dismissed user prompt dialog: Performing shutdown of server, please close window +Stacktrace: +WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5 +UnexpectedAlertOpenError@chrome://remote/content/shared/webdriver/Errors.jsm:488:5 +GeckoDriver.prototype._handleUserPrompts@chrome://remote/content/marionette/driver.js:2547:13+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 562, in test_no_database + self.assertTrue(database_dir) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 650, in test_writeonly_static_files + self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 197, in test_cli_gdrive_folder + self.start_cw(os.path.join(CALIBRE_WEB_PATH, u'cps.py'), gdrive_dir) + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 142, in start_cw + self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 178, in test_cli_gdrive_location + self.start_cw(os.path.join(CALIBRE_WEB_PATH, u'cps.py'), os.path.join(gdrive_dir, u'gü dr.app')) + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 142, in start_cw + self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in test_gdrive_db_nonwrite + self.start_cw(os.path.join(CALIBRE_WEB_PATH, u'cps.py')) + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 142, in start_cw + self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 226, in test_no_database + self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) +AssertionError: False is not true + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 233, in test_no_database + self.assertFalse(True, "Inital config failed with normal database") +AssertionError: True is not false : Inital config failed with normal database+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 77, in test_convert_deactivate + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 188, in test_convert_email + self.assertEqual(len(details['kindle']), 1) +TypeError: object of type 'NoneType' has no len()+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 232, in test_convert_failed_and_email + self.assertEqual(len(details['kindle']), 1) +TypeError: object of type 'NoneType' has no len()+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 268, in test_convert_only + select = Select(vals['btn_from']) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 36, in __init__ + if webelement.tag_name.lower() != "select": +AttributeError: 'bool' object has no attribute 'tag_name'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 551, in test_convert_options + self.assertEqual(from_book, set(['-- select an option --', "CBR"])) +AssertionError: Items in the second set but not the first: +'CBR' +'-- select an option --'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 154, in test_convert_parameter + select = Select(vals['btn_from']) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 36, in __init__ + if webelement.tag_name.lower() != "select": +AttributeError: 'bool' object has no attribute 'tag_name'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 94, in test_convert_wrong_excecutable + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 508, in test_convert_xss + self.assertEqual(ret[-1]['result'], 'Finished') +AssertionError: 'Failed' != 'Finished' +- Failed ++ Finished+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 401, in test_email_only + self.assertEqual(ret[-1]['result'], 'Finished') +AssertionError: 'Failed' != 'Finished' +- Failed ++ Finished+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 542, in test_user_convert_xss + self.assertEqual(ret[-1]['result'], 'Finished') +AssertionError: 'Failed' != 'Finished' +- Failed ++ Finished+
Traceback (most recent call last): File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 443, in test_thumbnail_cache self.assertEqual(10*2, count_files(thumbnail_cache_path)) -AssertionError: 20 != 0+AssertionError: 20 != 9 @@ -695,13 +1089,13 @@ AssertionError: 20 != 0 -
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 64, in test_convert_deactivate + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 113, in test_convert_only + select = Select(vals['btn_from']) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 36, in __init__ + if webelement.tag_name.lower() != "select": +AttributeError: 'bool' object has no attribute 'tag_name'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 80, in test_convert_wrong_excecutable + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 112, in test_convert_deactivate + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 159, in test_convert_only + select = Select(vals['btn_from']) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 36, in __init__ + if webelement.tag_name.lower() != "select": +AttributeError: 'bool' object has no attribute 'tag_name'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 127, in test_convert_wrong_excecutable + self.assertEqual(element.text, 'not installed') +AttributeError: 'bool' object has no attribute 'text'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 84, in test_load_metadata + elif 'https://amazon.com/' == results[20]['source']: +IndexError: list index out of range+