ArdaxHz / mdownloader

MangaDex downloader using python. Forked from the repo linked
https://gitlab.com/hitoribocchi/mdownloader
GNU General Public License v3.0
9 stars 1 forks source link

"No such file or directory" error for gzip.open(cache_file_path, "r") #33

Open pidgezero-one opened 2 years ago

pidgezero-one commented 2 years ago

Not sure if there's a step I missed somewhere, but running mdownloader on Windows & renaming the config file to .env, I always immediately get a No such file or directory: '.cache\\{id}.json.gz' error in components\model.py, line 730 (gzip.open(cache_file_path, "r")).

This has been happening with every ID I try, as well as with choosing manga from the search feature, and even happens if I use an absolute path as CACHE_PATH.

I have Python 3.7.2 and the .cache subfolder definitely exists in the mdownloader directory.

ArdaxHz commented 2 years ago

I can't reproduce, can you provide an ID to check with? Also, it might be because of Python 3.7.2, are you able to install 3.8+ and try see if the error persists?