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

stumbling blocks for Arch users #79

Open archenemies opened 5 years ago

archenemies commented 5 years ago

Hello,

I've been trying to try your software, but I'm running into various problems.

pacaur -S boomaga

leads to: http://ix.io/1COZ

pacaur -S boomaga-git

leads to: http://ix.io/1CP1 (are these build errors something that could be detected during configuration time?)

Building from recent Git source leads to:

$ sudo tail -f /var/log/cups/error_log | grep -i boomaga
W [07/Mar/2019:11:41:44 -0800] [Job 2028] [Boomaga GUI] WARNING: Can\'t read DBUS session direcory /var/spool/cups/tmp/.dbus/session-bus
W [07/Mar/2019:11:41:45 -0800] [Job 2028] [Boomaga GUI] WARNING: Can\'t start boomaga  via DBus org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.boomaga received signal 6
W [07/Mar/2019:11:41:45 -0800] [Job 2028] [Boomaga GUI] WARNING: Can\'t start boomaga  via DBus org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.boomaga received signal 6
E [07/Mar/2019:11:41:45 -0800] [Job 2028] [Boomaga GUI] ERROR: Can\'t start boomaga gui.
W [07/Mar/2019:11:49:01 -0800] [Job 2029] [Boomaga GUI] WARNING: Can\'t read DBUS session direcory /var/spool/cups/tmp/.dbus/session-bus
W [07/Mar/2019:11:49:01 -0800] [Job 2029] [Boomaga GUI] WARNING: Can\'t start boomaga  via DBus org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.boomaga received signal 6
E [07/Mar/2019:11:49:01 -0800] [Job 2029] [Boomaga GUI] ERROR: Can\'t start boomaga gui.

Maybe related to issue #9?

Anyway I just upgraded and I don't think I'm doing anything particularly strange on my system, so that probably means that no Arch users can use this project in its current state, without some hacking.

By the way I don't see very much documentation in the sources about how the system is talking to DBus and which Systemd services are being used or installed. For example if Boomaga is indeed using Qt then I would need to modify some service so that it runs with the qt5noblink shim. The Wiki seems to have better information. Still lots of questions though. E.g. how do I use it with multiple printers with different paper sizes or duplex capabilities?... Hope this helps.

SokoloffA commented 5 years ago

Hi!

About pacaur -S boomaga I'm not a guru in packaging for Arch, but it looks like PKGBUILD is broken.

$ wget https://github.com/Boomaga/boomaga/archive/v1.3.0.tar.gz
$ md5sum v1.3.0.tar.gz 
a2176489b343f6bd1813a82a4ff9a8cb  v1.3.0.tar.gz

PKGBUILD contains valid sum on line 19, but it overwrites on 47 line.

About pacaur -S boomaga-git The PKGBUILD use the Develop branch, but this branch has not been updated since 2016. All development is in the Master branch.

Please contact the package maintainers.

About Can't start boomaga gui Please enable debugging for CUPS and send me the logs. https://github.com/Boomaga/boomaga/wiki/Debugging

About documentation. I will try to describe how the backend works. But my English is terrible, if someone will help me to correct and extend the documentation, I will be happy.

About multiple printers Ask specific questions, I will answer. Maybe we'll make a FAQ.

SokoloffA commented 5 years ago

I wrote the article Boomaga backed, how it works

archenemies commented 5 years ago

@SokoloffA thank you for the reply! I like your documentation, I understood the English but did you mean 'dbus-send' not 'bus-send'? Otherwise it was interesting, I have never actually seen a use of dbus described from a technical standpoint, it has always been something mysterious. I don't think anyone needs the grammar to be perfect.

I wrote to the AUR package maintainers, linking to this issue.

I will let you know if I have time to help with debugging. Unfortunately I have some other priorities which will have to take precedence in my life for now.

hoky24 commented 5 years ago

@archenemies: I fixed the boomaga-git package. If you find the bug in this package, please report it to https://aur.archlinux.org/packages/boomaga-git. Login is probably required. Thank you

SokoloffA commented 5 years ago

@archenemies Of course I meant dbus-send, it's a copy-paste error. Thanks for your attention! @hoky24 Thanks!