NativeCAM is Features renamed

More
08 Oct 2016 08:31 #81386 by nkp
Replied by nkp on topic NativeCAM is Features renamed
error:
./ncam_setup: line 19: ` fi'

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 11:52 #81392 by BigJohnT
I can't get the ncam_setup to work either, replaced back ticks an single quotes with double quotes but it still has something in the file that errors out saying a back tick is there.

JT

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 11:56 #81393 by eFalegname
Hi Fern, I have the same error :
./ncam_setup: riga 19: errore di sintassi vicino al token non atteso "fi"
./ncam_setup: riga 19: `	fi'

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:04 #81394 by nkp
Replied by nkp on topic NativeCAM is Features renamed
maybe:
if [ $cl = 'c' ]
then sudo rm $ncam/ncam.py
fi

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:10 - 08 Oct 2016 12:11 #81396 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Corrected files are on github
github.com/FernV/NativeCAM

Sorry, I messed up last night and collected the wrong file

Fern
Last edit: 08 Oct 2016 12:11 by FernV.
The following user(s) said Thank You: aer73

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:21 #81397 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi

Have you succeeded with the updated file ?

Fern

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:41 - 08 Oct 2016 12:45 #81400 by eFalegname
Maybe I should install something else before run it...
ef@pl ~/linuxcnc/configs/NativeCAM $ ./ncam_setup
ln: l'obiettivo "/usr/lib/pymodules/python2.7/gladevcp/" non รจ una directory: File o directory non esistente
Traceback (most recent call last):
  File "/home/ef/linuxcnc/configs/NativeCAM/ncam_setup2.py", line 14, in <module>
    f = open(fname).read()
IOError: [Errno 2] No such file or directory: '/usr/share/pyshared/gladevcp/hal_pythonplugin.py'
Last edit: 08 Oct 2016 12:45 by eFalegname.

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:46 #81401 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi

My distribution is Debian Wheezy, I do not know about yours

in a terminal type (or copy this) : locate hal_pythonplugin.py

It should tell you where the file is and please let me know

Fern

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 12:59 #81403 by eFalegname
path for linuxmint :
ef@pl ~ $ locate hal_pythonplugin.py
/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py
/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.pyc

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 13:17 - 08 Oct 2016 13:22 #81406 by FernV
Replied by FernV on topic NativeCAM is Features renamed
You can change the path in 'ncam_setup2.py' to reflect the difference in your system

change the line that says :
fname = '/usr/share/pyshared/gladevcp/hal_pythonplugin.py'
to
fname = '/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py'

also try to : locate hal_gremlin.py
it should give you the directory that you must change in ncam_setup

Please tell me what is your linux distro
Fern
Last edit: 08 Oct 2016 13:22 by FernV.

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum