You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rare cases, e.g. Lonely Planet series, there might be more than 10 authors, making the filename exceed limit of ext4
Lonely Planet Great Britain - Kerry Walker, Lauren Keith, Emily Luxton, Hugh McNaughtan, Lorna Parkes, Joseph Reaney, Tasmin Waby, Neil Wilson, Isabel Albiston, Oliver Berry, Joe Bindloss, Keith Drew, Dan Fahey, Kay Gillespie, Laurie Goodlad, Sarah Irving.epub
Version/Environment
latest master, regular linux
Workaround
In extract_authors_from_openbook, remove the last ones by
defextract_authors_from_openbook(openbook: Dict) ->List[str]:
""" Extract list of author names from openbook :param openbook: :return: """creators= [
c["name"]
forcinopenbook.get("creator", []) ifc.get("role", "") in {"author", "editor"}
]
whilelen(", ".join(creators)) >100: # 100 is arbitrarycreators.pop()
returncreators
The text was updated successfully, but these errors were encountered:
Problem and Reproduce
In rare cases, e.g. Lonely Planet series, there might be more than 10 authors, making the filename exceed limit of ext4
Lonely Planet Great Britain - Kerry Walker, Lauren Keith, Emily Luxton, Hugh McNaughtan, Lorna Parkes, Joseph Reaney, Tasmin Waby, Neil Wilson, Isabel Albiston, Oliver Berry, Joe Bindloss, Keith Drew, Dan Fahey, Kay Gillespie, Laurie Goodlad, Sarah Irving.epub
Version/Environment
latest master, regular linux
Workaround
In
extract_authors_from_openbook
, remove the last ones byThe text was updated successfully, but these errors were encountered: