NativeCAM is Features renamed

More
08 Oct 2016 08:31 #81386 by nkp
nkp replied the topic: NativeCAM is Features renamed
error:
./ncam_setup: line 19: ` fi'
More
08 Oct 2016 11:52 #81392 by BigJohnT
BigJohnT replied the topic: NativeCAM is Features renamed
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
More
08 Oct 2016 11:56 #81393 by eFalegname
eFalegname replied the topic: NativeCAM is Features renamed
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'
More
08 Oct 2016 12:04 #81394 by nkp
nkp replied the topic: NativeCAM is Features renamed
maybe:
if [ $cl = 'c' ]
then sudo rm $ncam/ncam.py
fi
More
08 Oct 2016 12:10 - 08 Oct 2016 12:11 #81396 by FernV
FernV replied the 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
More
08 Oct 2016 12:21 #81397 by FernV
FernV replied the topic: NativeCAM is Features renamed
Hi

Have you succeeded with the updated file ?

Fern
More
08 Oct 2016 12:41 - 08 Oct 2016 12:45 #81400 by eFalegname
eFalegname replied the topic: NativeCAM is Features renamed
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.
More
08 Oct 2016 12:46 #81401 by FernV
FernV replied the 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
More
08 Oct 2016 12:59 #81403 by eFalegname
eFalegname replied the topic: NativeCAM is Features renamed
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
More
08 Oct 2016 13:17 - 08 Oct 2016 13:22 #81406 by FernV
FernV replied the 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.
Moderators: Rick G
Time to create page: 0.102 seconds
Powered by Kunena Forum