Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using post processor zip, triggers error: FileNotFoundError: [Errno 2] No such file or directory #2758

Closed
CaptainJawZ opened this issue Jul 13, 2022 · 2 comments
Labels

Comments

@CaptainJawZ
Copy link

I think this could be related to 99cb287

Pretty much, I use a post-processor for manga/comics which goes like this:

"postprocessor": {
    "cbz": {
      "name": "zip",
      "compression": "store",
      "mode": "safe",
      "extension": "cbz"
    }
  }

When using this post-processor on my config.json, then I get the error:

[Errno 2] No such file or directory: '/home/jawz/Library/Manga/Dr. Stone/Dr. Stone Ch.232.5.cbz'

If I get rid of the postprocessor, then the directory is created, and downloaded as normal (just without zipping it obvis). If I create the folder manually, in this case ~/Library/Manga/Dr. Stone then the zip file is created as expected.

So in summary, the postprocessor ZIP only works if the parent directory has been previously created.

@mikf
Copy link
Owner

mikf commented Jul 15, 2022

I did test this when implementing 99cb287, but only where the parent directory already existed. Oh well ...

Fixed in the new release. (9704c04)

@mikf mikf closed this as completed Jul 15, 2022
@CaptainJawZ
Copy link
Author

Thank you very much works like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants