diff --git a/cps/oauth_bb.py b/cps/oauth_bb.py index c579c85e..faa3f8fd 100644 --- a/cps/oauth_bb.py +++ b/cps/oauth_bb.py @@ -42,6 +42,7 @@ except NameError: oauth_check = {} +oauthblueprints = [] oauth = Blueprint('oauth', __name__) log = logger.create() @@ -203,7 +204,6 @@ def unlink_oauth(provider): return redirect(url_for('web.profile')) def generate_oauth_blueprints(): - oauthblueprints = [] if not ub.session.query(ub.OAuthProvider).count(): for provider in ("github", "google"): oauthProvider = ub.OAuthProvider() diff --git a/cps/static/js/main.js b/cps/static/js/main.js index 834b9b30..c1e8f754 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -222,7 +222,7 @@ $(function() { function updateTimer() { $.ajax({ dataType: "json", - url: window.location.pathname + "/get_updater_status", + url: window.location.pathname + "/../../get_updater_status", success: function success(data) { // console.log(data.status); $("#DialogContent").html(updateText[data.status]); diff --git a/cps/ub.py b/cps/ub.py index 2031a597..6cbc0383 100644 --- a/cps/ub.py +++ b/cps/ub.py @@ -31,12 +31,12 @@ from flask_login import AnonymousUserMixin, current_user try: from flask_dance.consumer.backend.sqla import OAuthConsumerMixin oauth_support = True -except ImportError: +except ImportError as e: # fails on flask-dance >1.3, due to renaming try: from flask_dance.consumer.storage.sqla import OAuthConsumerMixin oauth_support = True - except ImportError: + except ImportError as e: oauth_support = False from sqlalchemy import create_engine, exc, exists, event, text from sqlalchemy import Column, ForeignKey diff --git a/requirements.txt b/requirements.txt index ca11eff9..8919afd1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ iso-639>=0.4.5,<0.5.0 PyPDF3>=1.0.0,<1.0.4 pytz>=2016.10 requests>=2.11.1,<2.25.0 -SQLAlchemy>=1.3.0,<1.5.0 +SQLAlchemy>=1.3.0,<1.5.0 # oauth fails on 1.4+ due to import problems in flask_dance tornado>=4.1,<6.2 Wand>=0.4.4,<0.7.0 unidecode>=0.04.19,<1.2.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 7a88f553..71b15e69 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2021-03-22 19:04:38
+Start Time: 2021-03-23 19:05:31
Stop Time: 2021-03-22 21:16:53
+Stop Time: 2021-03-23 21:31:07
Duration: 1h 43 min
+Duration: 1h 57 min
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 431, 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_edit_additional_books.py", line 119, in test_change_upload_formats - self.assertTrue(self.check_element_on_page((By.ID, "flash_alert"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 615, in test_delete_role - self.assertTrue(self.delete_book_format(12, 'FB2')) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 636, in test_title_sort - self.fill_view_config({'config_title_regex': '^(Beta)\s+'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 318, in fill_view_config - accordions[o].click() -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 498, in test_upload_edit_role - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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 53, in test_upload_metadata_cbr - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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 87, in test_upload_metadata_cbt - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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 226, in test_writeonly_path - self.fill_basic_config({'config_rarfile_location': unrar_path()}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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 39, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 373, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - 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="admin_stop"]-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 40, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 373, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - 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="admin_stop"]-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 61, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 373, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - 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="admin_stop"]-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 47, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 375, in stop_calibre_web - element.click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_pdf_metadata.py", line 43, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 373, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - 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="admin_stop"]-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 42, in tearDownClass - cls.stop_calibre_web() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 373, in stop_calibre_web - cls.driver.find_element_by_id('admin_stop').click() - 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="admin_stop"]-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 943, in test_download_book - self.assertEqual(1, len(number_books[1])) -AssertionError: 1 != 0+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 921, in test_download_book + self.assertEqual(len(list_element),1) +AssertionError: 0 != 1
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 204, in test_edit_author - author = self.check_element_on_page((By.ID, "bookAuthor")).get_attribute('value') -AttributeError: 'bool' object has no attribute 'get_attribute'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 310, in test_edit_category - self.assertEqual(u'Gênot', values['tag'][0]) -AssertionError: 'Gênot' != 'Gênot & Peter' -- Gênot -+ Gênot & Peter-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 367, in test_edit_language - self.assertEqual(len(values['languages']), 1) -KeyError: 'languages'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 358, in test_edit_publisher - self.assertEqual(u'Gênot', values['publisher'][0]) -AssertionError: 'Gênot' != 'gênot' -- Gênot -? ^ -+ gênot -? ^-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 262, in test_edit_series - self.assertEqual(u'loko', values['series']) -KeyError: 'series'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 649, in test_typeahead_author - self.assertEqual(details['author'][1], 'Frodo Beutlin') -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 692, in test_typeahead_publisher - self.assertEqual(details['publisher'][0], 'Randomhäus') -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 625, in test_typeahead_series - self.assertEqual(details['series'], 'Djüngel') -KeyError: 'series'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 664, in test_typeahead_tag - self.assertEqual('Gênot', typeahead.text) -AssertionError: 'Gênot' != 'Gênot\nGênot & Peter' -- Gênot -+ Gênot -Gênot & Peter-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 905, in test_upload_book_cbr - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books.py", line 876, in test_upload_book_cbt - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 854, in test_upload_book_cbz - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 833, in test_upload_book_epub - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 767, in test_upload_book_fb2 - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 789, in test_upload_book_lit - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 811, in test_upload_book_mobi - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 745, in test_upload_book_pdf - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_books.py", line 698, in test_upload_cover_hdd - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_ebooks_gdrive.py", line 813, in test_download_book - self.assertEqual(1, len(number_books[1])) -AssertionError: 1 != 0+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 791, in test_download_book + self.assertEqual(len(list_element),1) +AssertionError: 0 != 1
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 322, in test_edit_author - author = self.check_element_on_page((By.ID, "bookAuthor")).get_attribute('value') -AttributeError: 'bool' object has no attribute 'get_attribute'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 457, in test_edit_category - self.assertEqual(u'Gênot', values['tag'][0]) -AssertionError: 'Gênot' != 'Gênot & Peter' -- Gênot -+ Gênot & Peter-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 516, in test_edit_language - self.assertEqual(len(values['languages']), 1) -KeyError: 'languages'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 507, in test_edit_publisher - self.assertEqual(u'Gênot', values['publisher'][0]) -AssertionError: 'Gênot' != 'gênot' -- Gênot -? ^ -+ gênot -? ^-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 408, in test_edit_series - self.assertEqual(u'loko', values['series']) -KeyError: 'series'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 775, in test_upload_book_epub - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 746, in test_upload_book_lit - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_ebooks_gdrive.py", line 697, in test_upload_cover_hdd - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) - 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_ebooks_gdrive.py", line 820, in test_watch_metadata - self.assertTrue(button) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 154, in test_email_limit - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 593, in test_book_download + print(data[0]['NewEntitlement']['BookMetadata']['DownloadUrls'][1]['Url']) +IndexError: list index out of range+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 480, in test_LDAP_import - self.fill_basic_config({'config_ldap_group_object_filter': '(& (objectclass=groupofnames)(cn=%s))', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 276, in fill_initial_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 95, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element could not be scrolled into view-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 263, in test_LDAP_import_memberfield - self.fill_basic_config({'config_ldap_provider_url': '127.0.0.1', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 276, in fill_initial_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 95, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element could not be scrolled into view-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 207, in test_LDAP_login - self.fill_basic_config({'config_ldap_provider_url': '127.0.0.1', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 276, in fill_initial_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 95, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element could not be scrolled into view-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 100, in test_invalid_LDAP - self.fill_basic_config({'config_ldap_provider_url': 'example.org', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 276, in fill_initial_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 95, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element could not be scrolled into view-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 744, in test_ldap_authentication - self.fill_basic_config({'config_ldap_provider_url': '127.0.0.1', - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config - cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 271, in fill_initial_config - select.select_by_visible_text(process_options[key]) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 120, in select_by_visible_text - self._setSelected(opt) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/select.py", line 212, in _setSelected - option.click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 1006, in test_ldap_kobo_sync - self.fill_basic_config({'config_ldap_provider_url': '127.0.0.1', + File "/home/ozzie/Development/calibre-web-test/test/test_ldap.py", line 1040, in test_ldap_kobo_sync + self.fill_basic_config({'config_kobo_sync': 0}) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 285, in fill_basic_config cls.fill_initial_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 276, in fill_initial_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 95, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element could not be scrolled into view+ File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 198, in fill_initial_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_calibre_dir"))) + 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:
ImportError: Failed to import test module: test_opds_feed +Traceback (most recent call last): + File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path + module = self._get_module_from_name(name) + File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name + __import__(name) + File "/home/ozzie/Development/calibre-web-test/test/test_opds_feed.py", line 306 + test_change_upload_formats self.assertEqual(len(entries['elements']), 0) + ^ +SyntaxError: invalid syntax
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_pdf_metadata.py", line 127, in test_upload_invalid_pdf - self.check_uploaded_pdf({'author': "Mani Mücks", - File "/home/ozzie/Development/calibre-web-test/test/test_pdf_metadata.py", line 57, in check_uploaded_pdf - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 228, in test_sound_listener - self.sound_test('music.flac', 'Unknown - music', '0:02') - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 190, in sound_test - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 55, in test_txt_reader - self.assertTrue("txt" in read_button.text) -AttributeError: 'bool' object has no attribute 'text'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_visiblilitys.py", line 795, in test_link_column_to_read_status - self.assertEqual(len(list_element[1]), 1) -AssertionError: 11 != 1+ File "/home/ozzie/Development/calibre-web-test/test/test_user_template.py", line 506, in test_detail_random_user_template + list_element[0].click() +TypeError: 'bool' object is not subscriptable