View Single Post
Old 04-06-2024, 11:19 PM   #530
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,484
Karma: 28005164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kiwidude View Post
Shet - glad you have a workaround in the meantime. Perhaps Kovid may have a suggestion, or perhaps he like me cannot replicate issues with pdfinfo.
Works for me as well. pdfinfo.exe is built from poppler in a pretty standard way, see my bypy repository in github for the script used to build it. This will be something interfering on the affected computers. Note that nowadays, you shouldnt need to use pdfinfo for most things, you can use the podofo bindings for getting metadata for example, this avoids needing a separate process and so should be faster and possibly more robust, though I suspect podofo will fail on more malformed PDFs than pdfinfo, so you could fallback to pdfinfo. See podofo/__init__.py for the various python wrapper functions that can be used.
kovidgoyal is offline   Reply With Quote