According to the error, the software can't properly establish the height and weight of the image you have added to the application. I recommend checking its extension to see if it matches the parameters defined in the source code. Everything I have found related to lyPrint is source code. You will have to check it to see if the parameters are defined correctly.