show_pdf_page - check for empty PDF #3263
Answered
by
JorjMcKie
Andreasox
asked this question in
Looking for help
-
If trying to include an empty PDF the following error is raised: |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Mar 14, 2024
Replies: 1 comment 2 replies
-
This message / exception is raised when the source page has no |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Andreasox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This message / exception is raised when the source page has no
/Contents
object. This can be checked withpage.get_contents() == []
.