rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.36k stars 602 forks source link

Post processing scripts failing on exfat partition directory check #3231

Closed avoidwork closed 4 years ago

avoidwork commented 4 years ago

Hi,

I ran into this issue, and I'm still digging deeper into it at this time; curious if there's a known solution. The function forcePostProcess has very straight forward code, which is failing for me.

        for download_dir in download_dirs:
            if not os.path.isdir(download_dir):
                logger.warn('Directory %s does not exist. Skipping', download_dir)
                continue

The path is set to a folder on an exfat mount with wide open permissions, which other applications are using. Really don't know if it's a partition table issue, or something else. Any ideas?

raymondjstone commented 4 years ago

sure you have the path name correct? full path or relative path specified?

avoidwork commented 4 years ago

i am sure. i double checked when i noticed the logs, by copying the path from the UI into a terminal and verifying it was correct.

here's a screenshot. the odd thing from my pov is this issue has only surfaced when the host os is linux & the drive is mounted there; previously i've run it in hyper-v vm's with the drive offline in host os and passed through, without issue, and also via docker container.

Screenshot from 2019-10-27 18-23-19

I'm really just curious if you've seen this before, or have any idea where i might look for the cause/fix.