On 8/20/22 15:25, gene heskett wrote:
On 8/20/22 15:05, Chris Morley wrote:
Gene

I looked at the errors and found the problem in the code.
Thanks for posting the error messages.
I guess I broke it a month ago or so.
I have pushed a fix to master.
Sorry about that.

Chris

I appreciate the effort Chris, but historically its been work for a week, fail for a year. Am I the only one who wants to use a camera for an edge finder? Or to align the machine to a part? Somewhat difficult since the post on my go704 is leaning like the tower of Pisa. I bought a circular square and will see if that will help me fix it. But I keep miss-laying my round tuit.

I'll update around the evening and see if it works then, and advise.  Thanks a bunch.

No luck. Even after I restored the EMBED_TAB_POSITION = ntb_preview.
Terninal trace:

alcmd 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:119) [QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in: /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:124) [QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT ui file from: /usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:126) [QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qss (qt_pstat.py:151) [QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in: /usr/share/qtvcp/panels/cam_align/cam_align.qss (qt_pstat.py:156)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No qss file found. (qt_pstat.py:162)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qrc (qt_pstat.py:173) [QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in: /usr/share/qtvcp/panels/cam_align/cam_align.qrc (qt_pstat.py:179)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No qrc file found. (qt_pstat.py:186)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for resources.py in: /home/gene/linuxcnc/configs/GO704-5i25-7i76/qtvcp/panels/resources.py (qt_pstat.py:196) [QTvcp.QTVCP.QT_PSTAT][INFO]  No resources.py file found, no QRC file to compile one from. (qt_pstat.py:207) [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:214) [QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in: /usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm (qt_pstat.py:219) [QTvcp.QTVCP.QT_PSTAT][INFO]  Using no translations, default system locale is: en (qt_pstat.py:224)
[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 <cam_align_handler.HandlerClass object at 0x7fe2f03cbcc0> (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][INFO]  QTVCP: Found external qtvcp loadusr panel to instantiate (qt_makepins.py:87)
.
<commandline>:0: qtvcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x 88080844 cam_align" exited with error: 1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 2723 cycles, min=0.000007, max=0.045261, avg=0.010001, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_5i25.0: dropping AnyIO board at 0000:01:02.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7f4ac3765000
hm2_pci: driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/gene/linuxcnc_debug.txt
and
    /home/gene/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
gene@GO704:~/linuxcnc/configs/GO704-5i25-7i76$ qtvcp cam_align
[QTvcp.QTVCP.QT_ISTAT][CRITICAL]  Missing LINEAR_UNITS in TRAJ, guessing units for machine from JOINT 0 (qt_istat.py:133) [QTvcp.QTVCP.QT_ISTAT][CRITICAL]  Missing UNITS in JOINT_0, assuming metric based machine (qt_istat.py:137) [QTvcp.QTVCP.QT_ISTAT][CRITICAL]  INI Parsing Error, No MAX_LINEAR_VELOCITY Entry in TRAJ (qt_istat.py:364)
tool_mmap_user(): file open fail: No such file or directory
tool_mmap_user(): no mmap file,continuing
mmap tool data not available, continuing emc/usr_intf/axis/extensions/emcmodule.cc [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)

^C

And my konsole tab for that machine is locked up for good. ssh -Y login. No firewalls that I know of.

Sigh... Take care and stay well Chris.

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/>



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to