Re: [Emc-developers] cam align
FWIW I have tried the /configs/sim/axis/qtvcp/qtvcp_tabs sample on a 64bit Pi4 and it works. raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux 11 (bullseye) Release:11 Codename: bullseye raspberrypi:~ $ uname -a Linux raspberrypi 5.15.27-rt35-v8+ #1 SMP PREEMPT_RT Fri Mar 11 16:34:20 GMT 2022 aarch64 GNU/Linux I got rid of the python3-gst1.0 installed? with: sudo apt-install python3-gst-1.0 There are a lot of these errors on closing but it seems to have no ill effect.: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 3320, resource id: 33554438, major code: 130 (Unknown), minor code: 3 I got rid of them with: export QT_LOGGING_RULES='qt.qpa.*=false' > On 5 Sep 2022, at 11:37 am, Chris Morley wrote: > > Hi Gene. > I actually see no apparent show stoppers. > The Desktop Notify error is weird but seems to not stop anything. > It just seems not to embed. > > > Could your try the sim sim/axis/qtvcp/qtvcp_tabs sample. > > It should embed a cam window too. > also is the new tab window completely plain or is there text? > > Chris > > > From: gene heskett > Sent: September 5, 2022 1:21 AM > To: EMC developers > Subject: [Emc-developers] cam align > > Gretibgs all; > > I se some debugging has been turned on so it not a showstopper on my g0704. > > The camera tab is created, but empty. > > The terminal its launched from now contains some debugging info that may > be useful: > > halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align > [False] > Waiting for component 'qtvcp_embed' to become > ready[QTvcp.QTVCP.LIB.SYS_NOTIFY][WARNING] > Desktop Notify not available:: org.freedesktop.DBus.Error.NoReply: Did > not receive a reply. Possible causes include: the remote application did > not send a reply, the message bus security policy blocked the reply, the > reply timeout expired, or the network connection was broken. > (sys_notify.py:71) > Namespace Gst not available > [QTvcp.QTVCP.LIB.AUDIO_PLAYER][WARNING] audio alerts - Is > python3-gst1.0 installed? (audio_player.py:37) > .[QTvcp][INFO] Logging to: /home/gene/qtvcp.log (logger.py:67) > [QTvcp][INFO] Base log level set to: 10 (logger.py:68) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] BASEPATH cam_align (qt_pstat.py:86) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for handler file in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align_handler.py > (qt_pstat.py:96) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for default handler file in: > /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:102) > [QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT handler file path: > /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:105) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .ui in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.ui (qt_pstat.py:123) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .ui in: > /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:128) > [QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT ui file from: > /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:130) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qss in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qss (qt_pstat.py:160) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qss in: > /usr/share/qtvcp/panels/cam_align/cam_align.qss (qt_pstat.py:165) > [QTvcp.QTVCP.QT_PSTAT][INFO] No qss file found. (qt_pstat.py:171) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qrc in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qrc (qt_pstat.py:182) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qrc in: > /usr/share/qtvcp/panels/cam_align/cam_align.qrc (qt_pstat.py:188) > [QTvcp.QTVCP.QT_PSTAT][INFO] No qrc file found. (qt_pstat.py:195) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for resources.py in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/qtvcp/panels/resources.py > (qt_pstat.py:205) > [QTvcp.QTVCP.QT_PSTAT][INFO] No resources.py file found, no QRC file to > compile one from. (qt_pstat.py:216) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for translation file in: > /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align/languages/cam_align_en.qm > (qt_pstat.py:223) > [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for translation file in: > /usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm > (qt_pstat.py:228) > [QTvcp.QTVCP.QT_PSTAT][INFO] Using no translations, default system > locale is: en (qt_pstat.py:233) > [QTvcp][INFO] Building A VCP Panel with: Python 3 (qtvcp:215) > [QTvcp][INFO] No handler file specified - using: > /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qtvcp:218) > [QTvcp.QTVCP.QT_MAKEGUI][INFO] Qsettings file path: >
Re: [Emc-developers] cam align
Hi Gene. I actually see no apparent show stoppers. The Desktop Notify error is weird but seems to not stop anything. It just seems not to embed. Could your try the sim sim/axis/qtvcp/qtvcp_tabs sample. It should embed a cam window too. also is the new tab window completely plain or is there text? Chris From: gene heskett Sent: September 5, 2022 1:21 AM To: EMC developers Subject: [Emc-developers] cam align Gretibgs all; I se some debugging has been turned on so it not a showstopper on my g0704. The camera tab is created, but empty. The terminal its launched from now contains some debugging info that may be useful: halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align [False] Waiting for component 'qtvcp_embed' to become ready[QTvcp.QTVCP.LIB.SYS_NOTIFY][WARNING] Desktop Notify not available:: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (sys_notify.py:71) Namespace Gst not available [QTvcp.QTVCP.LIB.AUDIO_PLAYER][WARNING] audio alerts - Is python3-gst1.0 installed? (audio_player.py:37) .[QTvcp][INFO] Logging to: /home/gene/qtvcp.log (logger.py:67) [QTvcp][INFO] Base log level set to: 10 (logger.py:68) [QTvcp.QTVCP.QT_PSTAT][DEBUG] BASEPATH cam_align (qt_pstat.py:86) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for handler file in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align_handler.py (qt_pstat.py:96) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for default handler file in: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:102) [QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT handler file path: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:105) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .ui in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.ui (qt_pstat.py:123) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .ui in: /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:128) [QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT ui file from: /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:130) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qss in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qss (qt_pstat.py:160) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qss in: /usr/share/qtvcp/panels/cam_align/cam_align.qss (qt_pstat.py:165) [QTvcp.QTVCP.QT_PSTAT][INFO] No qss file found. (qt_pstat.py:171) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qrc in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qrc (qt_pstat.py:182) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for .qrc in: /usr/share/qtvcp/panels/cam_align/cam_align.qrc (qt_pstat.py:188) [QTvcp.QTVCP.QT_PSTAT][INFO] No qrc file found. (qt_pstat.py:195) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for resources.py in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/qtvcp/panels/resources.py (qt_pstat.py:205) [QTvcp.QTVCP.QT_PSTAT][INFO] No resources.py file found, no QRC file to compile one from. (qt_pstat.py:216) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for translation file in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align/languages/cam_align_en.qm (qt_pstat.py:223) [QTvcp.QTVCP.QT_PSTAT][DEBUG] Checking for translation file in: /usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm (qt_pstat.py:228) [QTvcp.QTVCP.QT_PSTAT][INFO] Using no translations, default system locale is: en (qt_pstat.py:233) [QTvcp][INFO] Building A VCP Panel with: Python 3 (qtvcp:215) [QTvcp][INFO] No handler file specified - using: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qtvcp:218) [QTvcp.QTVCP.QT_MAKEGUI][INFO] Qsettings file path: /home/gene/.config/QtVcp/cam_align.conf (qt_makegui.py:97) [QTvcp][DEBUG] Loading the handler file. (qtvcp:276) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Adding import dir: /usr/share/qtvcp/panels/cam_align (qt_makegui.py:290) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Module 'cam_align_handler' imported OK (qt_makegui.py:301) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Module 'cam_align_handler' : 'get_handlers' function found. (qt_makegui.py:307) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Registering handlers in module cam_align_handler object (qt_makegui.py:317) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Register callback 'call_user_command_' (qt_makegui.py:326) [QTvcp.QTVCP.QT_MAKEGUI][DEBUG] Register callback 'initialized__' (qt_makegui.py:326) [QTvcp][DEBUG] Adding the key events filter. (qtvcp:286) [QTvcp.QTVCP.QT_MAKEGUI][INFO] No resource file to load: None (qt_makegui.py:192) .[QTvcp.QTVCP.QT_MAKEPINS][DEBUG] QTVCP: Parsing for HAL widgets. (qt_makepins.py:114) [QTvcp][DEBUG] Calling the handler file's