djdembeck/bragibooks

Synology Docker - Server Error (500)

rendyhd opened this issue · 2 comments

I've been getting a Server Error (500) when trying to process multi-file books. What I've found in the log is that it always errors with the @eaDir file (an invisible folder that Synology automatically generates to create metadata).
If I process a single file in the input folder (full length .mp3) it works without issues.
I'm starting to think the issue is the @eaDir file/folder, which is being processed as a NoneType in python.

Screenshot 2022-02-16 at 16 39 47

(made a new issue next to #67 because rights don't seem to be an issue for me. I get the Server Error after submitting ASIN.

A current workout around is deleting the @eaDir directories.

  • SSH into your Synology
  • (either do it globally or) cd to your Bragibooks input directory
  • find all directories: find . -name "@eaDir" -type d | more
  • if your okay with what you found, delete all those directories: find . -name "@eaDir" -type d -print0 | xargs -0 rm -rf

Afterwards Bragibooks runs without any issues for me, confirming that the issue indeed is the (empty?) @eaDir folder

I cannot reproduce this by simply making that folder in my input folder and processing something. However, this may fix the issue for you: djdembeck/m4b-merge#51