- Posts: 141
- Thank you received: 0
NativeCAM is Features renamed
10 years 3 weeks ago #81386
by nkp
Replied by nkp on topic NativeCAM is Features renamed
error:
./ncam_setup: line 19: ` fi'
./ncam_setup: line 19: ` fi'
Please Log in to join the conversation.
10 years 3 weeks ago #81392
by BigJohnT
Replied by BigJohnT on 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
JT
Please Log in to join the conversation.
- eFalegname
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 3 weeks ago #81393
by eFalegname
Replied by eFalegname on topic NativeCAM is Features renamed
Hi Fern, I have the same error :
Code:
./ncam_setup: riga 19: errore di sintassi vicino al token non atteso "fi"
./ncam_setup: riga 19: ` fi'
Please Log in to join the conversation.
10 years 3 weeks ago #81394
by nkp
Replied by nkp on topic NativeCAM is Features renamed
maybe:
if [ $cl = 'c' ]
then sudo rm $ncam/ncam.py
fi
if [ $cl = 'c' ]
then sudo rm $ncam/ncam.py
fi
Please Log in to join the conversation.
10 years 3 weeks ago #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
github.com/FernV/NativeCAM
Sorry, I messed up last night and collected the wrong file
Fern
Please Log in to join the conversation.
10 years 3 weeks ago #81397
by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi
Have you succeeded with the updated file ?
Fern
Have you succeeded with the updated file ?
Fern
Please Log in to join the conversation.
- eFalegname
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 3 weeks ago #81400
by eFalegname
Replied by eFalegname on topic NativeCAM is Features renamed
Maybe I should install something else before run it...
Code:
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'
Please Log in to join the conversation.
10 years 3 weeks ago #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
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 to join the conversation.
- eFalegname
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 3 weeks ago #81403
by eFalegname
Replied by eFalegname on topic NativeCAM is Features renamed
path for linuxmint :
Code:
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 to join the conversation.
10 years 3 weeks ago #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
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
Please Log in to join the conversation.
Time to create page: 0.173 seconds
