It's ok, but starting where you are starting from may take you a while. :) The error tells you the file and line number in that file: PocketNC.hal:10: The log also tells you where it was starting from: /home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC-1 >From there find that file in a file browser, and then edit that file to point to where it actually is.
On Thursday, April 4, 2019 at 9:48:33 AM UTC-4, Sardar Vayghannezgad wrote: > > I don't like to come across as one not making the tiniest background > attempt at all, but I just don't know how to change the path. :| > > [image: Mailtrack] > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> > Sender > notified by > Mailtrack > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> > 04/04/19, > 4:43:54 PM > > On Thu, Apr 4, 2019 at 4:31 PM Bas de Bruijn <b...@basdebruijn.com > <javascript:>> wrote: > >> Have you changed the path to setup.bridge.sh as Daren pointed out? >> >> On 4 Apr 2019, at 15:24, Sardar Vayghannezgad <sard...@gmail.com >> <javascript:>> wrote: >> >> I read online that starting as ssh -Y us...@beaglebone.local >> <javascript:> may help. I am getting this if I start that way: >> ln: cannot remove '/tmp/linuxcnc.print': Operation not permitted >> ln: cannot remove '/tmp/linuxcnc.debug': Operation not permitted >> >> >> >> On Wednesday, April 3, 2019 at 11:19:08 PM UTC+3, Sardar Vayghannezgad >> wrote: >>> >>> Once I start machinekit on my element14 BBB, the configuration window >>> pops up with an array of configurations. But it looks like my favorite one >>> won't load. I get the following: >>> >>> >>> machinekit@beaglebone:~$ machinekit >>> MACHINEKIT - 0.1 >>> Machine configuration directory is >>> '/home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC-1' >>> Machine configuration file is 'PocketNC.ini' >>> Starting Machinekit... >>> rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0 -- >>> rtmsglevel=1 --usrmsglevel=1 --halsize=524288 >>> rtapi_app command: /usr/libexec/linuxcnc/rtapi_app_rt-preempt -- >>> instance=0 >>> io started >>> halcmd loadusr io started >>> PocketNC.hal:10: execv(/home/machinekit/machinekit-dev/configs/ARM/ >>> BeagleBone/PocketNC/setup.bridge.sh): No such file or directory >>> E: 19-04-03 19:38:58 dangling 'DEALER' socket created at hal/utils/ >>> halcmd_rtapiapp.cc:284 >>> PocketNC.hal:10: program >>> '/home/machinekit/machinekit-dev/configs/ARM/BeagleBone/PocketNC/ >>> setup.bridge.sh' failed, returned 1 >>> Shutting down and cleaning up Machinekit... >>> Cleanup done >>> Machinekit terminated with an error. For simple cases more information >>> can be found in the following files: >>> /home/machinekit/linuxcnc_debug.txt >>> /home/machinekit/linuxcnc_print.txt >>> >>> >>> For other cases get more meaningfull information by restarting after >>> export DEBUG=5 >>> >>> >>> and look at the output of: >>> /var/log/linuxcnc.log >>> dmesg >>> >>> >>> When looking for errors, specifically look for libraries that fail to >>> load >>> by looking for lines with 'insmod failed' as per example below. >>> >>> >>> insmod failed, returned -1: >>> do_load_cmd: dlopen: nonexistant-component.so: cannot open shared object >>> file: >>> No such file or directory >>> >>> >>> For getting help, please have a look here: www.machinekit.io/docs/ >>> getting-help/ >>> >>> I have tried my best to figure this out using the tips in the message >>> above, but couldn't do much. I ran this command >>> <https://forum.linuxcnc.org/media/kunena/attachments/1315/lcnc_dependancies.txt> >>> >>> suggested here >>> <https://forum.linuxcnc.org/gmoccapy/27238-gmoccapy-python-issue-gtkgl#41267> >>> by >>> someone called cncbasher, but didn't help with my case. Likewise, I have >>> taken a look here >>> <https://groups.google.com/forum/#!topic/machinekit/AjBFY6aMSeQ>and >>> there <https://jetforme.org/2018/04/machinekit-on-bbb/>. On the latter, >>> step 9 suggests editing something, but I have no inkling how to access that >>> or *nano *what. This latter link seems something, can anyone please >>> help me edit those lines? >>> >>> Thanks. >>> >>> -- >> 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 machi...@googlegroups.com <javascript:>. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> >> -- 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+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.