on the other hand, i think the image is exactly the problem
make sure it is not corrupted (can you open it with an image viewer, for example?)
and how is your project folder (specifically, the png folder)? personally i like screenshots to help finding the problem.
if you're using Linux, you can try adding " ./ " at the image path, altough i don't think this is going to solve the problem.
"./assets/textures/spaceship.png"