Re: G::O::I based bindings and problem passing char array ref
- From: Jeremy Volkening <jdv base2bio com>
- To: Torsten Schoenfeld <kaffeetisch gmx de>
- Cc: gtk-perl-list gnome org
- Subject: Re: G::O::I based bindings and problem passing char array ref
- Date: Wed, 1 Jun 2016 17:54:15 -0500
warn my $d = Poppler::Document->new_from_data ($data, length
$data); ---
Does it not work for you?
No - I get "PDF document is damaged at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Glib/Object/Introspection.pm
line 58."
What version of Poppler do you have?
0.41.0, and G:O:I from Git, but I don't think there were any recent
changes that are relevant. Does this happen for all PDF files you
try?
Yes - I spent quite some time a few months ago working on this with different
PDFs, different attempts at data conversion, etc. I get that error with
your exact code (except for the filename, of course) with any PDF. If
it "just works" for you, I'll spend some time updating all relevant
libs on my system to see if that helps.
Thanks,
Jeremy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]