Hi .

So I got these to 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 @Daren had pointed out from the error 
message in the original post, the line 10 is to be amended.

below are the 9th and the 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
  But it looks like they are already correct. right?



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://www.google.com/url?q=https%3A%2F%2Fjetforme.org%2F2018%2F04%2Fmachinekit-on-bbb%2F&sa=D&sntz=1&usg=AFQjCNGRQNbBFp7nfszopWqqMX9va4VXpQ>.
>  
> 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.

Reply via email to