diff --git a/cps/helper.py b/cps/helper.py index c162f7ee..03a2d03b 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -493,12 +493,10 @@ def upload_new_file_gdrive(book_id, first_author, renamed_author, title, title_d title_dir + " (" + str(book_id) + ")") book.path = gdrive_path.replace("\\", "/") gd.uploadFileToEbooksFolder(os.path.join(gdrive_path, file_name).replace("\\", "/"), original_filepath) - error |= rename_files_on_change(first_author, renamed_author, localbook=book, gdrive=True) - return error + return rename_files_on_change(first_author, renamed_author, localbook=book, gdrive=True) def update_dir_structure_gdrive(book_id, first_author, renamed_author): - error = False book = calibre_db.get_book(book_id) authordir = book.path.split('/')[0] @@ -513,7 +511,7 @@ def update_dir_structure_gdrive(book_id, first_author, renamed_author): book.path = book.path.split('/')[0] + u'/' + new_titledir gd.updateDatabaseOnEdit(gFile['id'], book.path) # only child folder affected else: - error = _(u'File %(file)s not found on Google Drive', file=book.path) # file not found + return _(u'File %(file)s not found on Google Drive', file=book.path) # file not found if authordir != new_authordir and authordir not in renamed_author: gFile = gd.getFileFromEbooksFolder(os.path.dirname(book.path), new_titledir) @@ -522,12 +520,11 @@ def update_dir_structure_gdrive(book_id, first_author, renamed_author): book.path = new_authordir + u'/' + book.path.split('/')[1] gd.updateDatabaseOnEdit(gFile['id'], book.path) else: - error = _(u'File %(file)s not found on Google Drive', file=authordir) # file not found + return _(u'File %(file)s not found on Google Drive', file=authordir) # file not found # change location in database to new author/title path book.path = os.path.join(new_authordir, new_titledir).replace('\\', '/') - error |= rename_files_on_change(first_author, renamed_author, book, gdrive=True) - return error + return rename_files_on_change(first_author, renamed_author, book, gdrive=True) def move_files_on_change(calibre_path, new_authordir, new_titledir, localbook, db_filename, original_filepath, path): diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index af8cfcd9..c569a45d 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2022-02-05 20:19:09
+Start Time: 2022-02-28 21:38:15
Stop Time: 2022-02-06 00:20:42
+Stop Time: 2022-03-01 01:36:56
Duration: 3h 15 min
+Duration: 3h 14 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 179, in test_cli_gdrive_location - self.fill_db_config({'config_google_drive_folder': 'test'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 254, in fill_db_config - 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 1244, 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 424, 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 247, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_google_drive_folder"] -Stacktrace: -WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:395:5 -element.find/</<@chrome://remote/content/marionette/element.js:300:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 144, in test_gdrive_db_nonwrite - self.fill_db_config({'config_use_google_drive': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 250, in fill_db_config - ele.click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 81, 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 710, 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 424, 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 247, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.ElementClickInterceptedException: Message: Element <input id="config_use_google_drive" name="config_use_google_drive" type="checkbox"> is not clickable at point (473,225) because another element <div id="GeneralChangeModal" class="modal fade in"> obscures it -Stacktrace: -WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5 -ElementClickInterceptedError@chrome://remote/content/shared/webdriver/Errors.jsm:282:5 -webdriverClickElement@chrome://remote/content/marionette/interaction.js:166:11 -interaction.clickElement@chrome://remote/content/marionette/interaction.js:125:11 -clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:203:24 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:91:31-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 544, in test_rename_capital_on_upload - self.check_element_on_page((By.ID, 'edit_cancel')).click() -AttributeError: 'bool' object has no attribute 'click'+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 579, in test_rename_capital_on_upload + self.assertEqual('Useless', details['title']) +KeyError: 'title'
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 877, in test_download_book - self.assertEqual(len(list_element), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cee201a90>: 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_edit_ebooks_gdrive.py", line 291, in test_edit_author - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 358, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 268, 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 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cee201a90>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 392, in test_edit_author + self.assertEqual(values['author'][0], 'Pipo, Pipe') +IndexError: list index out of range
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cee4aa5e0>: 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_edit_ebooks_gdrive.py", line 471, in test_edit_category - self.get_book_details(12) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1402, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 436, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cee4aa5e0>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec42c520>: 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_edit_ebooks_gdrive.py", line 638, in test_edit_comments - self.get_book_details(12) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1402, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 436, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec42c520>: 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 653, in test_edit_custom_bool - self.assertEqual(len(self.adv_search({u'custom_column_3': u'Yes'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 722, in test_edit_custom_categories - self.assertEqual(len(self.adv_search({u'custom_column_6': u'人 Ü'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 740, in test_edit_custom_float - self.assertEqual(len(self.adv_search({u'custom_column_8': u'-2.5'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 756, in test_edit_custom_int - self.assertEqual(len(self.adv_search({u'custom_column_4': u'0'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 669, in test_edit_custom_rating - self.assertEqual(len(self.adv_search({u'custom_column_1': u'3'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 689, in test_edit_custom_single_select - self.assertEqual(len(self.adv_search({u'custom_column_9': u'人物'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 705, in test_edit_custom_text - self.assertEqual(len(self.adv_search({u'custom_column_10': u'人 Ä'})), 0) -TypeError: object of type 'bool' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec226910>: 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_edit_ebooks_gdrive.py", line 580, in test_edit_language - self.get_book_details(3) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1402, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 436, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec226910>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec42c700>: 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_edit_ebooks_gdrive.py", line 525, in test_edit_publisher - self.get_book_details(7) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1402, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 436, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec42c700>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec4790d0>: 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_edit_ebooks_gdrive.py", line 610, in test_edit_rating - books = self.get_books_displayed() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1185, in get_books_displayed - html = cls.driver.page_source - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 926, in page_source - return self.execute(Command.GET_PAGE_SOURCE)['value'] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 74, in request - return self.request_encode_url( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 96, in request_encode_url - return self.urlopen(method, url, **extra_kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/source (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec4790d0>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec5c9520>: 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_edit_ebooks_gdrive.py", line 404, in test_edit_series - self.get_book_details(9) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1402, in get_book_details - cls.driver.get(root_url + "/book/" + str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 436, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec5c9520>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec623f40>: 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_edit_ebooks_gdrive.py", line 133, in test_edit_title - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 358, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 268, 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 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec623f40>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 183, in test_edit_title + self.assertEqual('Unknown', values['title']) +KeyError: 'title'
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec786370>: 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_edit_ebooks_gdrive.py", line 848, in test_upload_book_epub - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 358, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 268, 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 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec786370>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 865, in test_upload_book_epub + self.assertEqual('8936', resp.headers['Content-Length']) +AssertionError: '8936' != '1103' +- 8936 ++ 1103
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec786910>: 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_edit_ebooks_gdrive.py", line 823, in test_upload_book_lit - self.fill_basic_config({'config_uploading':1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 358, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 268, 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 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec786910>: 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.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cecfea310>: 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_edit_ebooks_gdrive.py", line 771, in test_upload_cover_hdd - self.fill_basic_config({'config_uploading': 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 358, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 268, 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 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cecfea310>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 778, in test_upload_cover_hdd + self.assertGreater(diff('original.png', 'jpeg.png', delete_diff_file=True), 0.02) +AssertionError: 0.0 not greater than 0.02
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.8/http/client.py", line 1256, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output - self.send(msg) - File "/usr/lib/python3.8/http/client.py", line 951, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7cec5c74c0>: 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_edit_ebooks_gdrive.py", line 908, in test_watch_metadata - button = self.check_element_on_page((By.ID, "enable_gdrive_watch")) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 707, 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.8/site-packages/selenium/webdriver/support/wait.py", line 78, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/support/expected_conditions.py", line 64, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, 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 422, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request - resp = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 813, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.8/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=51341): Max retries exceeded with url: /session/2d4e9139-cf96-4ca3-bca3-9646475259b3/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7cec5c74c0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 947, in test_watch_metadata + self.assertNotIn('series', book) +AssertionError: 'series' unexpectedly found in {'id': 5, 'reader': [], 'title': 'testbook', 'author': ['John Döe'], 'rating': 0, 'languages': ['English'], 'identifier': [], 'cover': '/cover/5?edit=cd72c8b1-57d4-4162-a993-661f44e62822', 'tag': [], 'publisher': ['Randomhäus'], 'pubdate': 'Jan 19, 2017', 'comment': 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Aenean commodo ligula eget dolor.Aenean massa.Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate', 'add_shelf': [], 'del_shelf': [], 'edit_enable': True, 'kindle': None, 'kindlebtn': None, 'download': ['EPUB (6.7 kB)'], 'read': False, 'archived': False, 'series_all': 'Book 1 of test', 'series_index': '1', 'series': 'test', 'cust_columns': []}
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_email_ssl.py", line 130, in test_SSL_logging_email + self.assertTrue(len(re.findall('subject: Calibre-Web test e-mail', data)),"Email logging not working") +AssertionError: 0 is not true : Email logging not working+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_gdrive_setup.py", line 113, in test_config_gdrive - self.assertFalse(use_gdrive.is_selected()) -AssertionError: True is not false-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_upload_epubs.py", line 28, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB, 'config_uploading': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 173, in startup + inst.p = process_open(command, [1], sout=None, env=env, cwd=work_path) + File "/home/ozzie/Development/calibre-web-test/test/subproc_wrapper.py", line 28, in process_open + return subprocess.Popen(exc_command, + File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ + self._execute_child(args, executable, preexec_fn, close_fds, + File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child + raise child_exception_type(errno_num, err_msg, err_filename) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/venv/bin/python3' +During handling of the above exception, another exception occurred: -+- +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_upload_epubs.py", line 32, in setUpClass + cls.driver.quit() +AttributeError: 'NoneType' object has no attribute 'quit'TestUserList -18 -18 -0 -0 -0 -- Detail - -
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 53, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB, "config_uploading": 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 173, in startup + inst.p = process_open(command, [1], sout=None, env=env, cwd=work_path) + File "/home/ozzie/Development/calibre-web-test/test/subproc_wrapper.py", line 28, in process_open + return subprocess.Popen(exc_command, + File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ + self._execute_child(args, executable, preexec_fn, close_fds, + File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child + raise child_exception_type(errno_num, err_msg, err_filename) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/venv/bin/python3' - - -+- - - - -- -TestUserList - test_edit_user_email-PASS -- - - - -- -TestUserList - test_list_visibility-PASS -- - - - -- -TestUserList - test_user_list_admin_role-PASS -- - - - -- -TestUserList - test_user_list_check_sort-PASS -- - - - -- -TestUserList - test_user_list_denied_tags-PASS -- - - - -- -TestUserList - test_user_list_download_role-PASS -- - - - -- -TestUserList - test_user_list_edit_button-PASS -- - - - -- -TestUserList - test_user_list_edit_email-PASS -- - - - -- -TestUserList - test_user_list_edit_kindle-PASS -- - - - -- -TestUserList - test_user_list_edit_language-PASS -- - - - -- -TestUserList - test_user_list_edit_locale-PASS -- - - - -- -TestUserList - test_user_list_edit_name-PASS -- - - - -- -TestUserList - test_user_list_edit_visiblility-PASS -- - - - -- -TestUserList - test_user_list_guest_edit-PASS -- - - - -- -TestUserList - test_user_list_remove_admin-PASS -- - - - -- -TestUserList - test_user_list_requests-PASS -- - - - -- -TestUserList - test_user_list_search-PASS -- - - +During handling of the above exception, another exception occurred: +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_list.py", line 57, in setUpClass + cls.driver.quit() +AttributeError: 'NoneType' object has no attribute 'quit'- -TestUserList - test_user_list_sort-PASS -
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_load.py", line 61, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB, 'config_access_log': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 173, in startup + inst.p = process_open(command, [1], sout=None, env=env, cwd=work_path) + File "/home/ozzie/Development/calibre-web-test/test/subproc_wrapper.py", line 28, in process_open + return subprocess.Popen(exc_command, + File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ + self._execute_child(args, executable, preexec_fn, close_fds, + File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child + raise child_exception_type(errno_num, err_msg, err_filename) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/venv/bin/python3' -- +During handling of the above exception, another exception occurred: - - -TestUserLoad -1 -1 -0 -0 -0 -- Detail - -- + +- -TestUserLoad - test_user_change_vis+Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_load.py", line 65, in setUpClass + cls.driver.quit() +AttributeError: 'NoneType' object has no attribute 'quit' + + + +PASS + + + + ++ +setUpClass (test_user_template)++ ++ ERROR ++ +++ + +++ +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_template.py", line 20, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB}) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 173, in startup + inst.p = process_open(command, [1], sout=None, env=env, cwd=work_path) + File "/home/ozzie/Development/calibre-web-test/test/subproc_wrapper.py", line 28, in process_open + return subprocess.Popen(exc_command, + File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ + self._execute_child(args, executable, preexec_fn, close_fds, + File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child + raise child_exception_type(errno_num, err_msg, err_filename) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/venv/bin/python3' +During handling of the above exception, another exception occurred: -+- +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_user_template.py", line 22, in setUpClass + cls.driver.quit() +AttributeError: 'NoneType' object has no attribute 'quit'TestUserTemplate -21 -21 -0 -0 -0 -- Detail - -+ + +setUpClass (test_visiblilitys)++ + ERROR ++ ++++Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_visiblilitys.py", line 25, in setUpClass + startup(cls, cls.py_version, {'config_calibre_dir': TEST_DB}) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 173, in startup + inst.p = process_open(command, [1], sout=None, env=env, cwd=work_path) + File "/home/ozzie/Development/calibre-web-test/test/subproc_wrapper.py", line 28, in process_open + return subprocess.Popen(exc_command, + File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ + self._execute_child(args, executable, preexec_fn, close_fds, + File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child + raise child_exception_type(errno_num, err_msg, err_filename) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/venv/bin/python3' - - -- - - - -- -TestUserTemplate - test_allow_column_restriction-PASS -- - - - -- -TestUserTemplate - test_allow_tag_restriction-PASS -- - - - -- -TestUserTemplate - test_archived_format_template-PASS -- - - - -- -TestUserTemplate - test_author_user_template-PASS -- - - - -- -TestUserTemplate - test_best_user_template-PASS -- - - - -- -TestUserTemplate - test_category_user_template-PASS -- - - - -- -TestUserTemplate - test_deny_column_restriction-PASS -- - - - -- -TestUserTemplate - test_deny_tag_restriction-PASS -- - - - -- -TestUserTemplate - test_detail_random_user_template-PASS -- - - - -- -TestUserTemplate - test_download_user_template-PASS -- - - - -- -TestUserTemplate - test_format_user_template-PASS -- - - - -- -TestUserTemplate - test_hot_user_template-PASS -- - - - -- -TestUserTemplate - test_language_user_template-PASS -- - - - -- -TestUserTemplate - test_limit_book_languages-PASS -- - - - -- -TestUserTemplate - test_list_user_template-PASS -- - - - -- -TestUserTemplate - test_publisher_user_template-PASS -- - - - -- -TestUserTemplate - test_random_user_template-PASS -- - - - -- -TestUserTemplate - test_read_user_template-PASS -- - - - -- -TestUserTemplate - test_recent_user_template-PASS -- - - - -- -TestUserTemplate - test_series_user_template-PASS -- - - +During handling of the above exception, another exception occurred: - -- -TestUserTemplate - test_ui_language_settings-PASS -- - - - -TestCalibreWebVisibilitys -34 -34 -0 -0 -0 -- Detail - -- -- -TestCalibreWebVisibilitys - test_about+Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_visiblilitys.py", line 27, in setUpClass + cls.driver.quit() +AttributeError: 'NoneType' object has no attribute 'quit' + + + +PASS + - - - - - -TestCalibreWebVisibilitys - test_admin_SMTP_Settings+setUpClass (test_zz_helper)PASS -- - - - -- TestCalibreWebVisibilitys - test_admin_add_user++ -+ ERROR ++ +++ +++ +Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_zz_helper.py", line 25, in setUpClass + from cps import helper, updater +ImportError: cannot import name 'helper' from 'cps' (unknown location)+PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_password-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_archived-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_authors-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_category-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_file_formats-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_hot-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_language-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_publisher-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_random-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_rated-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_rating-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_read-PASS -- - - - -- -TestCalibreWebVisibilitys - test_admin_change_visibility_series-PASS -- - - - -- -TestCalibreWebVisibilitys - test_allow_columns-PASS -- - - - -- -TestCalibreWebVisibilitys - test_allow_tags-PASS -- - - - -- -TestCalibreWebVisibilitys - test_archive_books-PASS -- - - - -- -TestCalibreWebVisibilitys - test_authors_max_settings-PASS -- - - - -- -TestCalibreWebVisibilitys - test_change_title-PASS -- - - - -- -TestCalibreWebVisibilitys - test_checked_logged_in-PASS -- - - - -- -TestCalibreWebVisibilitys - test_hide_custom_column-PASS -- - - - -- -TestCalibreWebVisibilitys - test_link_column_to_read_status-PASS -- - - - -- -TestCalibreWebVisibilitys - test_random_books_available-PASS -- - - - -- -TestCalibreWebVisibilitys - test_request_link_column_to_read_status-PASS -- - - - -- -TestCalibreWebVisibilitys - test_restrict_columns-PASS -- - - - -- -TestCalibreWebVisibilitys - test_restrict_tags-PASS -- - - - -- -TestCalibreWebVisibilitys - test_save_views_recent-PASS -- - - - -- -TestCalibreWebVisibilitys - test_search_functions-PASS -- - - - -- -TestCalibreWebVisibilitys - test_search_order-PASS -- - - - -- -TestCalibreWebVisibilitys - test_search_string-PASS -- - - - -- -TestCalibreWebVisibilitys - test_user_email_available-PASS -- - - - - -- -TestCalibreWebVisibilitys - test_user_visibility_sidebar-PASS -- - - - -TestCalibreHelper -16 -16 -0 -0 -0 -- Detail - -- - - - -- -TestCalibreHelper - test_author_sort-PASS -- - - - -- -TestCalibreHelper - test_author_sort_comma-PASS -- - - - -- -TestCalibreHelper - test_author_sort_junior-PASS -- - - - -- -TestCalibreHelper - test_author_sort_oneword-PASS -- - - - -- -TestCalibreHelper - test_author_sort_roman-PASS -- - - - -- -TestCalibreHelper - test_check_Limit_Length-PASS -- - - - -- -TestCalibreHelper - test_check_char_replacement-PASS -- - - - -- -TestCalibreHelper - test_check_chinese_Characters-PASS -- - - - -- -TestCalibreHelper - test_check_deg_eur_replacement-PASS -- - - - -- -TestCalibreHelper - test_check_doubleS-PASS -- - - - -- -TestCalibreHelper - test_check_finish_Dot-PASS -- - - - -- -TestCalibreHelper - test_check_high23-PASS -- - - - -- -TestCalibreHelper - test_check_umlauts-PASS -- - - - -- -TestCalibreHelper - test_random_password-PASS -- - - - -- -TestCalibreHelper - test_split_authors-PASS -- - -TestCalibreHelper - test_whitespaces-PASS @@ -5850,7 +4051,7 @@ AssertionError: True is not false Total -404 -373 -1 -23 +318 +298 +4 +9 7 @@ -5880,7 +4081,7 @@ AssertionError: True is not false Platform -Linux 5.13.0-28-generic #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022 x86_64 x86_64 +Linux 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 Basic @@ -5934,7 +4135,7 @@ AssertionError: True is not false Flask -2.0.2 +2.0.3 Basic @@ -5964,7 +4165,7 @@ AssertionError: True is not false PyPDF3 -1.0.5 +1.0.6 Basic @@ -5976,13 +4177,13 @@ AssertionError: True is not false Unidecode -1.3.2 +1.3.3 Basic Werkzeug -2.0.2 +2.0.3 Basic @@ -6012,7 +4213,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestCliGdrivedb @@ -6042,7 +4243,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestEbookConvertCalibreGDrive @@ -6084,7 +4285,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestEbookConvertGDriveKepubify @@ -6120,7 +4321,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestEditAuthorsGdrive @@ -6162,7 +4363,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestEditBooksOnGdrive @@ -6252,7 +4453,7 @@ AssertionError: True is not false google-api-python-client -2.36.0 +2.38.0 TestSetupGdrive