On 1/11/23 16:43, Chris Morley wrote:
looks like you are using a command like this:
EMBED_TAB_COMMAND = qtvcp -d -c cam_align -x {XID} cam_align
try changing it to:
EMBED_TAB_COMMAND = halcmd loadusr qtvcp -d -c cam_align -x {XID} cam_align
Thats better, at least lcnc runs, but prints this on the terminal screen:
[QTvcp.QTVCP.QT_MAKEPINS][INFO] No preference file - cannot set
preference geometry. (qt_makepins.py:160)
VIDEOIO ERROR: V4L: index 0 is not correct!
Could not open video device 0
VIDEOIO ERROR: V4L: index 0 is not correct!
Port 0 is not working.
Port 1 is working and reads images (480.0 x 640.0)
Unable to stop the stream: Invalid argument
Port 2 is not working.
VIDEOIO ERROR: V4L: index 3 is not correct!
Port 3 is not working.
VIDEOIO ERROR: V4L: index 4 is not correct!
Port 4 is not working.
VIDEOIO ERROR: V4L: index 5 is not correct!
Port 5 is not working.
VIDEOIO ERROR: V4L: index 6 is not correct!
Port 6 is not working.
[QTvcp][INFO] Preference path: None (qtvcp:421)
So I issued a sudo reboot in case something has it running already. I'm
in the house, ssh'd into it.
so I'll restore the sshfs share, and attach the qtvcp.log. Done. I know
zip about qtvcp. Everything I done so far has been pyvcp.
Thank you Chris. Take care & stay well.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
2023-01-12 12:31:40,264 - QTvcp.QTVCP.QT_ISTAT - WARNING - Embeded tab configuration -invalaid number of TAB_NAMES vrs TAB_LOCATION - guessng default.
2023-01-12 12:32:07,814 - 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.
2023-01-12 12:32:08,916 - QTvcp - INFO - Logging to: /home/gene/qtvcp.log
2023-01-12 12:32:08,917 - QTvcp - INFO - Base log level set to: 10
2023-01-12 12:32:08,917 - QTvcp.QTVCP.QT_PSTAT - DEBUG - BASEPATH cam_align
2023-01-12 12:32:08,917 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for handler file in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/cam_align_handler.py
2023-01-12 12:32:08,917 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for default handler file in: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py
2023-01-12 12:32:08,942 - QTvcp.QTVCP.QT_PSTAT - INFO - Using DEFAULT handler file path: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py
2023-01-12 12:32:08,942 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .ui in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/cam_align.ui
2023-01-12 12:32:08,942 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .ui in: /usr/share/qtvcp/panels/cam_align/cam_align.ui
2023-01-12 12:32:08,943 - QTvcp.QTVCP.QT_PSTAT - INFO - Using DEFAULT ui file from: /usr/share/qtvcp/panels/cam_align/cam_align.ui
2023-01-12 12:32:08,943 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .qss in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/cam_align.qss
2023-01-12 12:32:08,943 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .qss in: /usr/share/qtvcp/panels/cam_align/cam_align.qss
2023-01-12 12:32:08,943 - QTvcp.QTVCP.QT_PSTAT - INFO - No qss file found.
2023-01-12 12:32:08,943 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .qrc in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/cam_align.qrc
2023-01-12 12:32:08,944 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for .qrc in: /usr/share/qtvcp/panels/cam_align/cam_align.qrc
2023-01-12 12:32:08,944 - QTvcp.QTVCP.QT_PSTAT - INFO - No qrc file found.
2023-01-12 12:32:08,944 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for resources.py in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/qtvcp/panels/resources.py
2023-01-12 12:32:08,944 - QTvcp.QTVCP.QT_PSTAT - INFO - No resources.py file found, no QRC file to compile one from.
2023-01-12 12:32:08,966 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for translation file in: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/cam_align/languages/cam_align_en.qm
2023-01-12 12:32:08,966 - QTvcp.QTVCP.QT_PSTAT - DEBUG - Checking for translation file in: /usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm
2023-01-12 12:32:08,967 - QTvcp.QTVCP.QT_PSTAT - INFO - Using no translations, default system locale is: en
2023-01-12 12:32:08,968 - QTvcp - INFO - Building A VCP Panel with: Python 3
2023-01-12 12:32:08,968 - QTvcp - INFO - No handler file specified - using: /usr/share/qtvcp/panels/cam_align/cam_align_handler.py
2023-01-12 12:32:09,061 - QTvcp.QTVCP.QT_MAKEGUI - INFO - Qsettings file path: /home/gene/.config/QtVcp/cam_align.conf
2023-01-12 12:32:09,062 - QTvcp - DEBUG - Loading the handler file.
2023-01-12 12:32:09,062 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Adding import dir: /usr/share/qtvcp/panels/cam_align
2023-01-12 12:32:09,082 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Module 'cam_align_handler' imported OK
2023-01-12 12:32:09,083 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Module 'cam_align_handler' : 'get_handlers' function found.
2023-01-12 12:32:09,083 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Registering handlers in module cam_align_handler object <cam_align_handler.HandlerClass object at 0x7fad9ec6e5c0>
2023-01-12 12:32:09,083 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Register callback 'call_user_command_'
2023-01-12 12:32:09,083 - QTvcp.QTVCP.QT_MAKEGUI - DEBUG - Register callback 'initialized__'
2023-01-12 12:32:09,084 - QTvcp - DEBUG - Adding the key events filter.
2023-01-12 12:32:09,084 - QTvcp.QTVCP.QT_MAKEGUI - INFO - No resource file to load: None
2023-01-12 12:32:14,509 - QTvcp.QTVCP.QT_MAKEPINS - DEBUG - QTVCP: Parsing for HAL widgets.
2023-01-12 12:32:14,516 - QTvcp - DEBUG - Calling the handler file's initialized__ function
2023-01-12 12:32:14,517 - QTvcp.QTVCP.QT_MAKEGUI - INFO - No Handler Override file at: /home/gene/linuxcnc/configs/GO704-5i25-7i76-camera/.cam_alignrc
2023-01-12 12:32:14,522 - QTvcp - DEBUG - Set HAL ready.
2023-01-12 12:32:14,765 - QTvcp - CRITICAL - Forwarding events to AXIS is not well tested yet.
2023-01-12 12:32:14,811 - QTvcp - DEBUG - Show window.
2023-01-12 12:32:14,812 - QTvcp.QTVCP.QT_MAKEPINS - INFO - No preference file - cannot set preference geometry.
2023-01-12 12:32:15,212 - QTvcp - INFO - Preference path: None
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers