greg-ynx / NexusDownloadFlow

Auto-downloader for Nexus Mods.
41 stars 8 forks source link

can't open/read file: check file path/integrity #38

Open willamo06 opened 1 month ago

willamo06 commented 1 month ago

01/10/2024 - 15:31:10 | INFO | NexusDownloadFlow is starting... 01/10/2024 - 15:31:10 | INFO | NexusDownloadFlow is running in custom mode. [ WARN:0@0.059] global loadsave.cpp:241 cv::findDecoder imread('Screenshot1.png'): can't open/read file: check file path/integrity [ WARN:0@0.061] global loadsave.cpp:241 cv::findDecoder imread('Screenshot2.png'): can't open/read file: check file path/integrity [ WARN:0@0.062] global loadsave.cpp:241 cv::findDecoder imread('Screenshot7.png'): can't open/read file: check file path/integrity [ WARN:0@0.063] global loadsave.cpp:241 cv::findDecoder imread('Screenshot8.png'): can't open/read file: check file path/integrity 01/10/2024 - 15:31:10 | ERROR | OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

greg-ynx commented 1 month ago

Hi! I'm sorry that NDF is not working for you. Please provide more context.

How did you add your custom templates? Are they located in a directory named custom_templates itself in the same location as NDF executable?

I will try to reproduce your issue as fast as I can.

Have a good day!

CallMeAyle commented 3 weeks ago

I got the exact same error, what caused it to happen is literally a mystery, what I did is exactly what you should one should do in the nexus question to a T and this error happened, it was a cropped screenshot, should it be full screen? [ WARN:0@0.214] global loadsave.cpp:241 cv::findDecoder imread('Captura de Tela (16).png'): can't open/read file: check file path/integrity [ WARN:0@0.218] global loadsave.cpp:241 cv::findDecoder imread('Captura de Tela (17).png'): can't open/read file: check file path/integrity 23/10/2024 - 21:01:38 | ERROR | OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

23/10/2024 - 21:01:38 | CRITICAL | Please report this exception to our repository on GitHub: https://github.com/greg-ynx/NexusDownloadFlow/issues?q=is%3Aissue+is%3Aopen You can use the issue command in order to fill our template. 23/10/2024 - 21:01:38 | WARNING | The screenshot does not exist. 23/10/2024 - 21:01:38 | INFO | Program ended.

Could it be because I don't have the requiriments?

greg-ynx commented 3 weeks ago

There is an issue with how NDF (2.1.0) handle the path of your custom templates.

Please follow the answer of the #42 issue and tell me if it worked 😉

CallMeAyle commented 3 weeks ago

Heeeey, it did work, that's neat, thank you for the quick assistance, only problem there is now is the delay in the slow download button being found, but it makes sense, thanks again, amazing program :DDD