Okay, I got it. there are two files cuz I have created two of them on the config selector window.
[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/06/19, 3:31:03 PM On Sat, Apr 6, 2019 at 11:55 AM Sardar Vayghannezgad <[email protected]> wrote: > Hi . > > So I got these two directories below different, and need to make them look > the same: > > Machine configuration directory is > '/home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC-1' > PocketNC.hal:10: execv(/home/machinekit/machinekit-dev/configs/ARM/ > BeagleBone/PocketNC/setup.bridge.sh): No such file or directory > > > Alright, I can find the *PocketNC.hal* file on BBB: > > machinekit@beaglebone:~$ find /home/machinekit/ -name PocketNC.hal > /home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC-1/PocketNC.hal > /home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC/PocketNC.hal > As clear from the directories listed above, there are actually two files > under the name *PocketNC.hal*. Like you had pointed out from the error > message in the original post, the line 10 is to be amended. > > below are the 9th and 10th lines of both files. > > # Launch the setup script to make sure hardware setup looks good > loadusr -w /home/machinekit/machinekit-dev/configs/ARM/BeagleBone/PocketNC > /setup.bridge.sh > > Might have been wrong, but just in case, I changed the 10th line of both > files into the so-called *Machine directory* as following: > > loadusr -w /home/machinekit/machinekit/configs/ARM.BeagleBone.PocketNC-1/ > setup.bridge.sh > > But I get the same error. I reversed the line to its default form. > > This way, I've found the file and can edit it but don't know what I'm > doing wrong. It might be that the error arises from somewhere else. I also > checked here <https://jetforme.org/2018/04/machinekit-on-bbb/>and applied > step 9 there but to no avail. > > > > On Thursday, April 4, 2019 at 4:57:29 PM UTC+3, Daren Schwenke wrote: >> >> 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 <[email protected]> >>> wrote: >>> >>>> Have you changed the path to setup.bridge.sh as Daren pointed out? >>>> >>>> On 4 Apr 2019, at 15:24, Sardar Vayghannezgad <[email protected]> >>>> wrote: >>>> >>>> I read online that starting as ssh -Y [email protected] 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 [email protected]. >>>> 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 a topic in the > Google Groups "Machinekit" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/machinekit/n9Q9jJJdquU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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 [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
