Mklauncher Problem migrating to MachineKit -hal -cnc packages

47 views
Skip to first unread message

Michael Brown

unread,
May 15, 2019, 12:50:26 PM5/15/19
to Machinekit
I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client Cetus gui (mkwrapper).
that I'm trying to migrate to the new:
machinekit-hal-rt-preempt
machinekit-cnc-rt-preempt
Packages.

All that happens when I start the config in Machinekit client (after migration) is that the session terminates after about 15-20 sec.
With an option to see an errorfree Machinekit log.

I use this process for the "MK package migration":

    sudo apt -y purge machinekit machinekit-rt-preempt
    sudo apt -y autoremove
    sudo apt update
    sudo apt -y install machinekit-hal-rt-preempt machinekit-cnc-rt-preempt
    sudo nano /etc/linuxcnc/machinekit.ini
    sudo sh -c 'echo ""> /var/log/linuxcnc.log'
    sudo reboot now

I run this start script via a systemd service:

That does this:
/usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX

the python run file is here:

Before the logs files below I have noticed this message in linuxcnc_print.txt:

Starting DISPLAY program: mkwrapper
Can't execute DISPLAY program mkwrapper  
Shutting down and cleaning up Machinekit...


So after the below exploration I suspect it has somthing to do with mkwapper changes in the new -hal -cnc repos ?

Linuxcnc log file after starting the session in Machinekit client (old mk packages)

Linuxcnc log file after trying to stare the session in Machinekit client (new mk-hal-cnc packages)

Comparing All I can see here is that all below here (line 2355) is missing and the session terminates instead:


linuxcnc_debug-txt is here:


linuxcnc_print.txt is here:


Best wishes Michael B.

Michael Brown

unread,
May 15, 2019, 12:54:53 PM5/15/19
to Machinekit
BTW
I have set
REMOTE=1
in /etc/linuxcnc/machinekit.ini

Bas de Bruijn

unread,
May 15, 2019, 2:05:23 PM5/15/19
to Michael Brown, Machinekit
Hi Michael,
We’re the Machinekit packages that worked recent ones?
Bas
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/b216cad8-bead-4d74-b009-9784e2159010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Brown

unread,
May 15, 2019, 2:10:02 PM5/15/19
to Machinekit
Yes latest packages


On Wednesday, 15 May 2019 20:05:23 UTC+2, Bas de Bruijn wrote:
Hi Michael,
We’re the Machinekit packages that worked recent ones?
Bas
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.

Michael Brown

unread,
May 15, 2019, 2:17:08 PM5/15/19
to Machinekit
I found a solution and posted a new issue:

As my "quick-fix" may not be in line with where the machinekit-hal repo is going... :-)
Reply all
Reply to author
Forward
0 new messages