diff --git a/cps/admin.py b/cps/admin.py index b56b5b5c..943abe92 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -118,7 +118,7 @@ def before_request(): g.allow_upload = config.config_uploading g.current_theme = config.config_theme g.config_authors_max = config.config_authors_max - if '/static/' not in request.path and not config.db_configured and \ + if ('/static/' not in request.path and not config.db_configured and request.endpoint not in ('admin.ajax_db_config', 'admin.simulatedbchange', 'admin.db_configuration', @@ -126,7 +126,7 @@ def before_request(): 'web.login_post', 'web.logout', 'admin.load_dialogtexts', - 'admin.ajax_pathchooser'): + 'admin.ajax_pathchooser')): return redirect(url_for('admin.db_configuration')) @@ -1736,14 +1736,12 @@ def _db_configuration_update_helper(): return _db_configuration_result(_("Books path not valid"), gdrive_error) else: _config_string(to_save, "config_calibre_split_dir") - - if db_change or not db_valid or not config.db_configured \ - or config.config_calibre_dir != to_save["config_calibre_dir"]: + if (db_change or not db_valid or not config.db_configured + or config.config_calibre_dir != to_save["config_calibre_dir"]): if not os.path.exists(metadata_db) or not to_save['config_calibre_dir']: return _db_configuration_result(_('DB Location is not Valid, Please Enter Correct Path'), gdrive_error) else: calibre_db.setup_db(to_save['config_calibre_dir'], ub.app_DB_path) - config.store_calibre_uuid(calibre_db, db.Library_Id) # if db changed -> delete shelfs, delete download books, delete read books, kobo sync... if db_change: log.info("Calibre Database changed, all Calibre-Web info related to old Database gets deleted") @@ -1767,6 +1765,7 @@ def _db_configuration_update_helper(): config.config_read_column = 0 _config_string(to_save, "config_calibre_dir") calibre_db.update_config(config, config.config_calibre_dir, ub.app_DB_path) + config.store_calibre_uuid(calibre_db, db.Library_Id) if not os.access(os.path.join(config.config_calibre_dir, "metadata.db"), os.W_OK): flash(_("DB is not Writeable"), category="warning") calibre_db.update_config(config, config.config_calibre_dir, ub.app_DB_path) diff --git a/cps/db.py b/cps/db.py index 47ea6a5c..38b3f07f 100644 --- a/cps/db.py +++ b/cps/db.py @@ -538,7 +538,7 @@ class CalibreDB: self.Session = None #if init: # self.init_db(expire_on_commit) - if _app is not None: + if _app is not None and not _app._got_first_request: self.init_app(_app) def init_app(self, _app): @@ -1072,7 +1072,7 @@ class CalibreDB: # self.dispose() # self.engine.dispose() self.setup_db(config.config_calibre_dir, app_db_path) - self.update_config(config) + self.update_config(config, config.config_calibre_dir, app_db_path) def lcase(s): diff --git a/cps/editbooks.py b/cps/editbooks.py index 2d323a52..d5d92453 100644 --- a/cps/editbooks.py +++ b/cps/editbooks.py @@ -215,6 +215,7 @@ def table_get_custom_enum(c_id): def edit_list_book(param): vals = request.form.to_dict() book = calibre_db.get_book(vals['pk']) + calibre_db.create_functions(config) sort_param = "" ret = "" try: diff --git a/cps/tasks/convert.py b/cps/tasks/convert.py index 9b39c6c2..e0df3802 100644 --- a/cps/tasks/convert.py +++ b/cps/tasks/convert.py @@ -60,6 +60,8 @@ class TaskConvert(CalibreTask): self.results = dict() def run(self, worker_thread): + df_cover = None + cur_book = None self.worker_thread = worker_thread if config.config_use_google_drive: with app.app_context(): @@ -90,38 +92,38 @@ class TaskConvert(CalibreTask): format=self.settings['old_book_format'], fn=data.name + "." + self.settings['old_book_format'].lower()) # worker_db.session.close() - return self._handleError(error_message) + return self._handleError(error_message) - filename = self._convert_ebook_format() + filename = self._convert_ebook_format() + if config.config_use_google_drive: + os.remove(self.file_path + '.' + self.settings['old_book_format'].lower()) + if df_cover: + os.remove(os.path.join(config.config_calibre_dir, cur_book.path, "cover.jpg")) + + if filename: if config.config_use_google_drive: - os.remove(self.file_path + '.' + self.settings['old_book_format'].lower()) - if df_cover: - os.remove(os.path.join(config.config_calibre_dir, cur_book.path, "cover.jpg")) - - if filename: - if config.config_use_google_drive: - # Upload files to gdrive - gdriveutils.updateGdriveCalibreFromLocal() - self._handleSuccess() - if self.ereader_mail: - # if we're sending to E-Reader after converting, create a one-off task and run it immediately - # todo: figure out how to incorporate this into the progress - try: - EmailText = N_(u"%(book)s send to E-Reader", book=escape(self.title)) - for email in self.ereader_mail.split(','): - email = strip_whitespaces(email) - worker_thread.add(self.user, TaskEmail(self.settings['subject'], - self.results["path"], - filename, - self.settings, - email, - EmailText, - self.settings['body'], - id=self.book_id, - internal=True) - ) - except Exception as ex: - return self._handleError(str(ex)) + # Upload files to gdrive + gdriveutils.updateGdriveCalibreFromLocal() + self._handleSuccess() + if self.ereader_mail: + # if we're sending to E-Reader after converting, create a one-off task and run it immediately + # todo: figure out how to incorporate this into the progress + try: + EmailText = N_(u"%(book)s send to E-Reader", book=escape(self.title)) + for email in self.ereader_mail.split(','): + email = strip_whitespaces(email) + worker_thread.add(self.user, TaskEmail(self.settings['subject'], + self.results["path"], + filename, + self.settings, + email, + EmailText, + self.settings['body'], + id=self.book_id, + internal=True) + ) + except Exception as ex: + return self._handleError(str(ex)) def _convert_ebook_format(self): error_message = None diff --git a/cps/tasks/metadata_backup.py b/cps/tasks/metadata_backup.py index dc5b8404..048fcf7c 100644 --- a/cps/tasks/metadata_backup.py +++ b/cps/tasks/metadata_backup.py @@ -47,35 +47,35 @@ class TaskBackupMetadata(CalibreTask): def set_all_books_dirty(self): with app.app_context(): - calibre_db = db.CalibreDB(app) + calibre_dbb = db.CalibreDB(app) try: - books = calibre_db.session.query(db.Books).all() + books = calibre_dbb.session.query(db.Books).all() for book in books: - calibre_db.set_metadata_dirty(book.id) - calibre_db.session.commit() + calibre_dbb.set_metadata_dirty(book.id) + calibre_dbb.session.commit() self._handleSuccess() except Exception as ex: self.log.debug('Error adding book for backup: ' + str(ex)) self._handleError('Error adding book for backup: ' + str(ex)) - calibre_db.session.rollback() + calibre_dbb.session.rollback() # self.calibre_db.session.close() def backup_metadata(self): with app.app_context(): try: - calibre_db = db.CalibreDB(app) - metadata_backup = calibre_db.session.query(db.Metadata_Dirtied).all() - custom_columns = (calibre_db.session.query(db.CustomColumns) + calibre_dbb = db.CalibreDB(app) + metadata_backup = calibre_dbb.session.query(db.Metadata_Dirtied).all() + custom_columns = (calibre_dbb.session.query(db.CustomColumns) .filter(db.CustomColumns.mark_for_delete == 0) .filter(db.CustomColumns.datatype.notin_(db.cc_exceptions)) .order_by(db.CustomColumns.label).all()) count = len(metadata_backup) i = 0 for backup in metadata_backup: - book = calibre_db.session.query(db.Books).filter(db.Books.id == backup.book).one_or_none() - calibre_db.session.query(db.Metadata_Dirtied).filter( + book = calibre_dbb.session.query(db.Books).filter(db.Books.id == backup.book).one_or_none() + calibre_dbb.session.query(db.Metadata_Dirtied).filter( db.Metadata_Dirtied.book == backup.book).delete() - calibre_db.session.commit() + calibre_dbb.session.commit() if book: self.open_metadata(book, custom_columns) else: @@ -89,7 +89,7 @@ class TaskBackupMetadata(CalibreTask): b = "NaN" if not hasattr(book, 'id') else book.id self.log.debug('Error creating metadata backup for book {}: '.format(b) + str(ex)) self._handleError('Error creating metadata backup: ' + str(ex)) - calibre_db.session.rollback() + calibre_dbb.session.rollback() # self.calibre_db.session.close() def open_metadata(self, book, custom_columns): diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 234bfb96..ec9f87ce 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2024-11-25 20:45:11
+Start Time: 2024-11-27 21:25:16
Stop Time: 2024-11-26 02:45:09
+Stop Time: 2024-11-28 03:32:55
Duration: 4h 59 min
+Duration: 5h 7 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 57, in test_backup_all - self.assertEqual(11, len(all_files)) -AssertionError: 11 != 0-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 187, in test_backup_change_book_author - self.assertEqual(["Frodo Beutlin","Norbert Halagal","Liu Yang","Hector Gonçalves"], metadata['author']) -AssertionError: Lists differ: ['Frodo Beutlin', 'Norbert Halagal', 'Liu Yang', 'Hector Gonçalves'] != [] - -First list contains 4 additional elements. -First extra element 0: -'Frodo Beutlin' - -- ['Frodo Beutlin', 'Norbert Halagal', 'Liu Yang', 'Hector Gonçalves'] -+ []-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 253, in test_backup_change_book_identifier - self.assertEqual(len(metadata['identifier']), 2) -AssertionError: 0 != 2-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 213, in test_backup_change_book_publishing_date - self.assertEqual(metadata['pub_date'].date(), date(101, 1, 1)) -AttributeError: 'str' object has no attribute 'date'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 170, in test_backup_change_book_title - self.assertEqual(metadata['title'], "Buuko") -AssertionError: '' != 'Buuko' -+ Buuko-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 586, in test_no_database + self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 738, in test_writeonly_static_files + self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 293, in test_no_database + self.delete_shelf("database") + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1002, in delete_shelf + self.check_element_on_page((By.ID, "delete_shelf")).click() +AttributeError: 'bool' object has no attribute 'click'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408716d10>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until @@ -647,7 +1106,7 @@ Traceback (most recent call last): retries = retries.increment( File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=37675): Max retries exceeded with url: /session/0285c0a3-64c1-4683-b988-785a440e1940/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7031ccb05ed0>: Failed to establish a new connection: [Errno 111] Connection refused'))+urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408716d10>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408717e20>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408717e20>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408723b20>: 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_ebook_convert_gdrive.py", line 282, in test_convert_only + vals = self.get_convert_book(7) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2058, in get_convert_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408723b20>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408720c10>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408720c10>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407d6d450>: 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_ebook_convert_gdrive.py", line 156, in test_convert_parameter + self.fill_basic_config({'config_calibre': '--margin-right 11.9'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407d6d450>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407d6e0b0>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407d6e0b0>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407d6dc60>: 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_ebook_convert_gdrive.py", line 401, in test_email_failed + self.setup_server(False, {'mail_password_e': '10234'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 732, in setup_server + ele = cls.driver.find_element(By.ID, key) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407d6dc60>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407d6da50>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407d6da50>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407da8400>: 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_ebook_convert_gdrive.py", line 383, in test_email_only + self.setup_server(True, {'mail_use_ssl': 'None', 'mail_password_e': '10234'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 727, in setup_server + select = Select(cls.driver.find_element(By.ID, key)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407da8400>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407d6d960>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407d6d960>: Failed to establish a new connection: [Errno 111] Connection refused'))+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 417, in test_thumbnail_cache + self.assertTrue(os.path.exists(thumbnail_cache_path)) +AssertionError: False is not true+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f14087158a0>: 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_ebook_convert_gdrive.py", line 144, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=35869): Max retries exceeded with url: /session/bbef031b-5749-47de-89f7-39f1d214ce24/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f14087158a0>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f14069ddf60>: 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_ebook_convert_kepubify_gdrive.py", line 118, in test_convert_deactivate + self.fill_basic_config({'config_kepubifypath': ""}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f14069ddf60>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f140697c490>: 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_ebook_convert_kepubify_gdrive.py", line 111, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f140697c490>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408948ca0>: 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_ebook_convert_kepubify_gdrive.py", line 166, in test_convert_only + vals = self.get_convert_book(7) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2058, in get_convert_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408948ca0>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408cb1cf0>: 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_ebook_convert_kepubify_gdrive.py", line 111, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408cb1cf0>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1408cb36d0>: 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_ebook_convert_kepubify_gdrive.py", line 133, in test_convert_wrong_excecutable + self.fill_basic_config({'config_kepubifypath':'/opt/kepubify/ebook-polish'}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1408cb36d0>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f14089a9e10>: 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_ebook_convert_kepubify_gdrive.py", line 111, in tearDown + if not self.check_user_logged_in('admin'): + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 118, in check_user_logged_in + user_element = cls.check_element_on_page((By.ID, "top_user")) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 744, 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.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=60741): Max retries exceeded with url: /session/d8eca5b8-a303-4b07-b409-ebfc8cc758da/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f14089a9e10>: 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_additional_books.py", line 410, in test_writeonly_path + self.check_element_on_page((By.ID, "edit_book")).click() +AttributeError: 'bool' object has no attribute 'click'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 879, in test_xss_comment_edit + self.check_element_on_page((By.ID, "edit_book")).click() +AttributeError: 'bool' object has no attribute 'click'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 901, in test_xss_custom_comment_edit + self.check_element_on_page((By.ID, "edit_book")).click() +AttributeError: 'bool' object has no attribute 'click'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407dabf40>: 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_books_author_gdrive.py", line 86, in tearDownClass + cls.driver.get("http://127.0.0.1:" + PORTS[0]) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407dabf40>: Failed to establish a new connection: [Errno 111] Connection refused'))+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 700, in test_enable_reconnect - self.assertEqual(200, r.status_code) -AssertionError: 200 != 500-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 671, in test_logfile - self.fill_db_config({'config_calibre_dir': TEST_DB}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 295, in fill_db_config - ele = cls.driver.find_element(By.ID, key) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_calibre_dir"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 554, in test_no_database - self.fill_db_config({'config_calibre_dir': TEST_DB}) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_calibre_dir"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16 - - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 559, in test_no_database - self.assertFalse(True, "Inital config failed with normal database") -AssertionError: True is not false : Inital config failed with normal database-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 410, in test_settingsdb_not_writeable - self.fill_db_config({'config_calibre_dir': TEST_DB}) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_calibre_dir"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16 - - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 415, in test_settingsdb_not_writeable - self.assertFalse(True, "Inital config failed with nonwriteable database") -AssertionError: True is not false : Inital config failed with nonwriteable database-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli.py", line 735, in test_writeonly_static_files - self.fill_db_config({'config_calibre_dir': TEST_DB}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 295, in fill_db_config - ele = cls.driver.find_element(By.ID, key) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_calibre_dir"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 204, in test_cli_gdrive_folder - self.fill_db_config({'config_google_drive_folder': 'test'}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 290, in fill_db_config - select = Select(cls.driver.find_element(By.ID, key)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="config_google_drive_folder"] -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 182, in test_cli_gdrive_location - self.start_cw(os.path.join(CALIBRE_WEB_PATH + INDEX, u'cps.py'), os.path.join(gdrive_dir, u'gü dr.app')) - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in start_cw - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 150, in test_gdrive_db_nonwrite - self.start_cw(os.path.join(CALIBRE_WEB_PATH + INDEX, u'cps.py')) - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 146, in start_cw - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 230, in test_no_database - self.assertTrue(self.check_element_on_page((By.ID, 'flash_success'))) -AssertionError: False is not true - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_cli_gdrive.py", line 237, in test_no_database - self.assertFalse(True, "Inital config failed with normal database") -AssertionError: True is not false : Inital config failed with normal database-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 619, in test_calibre_log - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 254, in test_convert_email - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 311, in test_convert_failed_and_email - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 415, in test_convert_only - self.assertEqual(ret_orig[-6]['result'], 'Finished') -AssertionError: 'Started' != 'Finished' -- Started -+ Finished-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 587, in test_convert_options - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 174, in test_convert_parameter - self.assertEqual(ret[-1]['result'], 'Finished') -AssertionError: 'Started' != 'Finished' -- Started -+ Finished-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 148, in test_convert_wrong_excecutable - task_len, ret = self.wait_tasks(tasks, 2) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 539, in test_convert_xss - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert.py", line 566, in test_user_convert_xss - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 204, in test_convert_email - self.assertEqual(len(details['kindle']), 1) -TypeError: object of type 'NoneType' has no len()-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 234, in test_convert_failed_and_email - self.assertEqual('Finished', ret[-1]['result']) -AssertionError: 'Finished' != 'Failed' -- Finished -+ Failed-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 340, in test_convert_only - self.assertEqual(ret[-6]['result'], 'Finished') -AssertionError: 'Failed' != 'Finished' -- Failed -+ Finished-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 165, in test_convert_parameter - self.assertEqual(ret[-1]['result'], 'Finished') -AssertionError: 'Failed' != 'Finished' -- Failed -+ Finished-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 138, in test_convert_only - task_len, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify.py", line 229, in test_kobo_kepub_formats - self.assertTrue(download_link[1].get("href").endswith('/9.kepub.epub'), -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 184, in test_convert_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 410, in test_writeonly_path - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 879, in test_xss_comment_edit - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_additional_books.py", line 901, in test_xss_custom_comment_edit - self.check_element_on_page((By.ID, "edit_book")).click() -AttributeError: 'bool' object has no attribute 'click'-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1405f31150>: 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_books_author_gdrive.py", line 309, in test_change_capital_co_author + self.edit_book(1, content={'authors': "Frodo Beutlin & Norbert Halagal & Liu yang & Hector Gonçalves"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1405f31150>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1405404d30>: 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_books_author_gdrive.py", line 118, in test_change_capital_one_author_one_book + self.edit_book(8, content={'authors': "Leo baskerville"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1405404d30>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f14069b0670>: 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_books_author_gdrive.py", line 175, in test_change_capital_one_author_two_books + self.edit_book(10, content={'authors': "Peter parker"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f14069b0670>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1405f09900>: 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_books_author_gdrive.py", line 245, in test_change_capital_one_author_two_books_coauthor + self.edit_book(13, content={'authors': "Norbert halagal"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1405f09900>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1406997430>: 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_books_author_gdrive.py", line 363, in test_change_capital_rename_co_author + self.edit_book(1, content={'authors': "Frodo Beutlin & Norbert Halagal & Liu Yang & hector Gonçalves"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1406997430>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1405404460>: 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_books_author_gdrive.py", line 468, in test_change_capital_rename_two_co_authors + self.edit_book(3, content={'authors': "Asterix Lionherd & Liu Yang"}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1730, in edit_book + cls.driver.get(root_url + "/admin/book/"+str(id)) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1405404460>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn + conn = connection.create_connection( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection + raise err + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen + httplib_response = self._make_request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request + super(HTTPConnection, self).request(method, url, body=body, headers=headers) + File "/usr/lib/python3.10/http/client.py", line 1283, in request + self._send_request(method, url, body, headers, encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request + self.endheaders(body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders + self._send_output(message_body, encode_chunked=encode_chunked) + File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output + self.send(msg) + File "/usr/lib/python3.10/http/client.py", line 976, in send + self.connect() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect + conn = self._new_conn() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn + raise NewConnectionError( +urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1407daa560>: 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_books_author_gdrive.py", line 546, in test_rename_capital_on_upload + self.fill_basic_config({'config_uploading': 1}) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config + cls._fill_basic_config(elements) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config + WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until + value = method(self._driver) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate + return driver.find_element(*locator) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute + response = self.command_executor.execute(driver_command, params) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute + return self._request(command_info[0], url, body=data) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request + response = self._conn.request(method, url, body=body, headers=headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request + return self.request_encode_body( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen + response = conn.urlopen(method, u.request_uri, **kw) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen + return self.urlopen( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen + retries = retries.increment( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=54409): Max retries exceeded with url: /session/891b0c1c-47ef-4761-ab9f-27c3f9a79f58/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1407daa560>: 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_books_list.py", line 504, in test_booklist_xss - self.assertEqual("<a>Hello</a>", response.json()['newValue']) -KeyError: 'newValue'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 107, in test_bookslist_edit_author - bl = self.get_books_list(-1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1915, in get_books_list - element_text = "+" if "glyphicon-plus" in click_element.find_elements(By.XPATH, "./span")[0].get_attribute('class') else "" -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 154, in test_bookslist_edit_categories - self.assertEqual("执 Huki", bl['table'][0]['Categories']['text']) -AssertionError: '执 Huki' != 'Gênot' -- 执 Huki -+ Gênot-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 483, in test_bookslist_edit_comment - self.assertEqual("[...]", bl['table'][4]["Comments"]['text']) -AssertionError: '[...]' != '+' -- [...] -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 383, in test_bookslist_edit_cust_category - self.assertEqual("执 Huks", bl['table'][4]['Custom categories\|, 人物']['text']) -AssertionError: '执 Huks' != '+' -- 执 Huks -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 468, in test_bookslist_edit_cust_comment - self.assertEqual("[...]", bl['table'][4]["Custom Comment 人物"]['text']) -AssertionError: '[...]' != '+' -- [...] -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 411, in test_bookslist_edit_cust_enum - self.assertEqual("Alfa", values['cust_columns'][0]['value']) -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 368, in test_bookslist_edit_cust_float - self.assertEqual("3.55", bl['table'][4]['Custom Float 人物']['text']) -AssertionError: '3.55' != '+' -- 3.55 -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 353, in test_bookslist_edit_cust_int - self.assertEqual("3", bl['table'][4]['Custom Integer 人物']['text']) -AssertionError: '3' != '+' -- 3 -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 425, in test_bookslist_edit_cust_ratings - self.assertEqual("3.5", bl['table'][4]['Custom Rating 人物']['text']) -AssertionError: '3.5' != '+' -- 3.5 -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 440, in test_bookslist_edit_cust_text - self.assertEqual("执 Huks", bl['table'][4]["Custom Text 人物 *'()&"]['text']) -AssertionError: '执 Huks' != '+' -- 执 Huks -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 228, in test_bookslist_edit_languages - self.assertEqual("German", bl['table'][3]['Languages']['text']) -AssertionError: 'German' != '+' -- German -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 205, in test_bookslist_edit_publisher - self.assertEqual("执 Huks", bl['table'][4]['Publishers']['text']) -AssertionError: '执 Huks' != '+' -- 执 Huks -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 183, in test_bookslist_edit_series - self.assertEqual("执 Hukes", bl['table'][3]['Series']['text']) -AssertionError: '执 Hukes' != '+' -- 执 Hukes -+ +-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 256, in test_bookslist_edit_seriesindex - bl = self.get_books_list(-1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1915, in get_books_list - element_text = "+" if "glyphicon-plus" in click_element.find_elements(By.XPATH, "./span")[0].get_attribute('class') else "" -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 81, in test_bookslist_edit_title - bl = self.get_books_list(-1) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1915, in get_books_list - element_text = "+" if "glyphicon-plus" in click_element.find_elements(By.XPATH, "./span")[0].get_attribute('class') else "" -IndexError: list index out of range-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 99, in test_load_metadata - if results[cont]['source'] == 'https://comicvine.gamespot.com/': -IndexError: list index out of range+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 196, in test_load_metadata + self.assertEqual(book_details['author'][0], results[0]['author']) +AssertionError: 'Mehmet Tahir Öncü' != 'Mehmet Tahir Öncü & Emra Büyüknisan' +- Mehmet Tahir Öncü ++ Mehmet Tahir Öncü & Emra Büyüknisan
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 903, in test_download_book + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 905, 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/test/test_edit_ebooks_gdrive.py", line 669, in test_edit_custom_bool + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 671, 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 736, in test_edit_custom_categories + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 738, 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 753, in test_edit_custom_float + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 755, in test_edit_custom_float self.assertEqual(len(self.adv_search({'custom_column_8_low': '-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 774, in test_edit_custom_int + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 776, in test_edit_custom_int self.assertEqual(len(self.adv_search({u'custom_column_4_low': 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 684, in test_edit_custom_rating + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 686, 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 703, in test_edit_custom_single_select + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 705, 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 719, in test_edit_custom_text + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 721, 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/test/test_embed_metadata.py", line 129, in test_convert_file_embed_metadata - __, ret = self.wait_tasks(tasks, 1) -TypeError: cannot unpack non-iterable NoneType object-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 160, in test_convert_kepub_embed_metadata - with zipfile.ZipFile(epub_path) as thezip: - File "/usr/lib/python3.10/zipfile.py", line 1254, in __init__ - self.fp = io.open(file, filemode) -FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Sigurd Lindgren/book6 (9)/book6 - Sigurd Lindgren.kepub'-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 183, in test_download_kepub_embed_metadata - self.assertTrue(os.path.isfile(epub_path)) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata.py", line 108, in test_download_permissions_missing_file - self.assertEqual(20746, len(epub_content)) -AssertionError: 20746 != 5954-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7031c915aec0>: 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_embed_metadata_gdrive.py", line 161, in test_convert_file_embed_metadata - vals = self.get_convert_book(12) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2058, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=46827): Max retries exceeded with url: /session/888cc4bf-a51a-48ce-af19-e5699d37f1d8/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7031c915aec0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 183, in test_convert_file_embed_metadata + with zipfile.ZipFile(fs.open(epub_path, "rb")) as thezip: + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1228, in open + bin_file = self.openbin(path, mode=bin_mode, buffering=buffering) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 438, in openbin + raise ResourceNotFound(path) +fs.errors.ResourceNotFound: resource '/test/Lulu de Marco/book10 (12)/book10 - Lulu de Marco.epub' not found
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7031c9159cc0>: 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_embed_metadata_gdrive.py", line 193, in test_convert_kepub_embed_metadata - vals = self.get_convert_book(9) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 2058, in get_convert_book - cls.driver.get(root_url + "/admin/book/"+str(id)) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get - self.execute(Command.GET, {"url": url}) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=46827): Max retries exceeded with url: /session/888cc4bf-a51a-48ce-af19-e5699d37f1d8/url (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7031c9159cc0>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 214, in test_convert_kepub_embed_metadata + with zipfile.ZipFile(fs.open(epub_path, "rb")) as thezip: + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1228, in open + bin_file = self.openbin(path, mode=bin_mode, buffering=buffering) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 438, in openbin + raise ResourceNotFound(path) +fs.errors.ResourceNotFound: resource '/test/Sigurd Lindgren/book6 (9)/book6 - Sigurd Lindgren.kepub' not found
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7031c94e2620>: 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_embed_metadata_gdrive.py", line 113, in test_download_check_metadata - self.fill_basic_config({'config_binariesdir': ''}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=46827): Max retries exceeded with url: /session/888cc4bf-a51a-48ce-af19-e5699d37f1d8/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7031c94e2620>: 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.10/site-packages/urllib3/connection.py", line 174, in _new_conn - conn = connection.create_connection( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection - raise err - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen - httplib_response = self._make_request( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/connection.py", line 239, in request - super(HTTPConnection, self).request(method, url, body=body, headers=headers) - File "/usr/lib/python3.10/http/client.py", line 1283, in request - self._send_request(method, url, body, headers, encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request - self.endheaders(body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders - self._send_output(message_body, encode_chunked=encode_chunked) - File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output - self.send(msg) - File "/usr/lib/python3.10/http/client.py", line 976, in send - self.connect() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect - conn = self._new_conn() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn - raise NewConnectionError( -urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7031c94e3e80>: 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_embed_metadata_gdrive.py", line 222, in test_download_kepub_embed_metadata - self.fill_basic_config({'config_embed_metadata': 0}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until - value = method(self._driver) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate - return driver.find_element(*locator) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element - return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute - response = self.command_executor.execute(driver_command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute - return self._request(command_info[0], url, body=data) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request - response = self._conn.request(method, url, body=body, headers=headers) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request - return self.request_encode_body( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen - response = conn.urlopen(method, u.request_uri, **kw) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen - return self.urlopen( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen - retries = retries.increment( - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/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=46827): Max retries exceeded with url: /session/888cc4bf-a51a-48ce-af19-e5699d37f1d8/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7031c94e3e80>: Failed to establish a new connection: [Errno 111] Connection refused'))+ File "/home/ozzie/Development/calibre-web-test/test/test_embed_metadata_gdrive.py", line 259, in test_download_kepub_embed_metadata + self.assertEqual("Unknown", epub_data['author'][0]) +AssertionError: 'Unknown' != 'Leo Baskerville'
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 615, in test_book_download - data = self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 634, in test_kobo_sync_selected_shelfs - data = self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 468, in test_shelves_add_remove_books - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 293, in test_sync_changed_book - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 536, in test_sync_reading_state - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 316, in test_sync_shelf - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 258, in test_sync_unchanged - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 272, in test_sync_upload - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 123, in inital_sync - return self.sync_request(session) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync.py", line 135, in sync_request - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 484, in test_download_cover - books = self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 359, in test_kobo_sync_multi_user - self.inital_sync(user1_kobo) - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 277, in test_kobo_sync_selected_shelves - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 179, in test_sync_changed_book - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 254, in test_sync_reading_state - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 210, in test_sync_shelf - self.inital_sync() - File "/home/ozzie/Development/calibre-web-test/test/test_kobo_sync_big.py", line 129, in inital_sync - self.assertEqual(r.status_code, 200) -AssertionError: 500 != 200-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_limiter.py", line 87, in test_redis_backend + self.restart_calibre_web() + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 459, in restart_calibre_web + cls.driver.find_element(By.ID, 'admin_restart').click() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element + return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="admin_restart"] +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 +NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 +dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 126, in test_change_ebook - self.fill_basic_config({"config_unicode_filename": 1}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 392, in fill_basic_config - cls._fill_basic_config(elements) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 304, in _fill_basic_config - WebDriverWait(cls.driver, 5).until(EC.presence_of_element_located((By.ID, "config_port"))) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until - raise TimeoutException(message, screen, stacktrace) -selenium.common.exceptions.TimeoutException: Message: -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5 -dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 73, in test_convert_ebook - self.assertTrue(self.check_element_on_page((By.ID, "flash_success"))) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 167, in test_download_book - self.assertEqual(200, code) -AssertionError: 200 != 404-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 115, in test_email_ebook - 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_split_library.py", line 61, in test_thumbnails - self.assertTrue(book_thumbnail_reference > 10) -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 154, in test_upload_ebook - self.assertTrue(os.path.isdir(os.path.join(SPLIT_LIB, details['author'][0], -AssertionError: False is not true-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_split_library.py", line 182, in test_wrong_config_lib - self.fill_db_config({'config_calibre_split_dir': SPLIT_LIB + "::virtual"}) - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 296, in fill_db_config - ele.clear() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 116, in clear - self._execute(Command.CLEAR_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute - return self._parent.execute(command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.ElementNotInteractableException: Message: Element <input id="config_calibre_split_dir" class="form-control" name="config_calibre_split_dir" type="text"> could not be scrolled into view -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:353:5 -interaction.clearElement@chrome://remote/content/marionette/interaction.sys.mjs:381:11 -clearElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:196:22 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:81:16-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 193, in test_cache_of_deleted_book - self.assertEqual(book_thumbnail_reference, 3) -AssertionError: 0 != 3-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 90, in test_cover_cache_on_database_change - self.assertEqual(count_files(thumbnail_cache_path), 110*NUM_THUMBNAILS) -AssertionError: 333 != 330-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 132, in test_cover_change_on_upload_new_cover - self.assertEqual(110 * NUM_THUMBNAILS, count_files(thumbnail_cache_path)) -AssertionError: 330 != 333-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 254, in test_cover_on_upload_book - self.assertEqual(book_thumbnail_reference + NUM_THUMBNAILS, count_files(thumbnail_cache_path)) -AssertionError: 336 != 333-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 327, in test_sideloaded_book - self.assertGreaterEqual(diff(BytesIO(list_cover), BytesIO(new_list_cover), delete_diff_file=True), 0.035) -AssertionError: 0.0 not greater than or equal to 0.035-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_updater.py", line 456, in test_reconnect_database - self.reconnect_database() - File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 468, in reconnect_database - element.click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 93, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute - return self._parent.execute(command, params) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute - self.error_handler.check_response(response) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response - raise exception_class(message, screen, stacktrace) -selenium.common.exceptions.ElementNotInteractableException: Message: Element <button id="DialogFinished" class="btn btn-default hidden" type="button"> could not be scrolled into view -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5 -ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:353:5 -webdriverClickElement@chrome://remote/content/marionette/interaction.sys.mjs:167:11 -interaction.clickElement@chrome://remote/content/marionette/interaction.sys.mjs:136:11 -clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:205:29 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:85:31-