Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1012532: inkscape: PDF import no longer works

218 views
Skip to first unread message

Graeme Smecher

unread,
Jun 8, 2022, 3:50:04 PM6/8/22
to
Package: inkscape
Version: 1.2-1
Severity: important
X-Debbugs-Cc: gsme...@threespeedlogic.com

Dear Maintainer,

Versions 1.2-1 and 1.1.2-3+b1 are both currently unable to import PDFs.
Searching on-line suggests that a poppler dependency was missing or disabled at
build time.

Symptoms: (lightly edited to obscure path and filename)

$ inkscape /path/to/file.pdf
PDFInput::open: error opening document: file:///path/to/file.pdf
/path/to/file.pdf:1: parser error : Start tag expected, '<' not found
%PDF-1.6
^
ink_file_open: '/path/to/file.pdf' cannot be opened!
InkscapeApplication::document_open: Failed to open: /path/to/file.pdf
ConcreteInkscapeApplication::on_open: failed to create document!


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-4-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inkscape depends on:
ii lib2geom1.1.0 1.1-2+b1
ii libatkmm-1.6-1v5 2.28.2-1
ii libboost-filesystem1.74.0 1.74.0-14
ii libc6 2.33-7
ii libcairo-gobject2 1.16.0-5
ii libcairo2 1.16.0-5
ii libcairomm-1.0-1v5 1.12.2-4
ii libcdr-0.1-1 0.1.6-2
ii libfontconfig1 2.13.1-4.4
ii libfreetype6 2.11.1+dfsg-1
ii libgc1 1:8.0.6-1.1
ii libgcc-s1 12-20220319-1
ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1
ii libglib2.0-0 2.72.0-1+b1
ii libglibmm-2.4-1v5 2.66.2-2+b1
ii libgomp1 12-20220319-1
ii libgsl27 2.7.1+dfsg-3
ii libgspell-1-2 1.9.1-4
ii libgtk-3-0 3.24.33-1
ii libgtkmm-3.0-1v5 3.24.5-1
ii libharfbuzz0b 2.7.4-1
ii libjpeg62-turbo 1:2.1.2-1
ii liblcms2-2 2.12~rc1-2
ii libmagick++-6.q16-8 8:6.9.11.60+dfsg-1.3+b2
ii libpango-1.0-0 1.50.6+ds-2
ii libpangocairo-1.0-0 1.50.6+ds-2
ii libpangoft2-1.0-0 1.50.6+ds-2
ii libpangomm-1.4-1v5 2.46.2-1
ii libpng16-16 1.6.37-3
ii libpoppler-glib8 20.09.0-3.1
ii libpoppler118 22.02.0-3
ii libpotrace0 1.16-2
ii libreadline8 8.1.2-1
ii librevenge-0.0-0 0.0.4-6+b1
ii librsvg2-common 2.52.5+dfsg-3+b1
ii libsigc++-2.0-0v5 2.10.4-2
ii libsoup2.4-1 2.74.1-1
ii libstdc++6 12-20220319-1
ii libvisio-0.1-1 0.1.7-1+b1
ii libwpg-0.3-3 0.3.3-1
ii libx11-6 2:1.7.2-2+b1
ii libxml2 2.9.13+dfsg-1
ii libxslt1.1 1.1.34-4
ii python3 3.9.8-1
ii zlib1g 1:1.2.11.dfsg-4

Versions of packages inkscape recommends:
ii aspell 0.60.8-4
ii fig2dev 1:3.2.8b-1
ii imagemagick 8:6.9.11.60+dfsg-1.3+b2
ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3+b2
ii libimage-magick-perl 8:6.9.11.60+dfsg-1.3
ii libwmf-bin 0.2.12-5
ii python3-lxml 4.8.0-1
ii python3-numpy 1:1.21.5-1
ii python3-scour 0.38.2-2

Versions of packages inkscape suggests:
pn dia <none>
pn inkscape-tutorials <none>
pn libsvg-perl <none>
pn pstoedit <none>
pn python3-cssselect <none>
ii python3-packaging 21.3-1
pn python3-uniconvertor <none>
ii ruby 1:2.7.6

-- no debconf information

Graeme Smecher

unread,
Jun 8, 2022, 5:10:04 PM6/8/22
to
Hi Dennis,

On 2022-06-08 13:35, Dennis Braun wrote:
> This looks very similar to this old bug
> https://bugs.launchpad.net/inkscape/+bug/1276871

On a hunch, I ensured libpoppler was up-to-date - an apt-get upgrade
libpoppler* corrected the problem and I am now able to import PDFs again.

Please feel free to close the bug. I'm not sure whether this breakage is
an indication that a dependency isn't properly tracked; I'll leave that
up to you.

Thanks for all you do.

best,
Graeme

Mattia Rizzolo

unread,
Jun 18, 2022, 8:50:04 AM6/18/22
to
Control: reassign -1 libpoppler-glib8
Control: forcemerge 969907 -1

On Wed, Jun 08, 2022 at 02:05:58PM -0700, Graeme Smecher wrote:
> Hi Dennis,
>
> On 2022-06-08 13:35, Dennis Braun wrote:
> > This looks very similar to this old bug
> > https://bugs.launchpad.net/inkscape/+bug/1276871
>
> On a hunch, I ensured libpoppler was up-to-date - an apt-get upgrade
> libpoppler* corrected the problem and I am now able to import PDFs again.

From your first mail:
ii libpoppler-glib8 20.09.0-3.1
ii libpoppler118 22.02.0-3

So this is yet another case of libpoppler that gets out of sync with
libpoppler-glib and then something doesn't work.
It's not as bad as the crash #969907 but I blame it to that all the
same, without further debugging.

As such, I'm reassiging and merging.

--
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
More about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
0 new messages