Open EZ-Melon opened 1 week ago
I couldn't reproduce this but I noticed you're using nhentai version 5.5.3 try installing 5.5.5 manually by
pip uninstall nhentai
pip install -r requirements.txt
python setup.py install
That should install 5.5.5, pip only installs up to 5.5.3 it's working on my end with that version.
This didn't work as I'm still getting the below error.
[19:32:42] generate_pdf: Writing PDF file to path: ./(414005) - [Junnari (Nihito)] Boku to Tonari no Shojo Onee-san (29) The Virgin Onee-San (29) From Next-Door an…\..\(414005) - [Junnari (Nihito)] Boku to Tonari no Shojo Onee-san (29) The Virgin Onee-San (29) From Next-Door an….pdf Traceback (most recent call last): File "\\?\C:\Users\user\AppData\Local\Programs\Python\Python312\Scripts\nhentai-script.py", line 33, in <module> sys.exit(load_entry_point('nhentai==0.5.5', 'console_scripts', 'nhentai')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\nhentai-0.5.5-py3.12.egg\nhentai\command.py", line 105, in main generate_pdf(options.output_dir, doujinshi, options.rm_origin_dir, options.move_to_folder) File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\nhentai-0.5.5-py3.12.egg\nhentai\utils.py", line 224, in generate_pdf with open(pdf_filename, 'wb') as pdf_f: ^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: './(414005) - [Junnari (Nihito)] Boku to Tonari no Shojo Onee-san (29) The Virgin Onee-San (29) From Next-Door an…\\..\\(414005) - [Junnari (Nihito)] Boku to Tonari no Shojo Onee-san (29) The Virgin Onee-San (29) From Next-Door an….pdf'
I went ahead and reverted back to 0.5.3. Also, for some reason, each page is being downloaded from i.nhentai.net even though I've never set a mirror. Why would that be?
While attempting to download #414005 with the following syntax <nhentai --id 414005 --pdf --format="(%i) - %p" --rm-origin-dir>, I noticed that the portion of the title in [], as evidenced in the first screenshot, wasn't being removed, which is causing the pdf to not create properly. The folder is being created properly, so I'm not sure why I'm getting a FileNotFoundError
Title
FileNotFoundError
Folder