Yes, apparently neither the file is “open/closed” (not sure what this entry means) nor the path can be found.
Add the img to the exception/assert so that you’ll see which path is wrong and can fix it.