Fatal error importing pdf

QuestionsCategory: PDF Light ViewerFatal error importing pdf
Szabolcs Horváth asked 6 years ago
I’m using PDF light viewer since 2 years now without any problems. Now I wante to renew one of my pdf (catalogue) and there is a Fatal Error message by clicking the “publish” button.
The message is:
Fatal error: Uncaught exception ‘ImagickException’ with message ‘unable to open image `/nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449af35b2/paul-lange.hu/web/wp-content/uploads/pdf-light-viewer/8262/page-00001.jpg’: No such file or directory @ error/blob.c/OpenBlob/2712′ in /nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449af35b2/paul-lange.hu/web/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php:863 Stack trace: #0 /nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449af35b2/paul-lange.hu/web/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php(863): Imagick->readimage(‘/nfsmnt/hosting…’) #1 /nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449af35b2/paul-lange.hu/web/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php(716): PdfLightViewer_PdfController::getFirstPageGeometry(‘300′, ’60’, ‘/nfsmnt/hosting…’, ‘/nfsmnt/hosting…’) #2 [internal function]: PdfLightViewer_PdfController::save_post(8262) #3 /nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449a in /nfsmnt/hosting1_1/5/4/549e8b53-e2b1-46b4-94c4-a5b449af35b2/paul-lange.hu/web/wp-content/plugins/pdf-light-viewer/src/controllers/PdfController.php on line 863
 
Canyou please help me what can be the problem? I’m using the newest version.

1 Answers
super Staff answered 6 years ago
Hello Szabolcs Horváth
We received reports of the similar issues. Here are the list just for reference, maybe it would be helpful for someone else:
https://support.wp.teamlead.pw/?qs=No%20such%20file%20or%20directory

Briefly: Similar issue could be related to the filename. Sometimes underlying software for import PDFs cannot parse non-latin symbols from the file name. Could you please try to rename your file to something simple like “example.pdf” or “123.pdf” and then try to import it to check if the issue persists?