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

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

Open
willamo06 opened this issue Oct 1, 2024 · 4 comments
Open

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

willamo06 opened this issue Oct 1, 2024 · 4 comments
Assignees
Labels
bug Something isn't working v2.1.X v2.1.0

Comments

@willamo06
Copy link

01/10/2024 - 15:31:10 | INFO | NexusDownloadFlow is starting...
01/10/2024 - 15:31:10 | INFO | NexusDownloadFlow is running in custom mode.
[ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread_('Screenshot1.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread_('Screenshot2.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread_('Screenshot7.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] 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
Copy link
Owner

greg-ynx commented Oct 1, 2024

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!

@greg-ynx greg-ynx self-assigned this Oct 1, 2024
@greg-ynx greg-ynx added bug Something isn't working v2.1.X v2.1.0 labels Oct 1, 2024
@CallMeAyle
Copy link

CallMeAyle commented Oct 23, 2024

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:[email protected]] global loadsave.cpp:241 cv::findDecoder imread_('Captura de Tela (16).png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] 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
Copy link
Owner

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.1.X v2.1.0
Projects
None yet
Development

No branches or pull requests

3 participants