- Posts: 2419
- Thank you received: 2349
Simulator
- Grotius
- Offline
- Platinum Member
-
Less
More
8 years 8 months ago - 8 years 8 months ago #106755
by Grotius
Replied by Grotius on topic Simulator
@Techno,
You error has to do with a picture of a button. Can you add a picture to the button in glade? Or maybe in glade delete the button image related traceback?
Do you have a .glade file of your actual screen loaded?
For the rest your error is located in the usr ... bin... glade file, when this is happening, you can not solve this there.
So it's a quite simple problem, but has to solve in the top of the program... somewhere in glade or somewhere in your current used files.
I think you don't have to search in the python files first. I preferr to solve it in the glade file's if possible.
You error has to do with a picture of a button. Can you add a picture to the button in glade? Or maybe in glade delete the button image related traceback?
Do you have a .glade file of your actual screen loaded?
For the rest your error is located in the usr ... bin... glade file, when this is happening, you can not solve this there.
So it's a quite simple problem, but has to solve in the top of the program... somewhere in glade or somewhere in your current used files.
I think you don't have to search in the python files first. I preferr to solve it in the glade file's if possible.
Last edit: 8 years 8 months ago by Grotius.
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
8 years 8 months ago #106758
by tecno
Replied by tecno on topic Simulator
I was hoping for a straight forward install of Lathe Macros just following instructions of what to copy where.
Do not know anything glade etc...
Do not know anything glade etc...
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
8 years 8 months ago - 8 years 8 months ago #106760
by Grotius
Replied by Grotius on topic Simulator
Hi Techno,
Okey thanks, the error report is for me too difficult too solve with macro instructionÅ› or command line instructionÅ›, sorry for that.
Maybe Todd can do something with teamviewer with you to solve the problem... Idea?
In your ini file i see a suspected item
:
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
Why a double "gladevcp gladevcp"? :woohoo:
My logic tab line idea would be :
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
This is logic without looking ad the meaning of the code that is written... Double loading makeÅ› most of time no sense.
Okey thanks, the error report is for me too difficult too solve with macro instructionÅ› or command line instructionÅ›, sorry for that.
Maybe Todd can do something with teamviewer with you to solve the problem... Idea?
In your ini file i see a suspected item
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
Why a double "gladevcp gladevcp"? :woohoo:
My logic tab line idea would be :
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
This is logic without looking ad the meaning of the code that is written... Double loading makeÅ› most of time no sense.
Last edit: 8 years 8 months ago by Grotius.
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
8 years 7 months ago #106835
by tecno
Replied by tecno on topic Simulator
This comes from README file in LatheMacro-3.zip
This config demonstrates the Lathe macros described here:
www.linuxcnc.org/index.php/english/forum...s/26550-lathe-macros
To add the macros to your own config you need to add this line to the INI file [DISPLAY] section:
[DISPLAY]
EMBED_TAB_NAME=Cycles
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
Then put these files in the same directory as the INI file.
Bore.png
boring.ngc
chamfer.png
chamfer.ngc
facing.ngc
Facing.png
radius.ngc
radius.png
Threading.png
threading.ngc
turning.ngc
Turn.png
lathehandler.py
lathemacro.ui
If I edit and erase that gladevcp LCNC will not start! So there must be something else that is wrong here.
This config demonstrates the Lathe macros described here:
www.linuxcnc.org/index.php/english/forum...s/26550-lathe-macros
To add the macros to your own config you need to add this line to the INI file [DISPLAY] section:
[DISPLAY]
EMBED_TAB_NAME=Cycles
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u lathehandler.py -x {XID} lathemacro.ui
Then put these files in the same directory as the INI file.
Bore.png
boring.ngc
chamfer.png
chamfer.ngc
facing.ngc
Facing.png
radius.ngc
radius.png
Threading.png
threading.ngc
turning.ngc
Turn.png
lathehandler.py
lathemacro.ui
If I edit and erase that gladevcp LCNC will not start! So there must be something else that is wrong here.
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
8 years 7 months ago #106847
by tecno
Replied by tecno on topic Simulator
Hmmm.
Bloody confusing this is = 3 zip files
managed to get the PLAY button installing svg files from TOUCH zip
But now error message
EOF in file:/usr/share/axis/images/axis-lathe.ngc
seeking o-word: o<facing or whatever task you want to do> from line: 0
So where can I find the correct axis-lathe.ngc so that I can start playing around with these macros?
Bloody confusing this is = 3 zip files
managed to get the PLAY button installing svg files from TOUCH zip
But now error message
EOF in file:/usr/share/axis/images/axis-lathe.ngc
seeking o-word: o<facing or whatever task you want to do> from line: 0
So where can I find the correct axis-lathe.ngc so that I can start playing around with these macros?
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
8 years 7 months ago #106917
by tecno
Replied by tecno on topic Simulator
Problem solved = does not work with 2.7
The following user(s) said Thank You: Gerald
Please Log in or Create an account to join the conversation.
Time to create page: 1.197 seconds