Printing from Lazarus using Boomaga fails

Bug #1949192 reported by Norbert
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
boomaga (Ubuntu)
Confirmed
Undecided
Unassigned
ghostscript (Ubuntu)
Invalid
Undecided
Unassigned
lazarus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Install Lazarus and Boomaga by

     sudo apt-get install lazarus* boomaga

2. Launch Lazarus, print current file in the editor using Boomaga (<Ctrl>+<P>)

Expected results
* printing success

Actual results:

* Boomaga shows the error
      I can't start gs converter: "GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1"

Some logs:

```

==> /var/log/syslog <==
Oct 29 15:13:39 i brisk-menu[1635]: Could not load a pixbuf from icon theme.#012This may indicate that pixbuf loaders or the mime database could not be found.
Oct 29 15:13:41 i startlazarus-2.[26079]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:13:41 i startlazarus-2.[26079]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26079]: [DEBUG] Name com.canonical.AppMenu.Registrar does not exist on the session bus
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26079]: Info: (startlazarus) [TLazarusManager.Run] starting /usr/lib/lazarus/2.0.12/lazarus ...
Oct 29 15:13:41 i lazarus[26096]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:13:41 i lazarus[26096]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26079]: Info: (startlazarus) [TLazarusManager.Run] exe/usr/lib/lazarus/2.0.12/lazarus Params=[--
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26096]: Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/i/.lazarus"
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26096]: Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
Oct 29 15:13:41 i org.mate.panel.applet.BriskMenuFactory[26096]: Looking for code tools config file: "/home/i/.lazarus/codetoolsoptions.xml"
Oct 29 15:13:42 i lazarus[26096]: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
Oct 29 15:13:42 i lazarus[26096]: message repeated 14 times: [ IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed]
Oct 29 15:13:57 i lazarus[26096]: ../../../gobject/gsignal.c:2614: signal 'populate-popup' is invalid for instance '0x55bc5c64ab60' of type 'GtkCellView'
Oct 29 15:14:00 i dbus-daemon[1255]: [session uid=1000 pid=1255] Activating service name='org.boomaga' requested by ':1.102' (uid=1000 pid=26130 comm="boomaga --started-from-cups /var/cache/boomaga/i/i" label="/usr/sbin/cupsd//third_party (enforce)")
Oct 29 15:14:00 i boomaga[26133]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:14:00 i boomaga[26133]: Unable to locate theme engine in module_path: "adwaita",
Oct 29 15:14:00 i dbus-daemon[1255]: [session uid=1000 pid=1255] Successfully activated service 'org.boomaga'
Oct 29 15:14:01 i wnck-applet[1627]: XID collision, trouble ahead
Oct 29 15:14:01 i boomaga[26133]: invalid source position for vertical gradient
Oct 29 15:14:01 i boomaga[26133]: invalid source position for vertical gradient
Oct 29 15:14:02 i org.boomaga[26133]: I can't start gs converter: "GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1
Oct 29 15:14:02 i org.boomaga[26133]: "

```

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: lazarus-ide 2.0.12+dfsg-1
ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
Uname: Linux 5.13.0-19-generic x86_64
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Fri Oct 29 14:51:03 2021
InstallationDate: Installed on 2021-10-14 (14 days ago)
InstallationMedia: Ubuntu-MATE 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
SourcePackage: lazarus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in boomaga (Ubuntu):
status: New → Confirmed
Changed in ghostscript (Ubuntu):
status: New → Confirmed
Changed in lazarus (Ubuntu):
status: New → Confirmed
Revision history for this message
mrvanes (mrvanes) wrote :

This seems fixed upstream https://github.com/Boomaga/boomaga/pull/108
But it has not been released due to time constraints of the maintainer.
Can the patch be backported to Ubuntu Jammy package 3.0.0-1build1 please?

Changed in ghostscript (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.