Sounds like invalid characters in your image names.. Re-check that you image names do not include spaces or invalid characters.
Yes I suspect that this giving me cache error.
Problem is that I have 30000 pictures in 50 folders and I have to find what pictures have invalid characters.