Re: [gentoo-user] printing pdfs
On Saturday, 30 May 2020 19:25:41 BST Neil Bothwick wrote: > On Sat, 30 May 2020 09:06:16 -0400, james wrote: > > Yea, the QT issues, happen every time the bleeding edge (of qt) > > releases. Once I get the packages all upgraded, the bleeding edge qt > > stuff works great (thanks to all the gentooers that work on qt!). > > You're not using bleeding edge Qt, 5.14.2 is from the stable tree. 5.15.0 > hit testing last week. ...and it's caused, or exposed, bug 726154 in virtualbox. -- Regards, Peter.
Re: [gentoo-user] printing pdfs
On Sat, 30 May 2020 09:06:16 -0400, james wrote: > Yea, the QT issues, happen every time the bleeding edge (of qt) > releases. Once I get the packages all upgraded, the bleeding edge qt > stuff works great (thanks to all the gentooers that work on qt!). You're not using bleeding edge Qt, 5.14.2 is from the stable tree. 5.15.0 hit testing last week. -- Neil Bothwick Every morning is the dawn of a new error... pgpGfY3v3yl6A.pgp Description: OpenPGP digital signature
Re: [gentoo-user] printing pdfs
On Sat, May 30, 2020, at 14:54, james wrote: > # qlist -ICv dev-qt/ > dev-qt/designer-5.14.2 > dev-qt/linguist-5.14.2 > dev-qt/linguist-tools-5.14.2 > dev-qt/qt-creator-4.8.2 > dev-qt/qt-docs-5.14.2_p202003291239 > dev-qt/qt3d-5.14.2 > dev-qt/qtchooser-66 > dev-qt/qtconcurrent-5.14.2 > dev-qt/qtcore-5.14.2 > dev-qt/qtdatavis3d-5.14.2 > dev-qt/qtdbus-5.14.2 > dev-qt/qtdeclarative-5.14.2 > dev-qt/qtdiag-5.14.2 > dev-qt/qtgraphicaleffects-5.14.2 > dev-qt/qtgui-5.14.2 > dev-qt/qthelp-5.14.2 > dev-qt/qtimageformats-5.14.2 > dev-qt/qtlockedfile-2.4.1_p20171024 > dev-qt/qtmultimedia-5.14.2 > dev-qt/qtnetwork-5.14.2 > dev-qt/qtopengl-5.14.2 > dev-qt/qtpositioning-5.14.2 > dev-qt/qtprintsupport-5.14.2 > dev-qt/qtquickcontrols-5.14.1 > dev-qt/qtscript-5.14.2 > dev-qt/qtsingleapplication-2.6.1_p20171024 > dev-qt/qtsql-5.14.2 > dev-qt/qtsvg-5.14.1 > dev-qt/qttest-5.14.2 > dev-qt/qtwayland-5.14.2 > dev-qt/qtwebchannel-5.14.2 > dev-qt/qtwebengine-5.14.2 > dev-qt/qtwebkit-5.212.0_pre20200309-r1 > dev-qt/qtwidgets-5.14.2 > dev-qt/qtx11extras-5.14.2 Most of your Qt packages have the 5.14.2 version, except dev-qt/qtquickcontrols and dev-qt/qtsvg which are still at 5.14.1. Please try upgrading them: # emerge -av1 =dev-qt/qtquickcontrols-5.14.2 =dev-qt/qtsvg-5.14.2 -- https://fturco.net/
Re: [gentoo-user] printing pdfs
On Sat, May 30, 2020 at 09:06:16AM -0400, james wrote: > After thumping all teh cups codes, it works again, but some office files > from a pc that were originated in europe, cause the print to hickup. The hp > printer complained about version 1 version 2 on the tiny hp display. > Rebooted several times and all my linux printing started working again. I > have the original hp firmware (10 years old). I do not trust the updated hp > firmwares, for several reason H.P.\ software is just horrible in general. They are one of "those" companies that treat Linux users as second-class citizens. The ppd files they distribute are full of bugs; I remember spending multiple weeks fixing the description file for their then-newest home printer, and I still never got the scanner working (their own software segfaulted, and customer support told me to download Windows as a fix). After a while, I gave up and bought a Lexmark B2442 laser printer, since I only ever print text documents. It has never given me any problems. The `ppd` files work out of the box. Coming from H.P., it is a lovely experience. -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
Re: [gentoo-user] printing pdfs
On 5/29/20 1:20 AM, Ashley Dixon wrote: On Thu, May 28, 2020 at 04:11:46PM -0400, james wrote: Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf files for decades to come. So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" How is your printer connected ? If it's using The Common Unix Print System (C.U.P.S.) as many do, try the lpr command (from `net-print/cups`). The server on which C.U.P.S.\ is running is specified with the `-H ` argument, and various options can be specified with `-o `. To take the example from the man page of lpr: Print a double-sided legal document to a printer called "foo": $ lpr -P foo -o media=legal -o sides=two-sided-long-edge filename If your printer is remote, as mine is (on a server called `genserv`), you can do the following: $ lpr -H genserv -o sides=two-sided-long-edge paper.pdf works great ! This is not a suggestion that you abandon the issue of mismatched Qt library versions, but rather a simple workaround to use while the various Qt programs get up-to-date with the latest versions of the libraries. Yea, the QT issues, happen every time the bleeding edge (of qt) releases. Once I get the packages all upgraded, the bleeding edge qt stuff works great (thanks to all the gentooers that work on qt!). Providing C.U.P.S.\ is configured correctly with all the appropriate `ppd` files for your particular printer model, lpr should work out-of-the-box. After thumping all teh cups codes, it works again, but some office files from a pc that were originated in europe, cause the print to hickup. The hp printer complained about version 1 version 2 on the tiny hp display. Rebooted several times and all my linux printing started working again. I have the original hp firmware (10 years old). I do not trust the updated hp firmwares, for several reason Thanks Ashley
Re: [gentoo-user] printing pdfs
On 5/30/20 3:58 AM, Neil Bothwick wrote: On Fri, 29 May 2020 18:30:21 -0400, james wrote: Correct. I tried to trim it down. So here is the full output: # eix --category dev-qt --installed --compact [?] dev-qt/designer (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): WYSIWYG tool for designing and building graphical user interfaces with QtWidgets [?] dev-qt/linguist-tools (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Tools for working with Qt translation data files [I] dev-qt/qt-creator (4.8.2@05/24/2020): Lightweight IDE for C++/QML development centering around Qt For a much easier to parse (and more email friendly) output, try qlist -ICv dev-qt/ Thx Neil && Jack: # qlist -ICv dev-qt/ dev-qt/designer-5.14.2 dev-qt/linguist-5.14.2 dev-qt/linguist-tools-5.14.2 dev-qt/qt-creator-4.8.2 dev-qt/qt-docs-5.14.2_p202003291239 dev-qt/qt3d-5.14.2 dev-qt/qtchooser-66 dev-qt/qtconcurrent-5.14.2 dev-qt/qtcore-5.14.2 dev-qt/qtdatavis3d-5.14.2 dev-qt/qtdbus-5.14.2 dev-qt/qtdeclarative-5.14.2 dev-qt/qtdiag-5.14.2 dev-qt/qtgraphicaleffects-5.14.2 dev-qt/qtgui-5.14.2 dev-qt/qthelp-5.14.2 dev-qt/qtimageformats-5.14.2 dev-qt/qtlockedfile-2.4.1_p20171024 dev-qt/qtmultimedia-5.14.2 dev-qt/qtnetwork-5.14.2 dev-qt/qtopengl-5.14.2 dev-qt/qtpositioning-5.14.2 dev-qt/qtprintsupport-5.14.2 dev-qt/qtquickcontrols-5.14.1 dev-qt/qtscript-5.14.2 dev-qt/qtsingleapplication-2.6.1_p20171024 dev-qt/qtsql-5.14.2 dev-qt/qtsvg-5.14.1 dev-qt/qttest-5.14.2 dev-qt/qtwayland-5.14.2 dev-qt/qtwebchannel-5.14.2 dev-qt/qtwebengine-5.14.2 dev-qt/qtwebkit-5.212.0_pre20200309-r1 dev-qt/qtwidgets-5.14.2 dev-qt/qtx11extras-5.14.2 qlist -ICv dev-qt/ | wc -l 36 Those are the installed. It's trying to upgrade to the latest: It's trying now to downgrade any to 5.13.2, or 5.14.1 etc. I'd rather just block them for now until the 5.14.2 stabilizes? Any quick (syntax) suggestions on locking into the newest offerings for qt* would be keen, as what I have tried, to date, does not seem to placate the qt_beast. Since purging python 2.7 pathway is underhand (not complaining) I figured I might as well be up on the latest qt*, as the newest codes always seem to work for me. My next gentoo install will be all testing/edge codes. Note: I also use a wide variety of secondary sources for ebuilds, for example: sync-uri = rsync://roverlay.dev.gentoo.org/roverlay I suspect the problem(s), that are recurring upgrades with qt* may be do to the latest release of qt packages, these extra repos, or something unknown to me as a necessary sequence to upgrade qt packages. It is a recurring problem. hth, James
Re: [gentoo-user] printing pdfs
On Fri, 29 May 2020 18:30:21 -0400, james wrote: > Correct. > I tried to trim it down. So here is the full output: > > > > # eix --category dev-qt --installed --compact > [?] dev-qt/designer (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): > WYSIWYG tool for designing and building graphical user interfaces with > QtWidgets > [?] dev-qt/linguist-tools (5.14.2(5/5.14)@05/24/2020 -> > (~)5.14.1(5/5.14)^t): Tools for working with Qt translation data files > [I] dev-qt/qt-creator (4.8.2@05/24/2020): Lightweight IDE for C++/QML > development centering around Qt For a much easier to parse (and more email friendly) output, try qlist -ICv dev-qt/ -- Neil Bothwick I'd tell you a UDP joke, but you may not get it. pgpa_HIYXg0S6.pgp Description: OpenPGP digital signature
Re: [gentoo-user] printing pdfs
On 5/29/20 6:30 PM, james wrote: On 5/28/20 7:34 PM, Jack wrote: On 2020.05.28 19:04, james wrote: On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: [snip.] [leaving only one line...] U ~] dev-python/qtawesome-0.7.2 [0.7.1] That's not output from the above command (dev-python wouldn't be there.)� Please show the output of the above eix command, or perhaps try "eix-installed -a | grep dev-qt" for another look to be sure all are at the same version. Correct. I tried to trim it down. So here is the full output: The formats even look different. Is the above a trimmed version of what is below, or output from a different command? (and no, it doesn't really matter.) # eix --category dev-qt --installed --compact [?] dev-qt/designer (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): WYSIWYG tool for designing and building graphical user interfaces with QtWidgets [?] dev-qt/linguist-tools (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Tools for working with Qt translation data files [I] dev-qt/qt-creator (4.8.2@05/24/2020): Lightweight IDE for C++/QML development centering around Qt [?] dev-qt/qt-docs (5.14.2_p202003291239(5)@05/24/2020 -> 5.13.2_p201910220817(5)): Qt5 documentation, for use with Qt Creator and other tools [?] dev-qt/qt3d (5.14.2(5/5.14)@05/26/2020 -> 5.13.2(5/5.13)^t): 3D rendering module for the Qt5 framework [I] dev-qt/qtchooser (66@11/06/2019): Tool to quickly switch between multiple Qt installations [?] dev-qt/qtconcurrent (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Multi-threading concurrence support library for the Qt5 framework [?] dev-qt/qtcore (5.14.2(5/5.14.2)@05/15/2020 -> (~)5.14.1-r1(5/5.14)^t): Cross-platform application development framework [?] dev-qt/qtdatavis3d (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): 3D data visualization library for the Qt5 framework [?] dev-qt/qtdbus (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Qt5 module for inter-process communication over the D-Bus protocol [?] dev-qt/qtdeclarative (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1-r1(5/5.14)^t): The QML and Quick modules for the Qt5 framework [?] dev-qt/qtdiag (5.14.2(5/5.14)@05/24/2020 -> ~5.14.1(5/5.14)^t): Tool for reporting diagnostic information about Qt and its environment [?] dev-qt/qtgraphicaleffects (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Set of QML types for adding visual effects to user interfaces [?] dev-qt/qtgui (5.14.2(5/5.14.2)@05/15/2020 -> (~)5.14.1-r3(5/5.14.1)^t): The GUI module and platform plugins for the Qt5 framework [?] dev-qt/qthelp (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Qt5 module for integrating online documentation into applications [?] dev-qt/qtimageformats (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Additional format plugins for the Qt image I/O system [I] dev-qt/qtlockedfile (2.4.1_p20171024@11/12/2019): QFile extension with advisory locking functions [?] dev-qt/qtmultimedia (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Multimedia (audio, video, radio, camera) library for the Qt5 framework [?] dev-qt/qtnetwork (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Network abstraction library for the Qt5 framework [?] dev-qt/qtopengl (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): OpenGL support library for the Qt5 framework (deprecated) [?] dev-qt/qtpositioning (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Physical position determination library for the Qt5 framework [?] dev-qt/qtprintsupport (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Printing support library for the Qt5 framework [I] dev-qt/qtquickcontrols (5.14.1(5/5.14)@02/21/2020): Set of Qt Quick controls to create complete user interfaces (deprecated) [?] dev-qt/qtscript (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Application scripting library for the Qt5 framework (deprecated) [I] dev-qt/qtsingleapplication (2.6.1_p20171024@11/12/2019): Qt library to start applications only once per user [?] dev-qt/qtsql (5.14.2(5/5.14.2)@05/24/2020 -> (~)5.14.1(5/5.14.1)^t): SQL abstraction library for the Qt5 framework [I] dev-qt/qtsvg (5.14.1(5/5.14)@01/30/2020): SVG rendering library for the Qt5 framework [?] dev-qt/qttest (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Unit testing library for the Qt5 framework [?] dev-qt/qtwayland (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1-r1(5/5.14)^t): Wayland platform plugin for Qt [?] dev-qt/qtwebchannel (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Qt5 module for integrating C++ and QML applications with HTML/JavaScript clients [?] dev-qt/qtwebengine (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Library for rendering dynamic web content in Qt5 C++ and QML applications [?] dev-qt/qtwebkit (5.212.0_pre20200309-r1(5/5.212)@04/08/2020 -> 5.212.0_pre20190629(5/5.212)): WebKit rendering library for the Qt5 framework (deprecated) [?] dev-qt/qtwidgets (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Set of
Re: [gentoo-user] printing pdfs
On 5/28/20 7:34 PM, Jack wrote: On 2020.05.28 19:04, james wrote: On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact 35 matches. Yes I run lxde and many qt codes. Perhaps better these are currenly blocked (will not update) qt: U ~] dev-qt/qtcore-5.15.0 [5.14.2] �U ~] dev-qt/qtxml-5.15.0 [5.14.2] U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" U ~] dev-qt/qttest-5.15.0 [5.14.2] U ~] dev-qt/qtdbus-5.15.0 [5.14.2] U ~] dev-qt/qtgui-5.15.0 [5.14.2] U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] U ~] dev-qt/qtopengl-5.15.0 [5.14.2] U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] U ~] dev-qt/qtwayland-5.15.0 [5.14.2] U ~] dev-python/qtawesome-0.7.2 [0.7.1] That's not output from the above command (dev-python wouldn't be there.)� Please show the output of the above eix command, or perhaps try "eix-installed -a | grep dev-qt" for another look to be sure all are at the same version. Correct. I tried to trim it down. So here is the full output: # eix --category dev-qt --installed --compact [?] dev-qt/designer (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): WYSIWYG tool for designing and building graphical user interfaces with QtWidgets [?] dev-qt/linguist-tools (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Tools for working with Qt translation data files [I] dev-qt/qt-creator (4.8.2@05/24/2020): Lightweight IDE for C++/QML development centering around Qt [?] dev-qt/qt-docs (5.14.2_p202003291239(5)@05/24/2020 -> 5.13.2_p201910220817(5)): Qt5 documentation, for use with Qt Creator and other tools [?] dev-qt/qt3d (5.14.2(5/5.14)@05/26/2020 -> 5.13.2(5/5.13)^t): 3D rendering module for the Qt5 framework [I] dev-qt/qtchooser (66@11/06/2019): Tool to quickly switch between multiple Qt installations [?] dev-qt/qtconcurrent (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Multi-threading concurrence support library for the Qt5 framework [?] dev-qt/qtcore (5.14.2(5/5.14.2)@05/15/2020 -> (~)5.14.1-r1(5/5.14)^t): Cross-platform application development framework [?] dev-qt/qtdatavis3d (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): 3D data visualization library for the Qt5 framework [?] dev-qt/qtdbus (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Qt5 module for inter-process communication over the D-Bus protocol [?] dev-qt/qtdeclarative (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1-r1(5/5.14)^t): The QML and Quick modules for the Qt5 framework [?] dev-qt/qtdiag (5.14.2(5/5.14)@05/24/2020 -> ~5.14.1(5/5.14)^t): Tool for reporting diagnostic information about Qt and its environment [?] dev-qt/qtgraphicaleffects (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Set of QML types for adding visual effects to user interfaces [?] dev-qt/qtgui (5.14.2(5/5.14.2)@05/15/2020 -> (~)5.14.1-r3(5/5.14.1)^t): The GUI module and platform plugins for the Qt5 framework [?] dev-qt/qthelp (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Qt5 module for integrating online documentation into applications [?] dev-qt/qtimageformats (5.14.2(5/5.14)@05/24/2020 -> 5.13.2(5/5.13)^t): Additional format plugins for the Qt image I/O system [I] dev-qt/qtlockedfile (2.4.1_p20171024@11/12/2019): QFile extension with advisory locking functions [?] dev-qt/qtmultimedia (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Multimedia (audio, video, radio, camera) library for the Qt5 framework [?] dev-qt/qtnetwork (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Network abstraction library for the Qt5 framework [?] dev-qt/qtopengl (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): OpenGL support library for the Qt5 framework (deprecated) [?] dev-qt/qtpositioning (5.14.2(5/5.14)@05/15/2020 -> (~)5.14.1(5/5.14)^t): Physical position determination library for the Qt5 framework [?] dev-qt/qtprintsupport (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Printing support library for the Qt5 framework [I] dev-qt/qtquickcontrols (5.14.1(5/5.14)@02/21/2020): Set of Qt Quick controls to create complete user interfaces (deprecated) [?] dev-qt/qtscript (5.14.2(5/5.14)@05/24/2020 -> (~)5.14.1(5/5.14)^t): Application scripting library for the Qt5 framework (deprecated) [I] dev-qt/qtsingleapplication (2.6.1_p20171024@11/12/2019): Qt library to start applications only once per user [?] dev-qt/qtsql (5.14.2(5/5.14.2)@05/24/2020 -> (~)5.14.1(5/5.14.1)^t): SQL abstraction library for the Qt5 framework [I]
Re: [gentoo-user] printing pdfs
On Fri, May 29, 2020, at 01:04, james wrote: > (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) > USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts with > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist > -connman -debug -gssapi -libproxy -networkmanager -sctp -test" > ABI_X86="(64)" > ^^^ > ~dev-qt/qtcore-5.14.2 required by > (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) USE="-debug > -test" ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5= required by > (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" > ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets > -debug -test" ABI_X86="(64)" Please try with: # emerge -av1 $(eix --category dev-qt --installed --only-names) You may also try adding the -n (--noreplace) emerge option if you want. -- https://fturco.net/
Re: [gentoo-user] printing pdfs
On Thu, May 28, 2020 at 04:11:46PM -0400, james wrote: > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf files > for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" How is your printer connected ? If it's using The Common Unix Print System (C.U.P.S.) as many do, try the lpr command (from `net-print/cups`). The server on which C.U.P.S.\ is running is specified with the `-H ` argument, and various options can be specified with `-o `. To take the example from the man page of lpr: Print a double-sided legal document to a printer called "foo": $ lpr -P foo -o media=legal -o sides=two-sided-long-edge filename If your printer is remote, as mine is (on a server called `genserv`), you can do the following: $ lpr -H genserv -o sides=two-sided-long-edge paper.pdf This is not a suggestion that you abandon the issue of mismatched Qt library versions, but rather a simple workaround to use while the various Qt programs get up-to-date with the latest versions of the libraries. Providing C.U.P.S.\ is configured correctly with all the appropriate `ppd` files for your particular printer model, lpr should work out-of-the-box. -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] printing pdfs
comrades, Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf files for decades to come. So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Not being able to print pdf files is simply a no-go for me. I have no intention of converting 10K+ pdf files to another format... Suggestions are most welcome, as what I have google-read, it's a mess and I'm no closer to a gentoo centric solution. James
Re: [gentoo-user] printing pdfs
james wrote: > On 5/28/20 4:30 PM, Francesco Turco wrote: >> On Thu, May 28, 2020, at 22:11, james wrote: >>> So what application/strategy gets me past errors like this: >>> >>> "Cannot mix incompatible Qt library (version 0x50e01) with this library >>> (version 0x50e02)" >> >> Which application are you printing from? >> I guess it's a Qt application. In that case, please verify that all >> packages in the dev-qt category on your system have the same version >> number. >> >> You can use eix, for example: >> >> $ eix --category dev-qt --installed --compact >> > > 35 matches. Yes I run lxde and many qt codes. > > Perhaps better these are currenly blocked (will not update) qt: > > U ~] dev-qt/qtcore-5.15.0 [5.14.2] > U ~] dev-qt/qtxml-5.15.0 [5.14.2] > U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" > U ~] dev-qt/qttest-5.15.0 [5.14.2] > U ~] dev-qt/qtdbus-5.15.0 [5.14.2] > > U ~] dev-qt/qtgui-5.15.0 [5.14.2] > U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] > U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] > U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] > U ~] dev-qt/qtopengl-5.15.0 [5.14.2] > U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] > U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] > U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] > U ~] dev-qt/qtwayland-5.15.0 [5.14.2] > U ~] dev-python/qtawesome-0.7.2 [0.7.1] > > > > Not staying up with the very latest qt packages, causes even more > problems. I usually have to wait, up to 7 days, as the others trickle > in and the all the qt packages will install. Sometime I have to remove > them all, then do the upgrade. > > This is the first time it has affected pdf files. > > Palemoon will not even load pdfs, at least this version:: > > NewMoon: 28.9.3 (the unofficial build of PaleMoon.) > > I'll guess I just wait a few days and see what trickles in on qqt > upgrades: > > > (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) > USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts > with > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist > -connman -debug -gssapi -libproxy -networkmanager -sctp -test" > ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2 required by > (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) > USE="-debug -test" ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5= required by > (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" > ABI_X86="(64)" > ^ ^^ > ~dev-qt/qtcore-5.14.2:5/5.14.2= required by > (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets > -debug -test" ABI_X86="(64)" > > > I to have quite a few qt packages. I sync once a week so maybe this makes some difference. However, when I see one upgrade, they all upgrade at the same time. I have around 30 packages installed here and they tend to all update together. Do you have some setting somewhere that is blocking some of the updates? USE flag maybe? One thing I've noticed, if you add one to use unstable packages, you have to do them all. It's either all of them or none. I don't think I've ever seen a time where one can be out of sync with the others. It may help if you would post the errors you are getting and the commands you are running to get them. It's pretty much impossible to help when we don't know what is failing and why. Error messages help to figure out what is failing. Dale :-) :-)
Re: [gentoo-user] printing pdfs
On 2020.05.28 19:04, james wrote: On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact 35 matches. Yes I run lxde and many qt codes. Perhaps better these are currenly blocked (will not update) qt: U ~] dev-qt/qtcore-5.15.0 [5.14.2] U ~] dev-qt/qtxml-5.15.0 [5.14.2] U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" U ~] dev-qt/qttest-5.15.0 [5.14.2] U ~] dev-qt/qtdbus-5.15.0 [5.14.2] U ~] dev-qt/qtgui-5.15.0 [5.14.2] U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] U ~] dev-qt/qtopengl-5.15.0 [5.14.2] U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] U ~] dev-qt/qtwayland-5.15.0 [5.14.2] U ~] dev-python/qtawesome-0.7.2 [0.7.1] That's not output from the above command (dev-python wouldn't be there.) Please show the output of the above eix command, or perhaps try "eix-installed -a | grep dev-qt" for another look to be sure all are at the same version. Not staying up with the very latest qt packages, causes even more problems. I usually have to wait, up to 7 days, as the others trickle in and the all the qt packages will install. Sometime I have to remove them all, then do the upgrade. This is the first time it has affected pdf files. Palemoon will not even load pdfs, at least this version:: NewMoon: 28.9.3 (the unofficial build of PaleMoon.) I'll guess I just wait a few days and see what trickles in on qqt upgrades: (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts with ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist -connman -debug -gssapi -libproxy -networkmanager -sctp -test" ABI_X86="(64)" ^^^ ~dev-qt/qtcore-5.14.2 required by (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5= required by (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets -debug -test" ABI_X86="(64)" What is trying to pull in qtcore-5.15.0? You started this with a problem of pdf viewers all complaining about mismatched qt versions, but this looks like a portage issue. If you are manually marking dev-qt packages as ~, you have to be sure you have gotten them all. All dev-qt packages (some, such as qt-creator are on a different number scheme) must have the same version. They are generally released all at the same time, so incomplete upgrades are likely due to a problem in package.accepted_keywords.
Re: [gentoo-user] printing pdfs
On 5/28/20 4:30 PM, Francesco Turco wrote: On Thu, May 28, 2020, at 22:11, james wrote: So what application/strategy gets me past errors like this: "Cannot mix incompatible Qt library (version 0x50e01) with this library (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact 35 matches. Yes I run lxde and many qt codes. Perhaps better these are currenly blocked (will not update) qt: U ~] dev-qt/qtcore-5.15.0 [5.14.2] U ~] dev-qt/qtxml-5.15.0 [5.14.2] U dev-qt/qtnetwork-5.15.0 [5.14.2] USE="-libressl%" U ~] dev-qt/qttest-5.15.0 [5.14.2] U ~] dev-qt/qtdbus-5.15.0 [5.14.2] U ~] dev-qt/qtgui-5.15.0 [5.14.2] U ~] dev-qt/qtx11extras-5.15.0 [5.14.2] U ~] dev-qt/qtwidgets-5.15.0 [5.14.2] U ~] dev-qt/qtdeclarative-5.15.0 [5.14.2] U ~] dev-qt/qtopengl-5.15.0 [5.14.2] U ~] dev-qt/linguist-tools-5.15.0 [5.14.2] U ~] dev-qt/qtmultimedia-5.15.0 [5.14.2] U ~] dev-qt/qtpositioning-5.15.0 [5.14.2] U ~] dev-qt/qtwayland-5.15.0 [5.14.2] U ~] dev-python/qtawesome-0.7.2 [0.7.1] Not staying up with the very latest qt packages, causes even more problems. I usually have to wait, up to 7 days, as the others trickle in and the all the qt packages will install. Sometime I have to remove them all, then do the upgrade. This is the first time it has affected pdf files. Palemoon will not even load pdfs, at least this version:: NewMoon: 28.9.3 (the unofficial build of PaleMoon.) I'll guess I just wait a few days and see what trickles in on qqt upgrades: (dev-qt/qtcore-5.15.0:5/5.15.0::gentoo, ebuild scheduled for merge) USE="icu -debug -old-kernel (-systemd) -test" ABI_X86="(64)" conflicts with ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtnetwork-5.14.2:5/5.14::gentoo, installed) USE="ssl -bindist -connman -debug -gssapi -libproxy -networkmanager -sctp -test" ABI_X86="(64)" ^^^ ~dev-qt/qtcore-5.14.2 required by (dev-qt/qtgraphicaleffects-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5= required by (dev-qt/qtxml-5.14.2:5/5.14::gentoo, installed) USE="-debug -test" ABI_X86="(64)" ^ ^^ ~dev-qt/qtcore-5.14.2:5/5.14.2= required by (dev-qt/qtdiag-5.14.2:5/5.14::gentoo, installed) USE="network widgets -debug -test" ABI_X86="(64)"
Re: [gentoo-user] printing pdfs
You simply started something compiled with an older Qt lib. After some updates wether restart your desktop or pc if this dies not help... Am 28. Mai 2020 22:11:46 MESZ schrieb james : >comrades, > >Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf >files for decades to come. > >So what application/strategy gets me past errors like this: > >"Cannot mix incompatible Qt library (version 0x50e01) with this library > >(version 0x50e02)" > > >Not being able to print pdf files is simply a no-go for me. I have no >intention of converting 10K+ pdf files to another format... > >Suggestions are most welcome, as what I have google-read, it's a mess >and I'm no closer to a gentoo centric solution. > > >James -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Re: [gentoo-user] printing pdfs
james wrote: > comrades, > > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf > files for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this > library (version 0x50e02)" > > > Not being able to print pdf files is simply a no-go for me. I have no > intention of converting 10K+ pdf files to another format... > > Suggestions are most welcome, as what I have google-read, it's a mess > and I'm no closer to a gentoo centric solution. > > > James > > I use Okular myself. I don't recall it ever giving me a error. It opens fine as long as the file isn't corrupt or something. Unless you have it installed already, you may not want LOo installed. It is a bit large for opening and printing a pdf file. Overkill would be putting it lightly. LOL If you have it installed already tho, I think it opens and prints pdf files. To the point someone else mentioned. If you have a program that uses qt and all qt packages aren't at the right version, usually the same numbering, you will get errors. I've ran into that in the past with several programs. Some qt package fails to compile during a update and some are the new version and some are the old. When I try to start a program that uses qt, it pukes a error on my keyboard about the mismatch. That's the only way I've ever seen that error tho. Once I get all the qt packages to the same version, then things work like it should. I might add, some KDE packages do that as well. I'm sure there are other packages that have to be updated together to work correctly as well. First, tell us what you are using and what generates the error. Second, make sure all the qt packages are at the same version. If needed, a screenshot of the error is better than nothing. Dale :-) :-)
Re: [gentoo-user] printing pdfs
On Thu, 28 May 2020 at 22:11, james wrote: > > comrades, > > Pdfs are becoming a challenge to print. I'm sure I'll be printing pdf > files for decades to come. > > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" You should probably start with letting us know what application/strategy gives you that kind of error. Regards, Arve
Re: [gentoo-user] printing pdfs
On Thu, May 28, 2020, at 22:11, james wrote: > So what application/strategy gets me past errors like this: > > "Cannot mix incompatible Qt library (version 0x50e01) with this library > (version 0x50e02)" Which application are you printing from? I guess it's a Qt application. In that case, please verify that all packages in the dev-qt category on your system have the same version number. You can use eix, for example: $ eix --category dev-qt --installed --compact -- https://fturco.net/