diff --git a/optional-requirements.txt b/optional-requirements.txt index 85a3d5f0..9da682d9 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -34,7 +34,8 @@ markdown2>=2.0.0,<2.5.0 html2text>=2020.1.16,<2022.1.1 python-dateutil>=2.1,<2.9.0 beautifulsoup4>=4.0.1,<4.12.0 -cchardet>=2.0.0,<2.2.0 +#cchardet>=2.0.0,<2.2.0 +faust-cchardet>=2.1.18 # Comics natsort>=2.2.0,<8.4.0 diff --git a/setup.cfg b/setup.cfg index c349fb0e..5a7bef7b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -93,7 +93,6 @@ metadata = html2text>=2020.1.16,<2022.1.1 python-dateutil>=2.1,<2.9.0 beautifulsoup4>=4.0.1,<4.12.0 - cchardet>=2.0.0,<2.2.0 comics = natsort>=2.2.0,<8.4.0 comicapi>=2.2.0,<2.3.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 425b9eaa..5911da9c 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2023-03-20 20:13:50
+Start Time: 2023-03-21 20:06:00
Stop Time: 2023-03-21 02:49:51
+Stop Time: 2023-03-22 02:49:32
Duration: 5h 38 min
+Duration: 5h 40 min
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 174, in test_backup_change_book_author + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 296, in test_backup_change_book_description + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 256, in test_backup_change_book_language + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 142, in test_backup_change_book_publisher + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 197, in test_backup_change_book_publishing_date + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 277, in test_backup_change_book_rating + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 103, in test_backup_change_book_seriesindex + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 213, in test_backup_change_book_tags + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 158, in test_backup_change_book_title + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 496, in test_backup_change_custom_Comment + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 557, in test_backup_change_custom_Enum + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 315, in test_backup_change_custom_bool + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 523, in test_backup_change_custom_categories + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 468, in test_backup_change_custom_date + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 348, in test_backup_change_custom_float + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 381, in test_backup_change_custom_int + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 414, in test_backup_change_custom_rating + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 441, in test_backup_change_custom_text + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 594, in test_upload_book + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 596, in read_opf_metadata + result['pub_date'] = datetime.strptime(soup.find("dc:date").contents[0], "%Y-%m-%dT%H:%M:%S") +AttributeError: module 'datetime' has no attribute 'strptime'+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 209, in test_convert_email + self.assertEqual(1, task_len) +AssertionError: 1 != 4+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 244, in test_convert_failed_and_email + select.select_by_visible_text('AZW3') + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/select.py", line 134, in select_by_visible_text + raise NoSuchElementException(f"Could not locate element with visible text: {text}") +selenium.common.exceptions.NoSuchElementException: Message: Could not locate element with visible text: AZW3+