Boomaga / boomaga

Boomaga provides a virtual printer for CUPS. This can be used for print preview or for print booklets.
Other
183 stars 34 forks source link

[Boomaga GUI] ERROR: Can\'t start boomaga gui. #102

Open zenny opened 3 years ago

zenny commented 3 years ago

Hi,

I built the Boomaga using scripts/buildLocal.sh script from master repo. But when I print from any app to the Boomaga printer, I get [Boomaga GUI] ERROR: Can\'t start boomaga gui. despite Boomaga GUI opens from executing boomaga from command line.

The cups error log looks like:

D [31/Mar/2021:11:20:09 +0200] [Job 783] Applying default options...
I [31/Mar/2021:11:20:09 +0200] [Job 783] Adding start banner page "none".
I [31/Mar/2021:11:20:09 +0200] [Job 783] Adding end banner page "none".
I [31/Mar/2021:11:20:09 +0200] [Job 783] File of type application/pdf queued by "zenny".
D [31/Mar/2021:11:20:09 +0200] [Job 783] hold_until=0
I [31/Mar/2021:11:20:09 +0200] [Job 783] Queued on "Boomaga" by "zenny".
D [31/Mar/2021:11:20:09 +0200] [Job 783] time-at-processing=1617182409
D [31/Mar/2021:11:20:09 +0200] [Job 783] 1 filters for job:
D [31/Mar/2021:11:20:09 +0200] [Job 783] - (application/pdf to printer/Boomaga, cost 0)
D [31/Mar/2021:11:20:09 +0200] [Job 783] job-sheets=none,none
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[0]="Boomaga"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[1]="783"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[2]="zenny"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[3]="/home/zenny/PDF/eng-blankett-ip-begaran.pdf__non-Linux-generated_files-job_782.pdf"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[4]="1"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[5]="PageSize=Letter Resolution=600dpi overridea4withletter=yes noCollate Duplex=None edgetoedge=yes joboffset=on manualduplex=off manualfeed=off number-up=1 borderless=on lowsupplies=continue ret=notset job-uuid=urn:uuid:b3bfdf33-d6b4-3c26-4e78-63484c27b244 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1617182409 time-at-processing=1617182409"
D [31/Mar/2021:11:20:09 +0200] [Job 783] argv[6]="/var/spool/cups/d00783-001"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[7]="CUPS_STATEDIR=/run/cups"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[8]="HOME=/var/spool/cups/tmp"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[10]="SERVER_ADMIN=root@US"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[11]="SOFTWARE=CUPS/2.3.3op2"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[13]="USER=root"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[14]="CUPS_MAX_MESSAGE=2047"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[17]="IPP_PORT=631"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[18]="CHARSET=utf-8"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[19]="LANG=en_US.UTF-8"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[20]="PPD=/etc/cups/ppd/Boomaga.ppd"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[21]="RIP_MAX_CACHE=128m"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[22]="CONTENT_TYPE=application/pdf"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[23]="DEVICE_URI=boomaga:/"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[24]="PRINTER_INFO=Boomaga"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[25]="PRINTER_LOCATION="
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[26]="PRINTER=Boomaga"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[27]="PRINTER_STATE_REASONS=none"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[28]="CUPS_FILETYPE=document"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[29]="FINAL_CONTENT_TYPE=printer/Boomaga"
D [31/Mar/2021:11:20:09 +0200] [Job 783] envp[30]="AUTH_I****"
I [31/Mar/2021:11:20:09 +0200] [Job 783] Started backend /usr/lib/cups/backend/boomaga (PID 28443)
D [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga backend] DEBUG: Create user directory /var/cache/boomaga
D [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga backend] DEBUG: User directory /var/cache/boomaga/zenny saccefully created
D [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga backend] DEBUG: Create job file /var/cache/boomaga/zenny/in_783.cboo.autoremove
D [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga GUI] INFO: Start boomaga \'/var/cache/boomaga/zenny/in_783.cboo.autoremove\'
D [31/Mar/2021:11:20:09 +0200] [Job 783] Set job-printer-state-message to "[Boomaga GUI] INFO: Start boomaga \'/var/cache/boomaga/zenny/in_783.cboo.autoremove\'", current level=INFO
D [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga GUI] DEBUG: Start boomaga:  /var/cache/boomaga/zenny/in_783.cboo.autoremove
W [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga GUI] WARNING: Can\'t read DBUS session directory /var/spool/cups/tmp/.dbus/session-bus
D [31/Mar/2021:11:20:09 +0200] [Job 783] Set job-printer-state-message to "[Boomaga GUI] WARNING: Can\'t read DBUS session directory /var/spool/cups/tmp/.dbus/session-bus", current level=WARN
E [31/Mar/2021:11:20:09 +0200] [Job 783] [Boomaga GUI] ERROR: Can\'t start boomaga gui.
D [31/Mar/2021:11:20:09 +0200] [Job 783] Set job-printer-state-message to "[Boomaga GUI] ERROR: Can\'t start boomaga gui.", current level=ERROR
D [31/Mar/2021:11:20:09 +0200] [Job 783] PID 28443 (/usr/lib/cups/backend/boomaga) exited with no errors.
D [31/Mar/2021:11:20:09 +0200] [Job 783] time-at-completed=1617182409
I [31/Mar/2021:11:20:09 +0200] [Job 783] Job completed.
D [31/Mar/2021:11:20:10 +0200] [Job 783] Unloading...
zenny commented 3 years ago

Bump! This issue appears recurring despite recompilation.

Cris70 commented 2 years ago

I think this is a duplicate of #101