Linux directory path problems
- jondbennett
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
10 Jul 2015 00:42 - 10 Jul 2015 01:08 #60540
by jondbennett
Linux directory path problems was created by jondbennett
All,
I'm new to linuxCNC having just compiled and installed it a few minutes ago.
I went to the trouble because I am interested in image-to-gcode
I did the pure simulation install on Ubuntu 14
LinuxCNC seems to run ok, but when I try to open a png file
I get the following error box:
Filter failed
The program 'image-to-gcode.py' exited with
code 127. Any error messages it produced are shown below:
sh: 1: image-to-gcode.py: not found
I have no idea where to start.
Thanks in advance for your help.
I'm new to linuxCNC having just compiled and installed it a few minutes ago.
I went to the trouble because I am interested in image-to-gcode
I did the pure simulation install on Ubuntu 14
LinuxCNC seems to run ok, but when I try to open a png file
I get the following error box:
Filter failed
The program 'image-to-gcode.py' exited with
code 127. Any error messages it produced are shown below:
sh: 1: image-to-gcode.py: not found
I have no idea where to start.
Thanks in advance for your help.
Last edit: 10 Jul 2015 01:08 by jondbennett.
Please Log in or Create an account to join the conversation.
11 Jul 2015 14:09 #60559
by BigJohnT
Replied by BigJohnT on topic Linux directory path problems
Run from a terminal to see errors. Probley a dependicy issue.
JT
JT
Please Log in or Create an account to join the conversation.
11 Jul 2015 17:00 - 11 Jul 2015 22:23 #60560
by ArcEye
Replied by ArcEye on topic Linux directory path problems
There are a couple of versions of this around.
One uses other files, another is executable and does not have the .py extension.
You should be able to put the file in whatever location is pointed to when you run
echo $PYTHONPATH
However what I do with any standalone python program I want to use is
Change the top line from
# !/usr/bin/env python
to
# !/usr/bin/python
chmod 755 filename
mv filename.py filename
Then put it in /usr/local/bin and all programs will be able to find it
regards
One uses other files, another is executable and does not have the .py extension.
You should be able to put the file in whatever location is pointed to when you run
echo $PYTHONPATH
However what I do with any standalone python program I want to use is
Change the top line from
# !/usr/bin/env python
to
# !/usr/bin/python
chmod 755 filename
mv filename.py filename
Then put it in /usr/local/bin and all programs will be able to find it
regards
Last edit: 11 Jul 2015 22:23 by ArcEye.
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds