diff --git a/cps/web.py b/cps/web.py index 95b1222c..4430dd90 100755 --- a/cps/web.py +++ b/cps/web.py @@ -1014,7 +1014,7 @@ def series_list(): func.max(db.Books.series_index), db.Books.id) .join(db.books_series_link).join(db.Series).filter(calibre_db.common_filters()) .group_by(text('books_series_link.series')) - .having(func.max(db.Books.series_index)) + .having(or_(func.max(db.Books.series_index), db.Books.series_index=="")) .order_by(order) .all()) return render_title_template('grid.html', entries=entries, folder='web.books_list', charlist=char_list, diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index b6ed61e8..808dca76 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2023-08-28 19:42:24
+Start Time: 2023-08-29 20:07:04
Stop Time: 2023-08-29 02:13:03
+Stop Time: 2023-08-30 02:37:10
Duration: 5h 31 min
+Duration: 5h 30 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_anonymous.py", line 294, in test_guest_change_visibility_series - self.assertEqual(books[1]['id'], '2') -IndexError: list index out of range-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 188, in test_backup_change_book_author + self.assertEqual(["Hector Gonçalves"], metadata['author']) +AssertionError: Lists differ: ['Hector Gonçalves'] != ['Frodo Beutlin', 'Norbert Halagal', 'Hector Gonçalves'] + +First differing element 0: +'Hector Gonçalves' +'Frodo Beutlin' + +Second list contains 2 additional elements. +First extra element 1: +'Norbert Halagal' + +- ['Hector Gonçalves'] ++ ['Frodo Beutlin', 'Norbert Halagal', 'Hector Gonçalves']+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 205, in test_backup_change_book_publishing_date - self.assertEqual(metadata['pub_date'].date(), date(2023, 6, 3)) -AssertionError: datetime.date(101, 1, 1) != datetime.date(2023, 6, 3)+ File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 143, in test_backup_change_book_publisher + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 579, in read_opf_metadata + with codecs.open(filename, "r", "utf-8") as f: + File "/usr/lib/python3.10/codecs.py", line 906, in open + file = builtins.open(filename, mode, buffering) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/metadata.opf'
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 104, in test_backup_change_book_seriesindex + metadata = read_opf_metadata(meta_path) + File "/home/ozzie/Development/calibre-web-test/test/helper_func.py", line 579, in read_opf_metadata + with codecs.open(filename, "r", "utf-8") as f: + File "/usr/lib/python3.10/codecs.py", line 906, in open + file = builtins.open(filename, mode, buffering) +FileNotFoundError: [Errno 2] No such file or directory: '/home/ozzie/Development/Dokumente/tüst db/Frodo Beutlin/Der Buchtitel (1)/metadata.opf'+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 184, in test_bookslist_edit_series + File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_list.py", line 185, in test_bookslist_edit_series self.assertEqual(3, len(elements)) -AssertionError: 3 != 2+AssertionError: 3 != 4
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 167, in test_load_metadata - self.assertGreaterEqual(diff(BytesIO(cover), BytesIO(original_cover), delete_diff_file=True), 0.05) -AssertionError: 0.0 not greater than or equal to 0.05+ File "/home/ozzie/Development/calibre-web-test/test/test_edit_books_metadata.py", line 63, in test_load_metadata + if 'https://comicvine.gamespot.com/' == results[10]['source']: +IndexError: list index out of range
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 173, in test_edit_title - self.assertEqual('Unknown', values['title']) -KeyError: 'title'-
ImportError: Failed to import test module: test_pdf_metadata -Traceback (most recent call last): - File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path - module = self._get_module_from_name(name) - File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name - __import__(name) - File "/home/ozzie/Development/calibre-web-test/test/test_pdf_metadata.py", line 261 - )''' - ^ -SyntaxError: unterminated triple-quoted string literal (detected at line 270)-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 218, in test_comic_MACOS_files - left.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 <div id="left" class="arrow"> 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:187:5 -ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:347:5 -webdriverClickElement@chrome://remote/content/marionette/interaction.sys.mjs:152:11 -interaction.clickElement@chrome://remote/content/marionette/interaction.sys.mjs:121:11 -clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:204:29 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:86:31-