Closed Ethaisa123 closed 1 year ago
Man, seems like i messed up when refactoring codes. Sorry about that, i've made PR #79 to fix this issue. You can test it by installing patched version.
Please note that you need git to install patched version
# Make sure you uninstall previous version mangadex-downloader
pip uninstall mangadex-downloader
# Install patched version
pip install -U git+https://github.com/mansuf/mangadex-downloader.git@e4b4e456ca9188d305c1af443a4c947bae570646
The issue was caused by images that want to be converted but the images already been deleted. If you're curious what code has causing this.
Technically PDFVolume.images
has been used to store downloaded images for each volumes and after that the application will convert to pdf and delete the images. The problem is PDFVolume.images
values never been cleared after previous volumes has been converted, so it will trying to convert images to pdf from previous volumes.
oh nice works perfectly now, thanks man.
What happened ?
After downloading the chapters when the worker converts the volume into a PDF I get a FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Ethan\Downloads\Kobo-pine\New Normal\Vol. 3\000.png
Full error below:
What did you expect to happen ?
I expected the program to convert the Folders into a PDF, in the same way as the cbz method
OS version
Windows 10
App version
mangadex-downloader v2.10.1 (https://github.com/mansuf/mangadex-downloader) Python: 3.11.2 arch: x64 bundled executable: no
Installation origin
PyPI (Python Package Index)
Installation origin (other sources)
No response
Reproducible command
mangadex-dl https://mangadex.org/title/e1d0056a-fdd3-4f32-af19-50eeb37280ac --save-as "pdf-volume" --use-volume-cover -uvc --progress-bar-layout=none
Additional context
if you repeatedly do the same command over and over every time it crashes it will eventually get through all the chapters (using the download.db I'm guessing)