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
When I try to use the zip.extension config option to choose a custom extension for the ZIP archive, it gives me the following error message:
[postprocessor][error] 'zip' initialization failed: FileNotFoundError: [Errno 2] No such file or directory: "./gallery-dl_ef070ab5-3ba0-4bad-9198-5d5a3ff959dd/nhentai/296632 [Ringoya (Alp)] Tsushima's Day Off _ Tsushima no Kyuujitsu (Love Live! Sunshine!!) [English] [Waconda G Squad + Marv] [2019-12-07].zip"
What am I doing wrong here?
Edit: Even when I removed the config entry it still won't produce the ZIP archive. Is the filename too long? If so, is it possible to (automatically) restrict the length of the filename?
The text was updated successfully, but these errors were encountered:
arisboch
changed the title
NHentai extractor doesn't accept the zip.extension config entry
Creation of ZIP archive fails
Aug 31, 2020
This appears to be a bug present since commit 4d8b3e4.
It only manifests itself when the directory for the ZIP archive doesn't yet exist, which may be why nobody encountered/reported it until now.
As a workaround, you can manually create the directory in question beforehand
(./gallery-dl_ef070ab5-3ba0-4bad-9198-5d5a3ff959dd/nhentai/ in your case),
or you set mode to "safe".
Creating the directory beforehand as a workaround (using my wrapper script) did help, but sometimes, when I e.g. try to use manga hosting sites such as Dynasty Reader or Mangadex, the ZIP file creation fails because the directory structure above the directory for the individual item to download is more complex than usual ("base directory/extarctor/manga title" instead of just "base directory/extarctor").
When I try to use the
zip.extension
config option to choose a custom extension for the ZIP archive, it gives me the following error message:[postprocessor][error] 'zip' initialization failed: FileNotFoundError: [Errno 2] No such file or directory: "./gallery-dl_ef070ab5-3ba0-4bad-9198-5d5a3ff959dd/nhentai/296632 [Ringoya (Alp)] Tsushima's Day Off _ Tsushima no Kyuujitsu (Love Live! Sunshine!!) [English] [Waconda G Squad + Marv] [2019-12-07].zip"
What am I doing wrong here?
Edit: Even when I removed the config entry it still won't produce the ZIP archive. Is the filename too long? If so, is it possible to (automatically) restrict the length of the filename?
The text was updated successfully, but these errors were encountered: