Replaced pyPDF error that quitted script with a warning instead.