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

Bug#998283: boomaga: Unable to print with Boomaga from some programs

148 views
Skip to first unread message

Alexander Kernozhitsky

unread,
Nov 1, 2021, 4:00:03 PM11/1/21
to
Package: boomaga
Version: 3.0.0-1+b1
Severity: important
Tags: patch upstream
X-Debbugs-Cc: sh20...@mail.ru

Hello,

while trying to print a PDF from Okular with Boomaga, it shows me an error
dialog with the following message:

Не получилось запустить gs: "GPL Ghostscript 9.54.0: Unrecoverable error, exit
code 1
"

That happens because of deprecation of .setpdfwrite. The full stderr of gs
looks as follows:

Error: /undefined in .setpdfwrite
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:731/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
Current allocation mode is local
GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1

When running with older gs version, you may get the following deprecation
warning:

**** WARNING: The .setpdfwrite operator has been deprecated and will be removed
entirely
in the next release of Ghostscript. The functionality of this
operator has
been reduced to increasing the size of the VM threshold. If you
believe you
have a real need for this then you should replace your call to
.setpdfwrite
with:

3000000 setvmthreshold

Similar bug report is present in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/lazarus/+bug/1949192.

See also the upstream issue on GitHub:
https://github.com/Boomaga/boomaga/issues/107

According to the deprecation warning in older version, it seems just reasonable
to remove "-c .setpdfwrite" from command line options.

Attaching a patch to fix this bug as well.


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

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

Versions of packages boomaga depends on:
ii cups 2.3.3op2-7
ii libc6 2.32-4
ii libcups2 2.3.3op2-7
ii libgcc-s1 [libgcc1] 11.2.0-10
ii libpoppler-cpp0v5 20.09.0-3.1
ii libqt5core5a 5.15.2+dfsg-12
ii libqt5dbus5 5.15.2+dfsg-12
ii libqt5gui5 5.15.2+dfsg-12
ii libqt5printsupport5 5.15.2+dfsg-12
ii libqt5widgets5 5.15.2+dfsg-12
ii libstdc++6 11.2.0-10
ii zlib1g 1:1.2.11.dfsg-2

boomaga recommends no packages.

boomaga suggests no packages.

-- no debconf information

fix-ghostscript-9.54-incompat.patch

Jarek Janik

unread,
Sep 8, 2023, 11:20:05 PM9/8/23
to
Dear maintainer,

could you kindly apply the aforementioned patch? It's been almost 2
years since this bug report and now we have this bug in stable.

The patch has been accepted upstream ([1]), and I can confirm as well,
that applying this patch to bookworm's sources of boomaga and rebuilding
has solved the issue.

Thanks.

[1]
https://github.com/Boomaga/boomaga/pull/108/commits/4eba2612773593e5d5d1c331ee1de9d2e614ded6

--
JJ

Lisandro Damián Nicanor Pérez Meyer

unread,
Sep 8, 2023, 11:30:05 PM9/8/23
to
Hi!

On Sat, 9 Sept 2023 at 00:12, Jarek Janik
Yes, sure thing, I'll do it as soon as possible.



--
Lisandro Damián Nicanor Pérez Meyer
https://perezmeyer.com.ar/

Lisandro Damián Nicanor Pérez Meyer

unread,
Sep 10, 2023, 11:50:04 AM9/10/23
to
tag 998283 pending
thanks
0 new messages