diff --git a/requirements.txt b/requirements.txt index 159fccb9..f0cd81c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,10 +4,9 @@ Babel>=1.3,<3.0 Flask-Babel>=0.11.1,<3.1.0 Flask-Login>=0.3.2,<0.6.3 Flask-Principal>=0.3.2,<0.5.1 -backports_abc>=0.4 Flask>=1.0.2,<2.3.0 iso-639>=0.4.5,<0.5.0 -PyPDF>=3.0.0,<3.6.0 +PyPDF>=3.0.0,<3.8.0 pytz>=2016.10 requests>=2.11.1,<2.29.0 SQLAlchemy>=1.3.0,<2.0.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index b6c10986..0fe291df 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2023-03-26 21:21:07
+Start Time: 2023-04-13 19:29:13
Stop Time: 2023-03-27 04:13:39
+Stop Time: 2023-04-14 09:30:28
Duration: 5h 49 min
+Duration: 13h 2 min
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_gdrive.py", line 38, in setUpClass + prepare_gdrive() + File "/home/ozzie/Development/calibre-web-test/test/helper_gdrive.py", line 39, in prepare_gdrive + copy_fs(OSFS(os.path.join(base_path, 'Calibre_db')), test) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/copy.py", line 50, in copy_fs + return copy_fs_if( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/copy.py", line 110, in copy_fs_if + return copy_dir_if( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/copy.py", line 450, in copy_dir_if + copier.copy(_src_fs, dir_path, _dst_fs, copy_path) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/_bulk.py", line 144, in copy + copy_file_internal( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/copy.py", line 281, in copy_file_internal + _copy_locked() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/copy.py", line 272, in _copy_locked + dst_fs.upload(dst_path, read_file) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/wrapfs.py", line 510, in upload + _fs.upload(_path, file, chunk_size=chunk_size, **options) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/base.py", line 1416, in upload + with self.openbin(path, mode="wb", **options) as dst_file: + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/fs/googledrivefs/googledrivefs.py", line 110, in close + status, response = request.next_chunk() + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper + return wrapped(*args, **kwargs) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/googleapiclient/http.py", line 1084, in next_chunk + resp, content = http.request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/google_auth_httplib2.py", line 218, in request + response, content = self.http.request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/httplib2/__init__.py", line 1724, in request + (response, content) = self._request( + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/httplib2/__init__.py", line 1444, in _request + (response, content) = self._conn_request(conn, request_uri, method, body, headers) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/httplib2/__init__.py", line 1396, in _conn_request + response = conn.getresponse() + File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse + response.begin() + File "/usr/lib/python3.10/http/client.py", line 318, in begin + version, status, reason = self._read_status() + File "/usr/lib/python3.10/http/client.py", line 279, in _read_status + line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") + File "/usr/lib/python3.10/socket.py", line 705, in readinto + return self._sock.recv_into(b) + File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into + return self.read(nbytes, buffer) + File "/usr/lib/python3.10/ssl.py", line 1130, in read + return self._sslobj.read(len, buffer) +TimeoutError: The read operation timed out+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 122, in test_change_capital_one_author_one_book + self.assertEqual(200, ret_code) +AssertionError: 200 != 404+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 249, in test_change_capital_one_author_two_books + self.assertEqual(200, ret_code) +AssertionError: 200 != 404+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_author_gdrive.py", line 554, in test_rename_capital_on_upload + self.assertEqual(200, ret_code) +AssertionError: 200 != 404+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 189, in test_edit_title - self.assertEqual('The camicdemo', books[1][8]['title']) -IndexError: list index out of range-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_metadata_scholar.py", line 68, in test_load_metadata + self.assertEqual(30, len(results)) +AssertionError: 30 != 0+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_login.py", line 151, in test_login_protected + self.assertEqual(self.fail_access_page("http://127.0.0.1:8083/search"), 2) +AssertionError: 1 != 2+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 199, in test_cache_of_deleted_book + self.assertEqual(220, count_files(thumbnail_cache_path)) +AssertionError: 220 != 0+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 83, in test_cover_cache_on_database_change + 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/test/test_thumbnails.py", line 125, in test_cover_change_on_upload_new_cover + 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/test/test_thumbnails.py", line 161, in test_remove_cover_from_cache + os.remove(os.path.join(thumbnail_cache_path, book.uuid[:2], book.filename)) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/calibre-web/cps/cache/thumbnails/23/23996831-24c9-4f1f-807d-6cf2a86a764b.jpg'+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 310, in test_sideloaded_book - self.assertAlmostEqual(diff(BytesIO(list_cover), BytesIO(old_list_cover), delete_diff_file=True), 0.0, -AssertionError: 0.007374011826953003 != 0.0 within 0.0001 delta (0.007374011826953003 difference)+ File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 281, in test_sideloaded_book + self.assertEqual(book_thumbnail_reference + 2, count_files(thumbnail_cache_path)) +AssertionError: 2 != 0
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_visiblilitys.py", line 502, in test_search_order + self.verify_order("search", order=order) + File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1398, in verify_order + self.assertEqual(book_id, expected_result, "Key sorting order wrong: " + key) +AssertionError: 9 != 8 : Key sorting order wrong: pub_new+