pypdf exception