( Solved ) Issues with python plugin for remap

More
31 Jul 2020 21:40 #176701 by rodw
Bevins, I have no idea about toolchangers except that I've seen many echo your last sentiments. :sick:
I still don't know where the oword procedures live. Can you enlighten me?

I know sometimes the sims have symbolic links that don't get copied over but I could not see any in the rack changer

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

More
31 Jul 2020 23:04 #176707 by bevins

Bevins, I have no idea about toolchangers except that I've seen many echo your last sentiments. :sick:
I still don't know where the oword procedures live. Can you enlighten me?

I know sometimes the sims have symbolic links that don't get copied over but I could not see any in the rack changer


They live in the nc_subroutines directory where ever you put it in the ini file.

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

More
01 Aug 2020 13:48 - 01 Aug 2020 13:49 #176784 by rodw
Bevins, when I looked at the folder in github,
github.com/LinuxCNC/linuxcnc/tree/master...emap/rack-toolchange
it referred to this wiki page
wiki.linuxcnc.org/cgi-bin/wiki.pl?RackToolChanger

I think you need to add the parameters under heading 3 to your ini file.

Do that and see how you go then...
Last edit: 01 Aug 2020 13:49 by rodw. Reason: added extra URL

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

More
01 Aug 2020 14:16 - 01 Aug 2020 14:16 #176785 by bevins

Bevins, when I looked at the folder in github,
github.com/LinuxCNC/linuxcnc/tree/master...emap/rack-toolchange
it referred to this wiki page
wiki.linuxcnc.org/cgi-bin/wiki.pl?RackToolChanger

I think you need to add the parameters under heading 3 to your ini file.

Do that and see how you go then...


I don't think they use that any,more but I tried it and its the same thing. I am beginning to think it is a python issue with linux mint 18.3.

Anyone using oword ngc m6 remap with Linux Mint 18.3

Or something changed in 2,9 pre
Last edit: 01 Aug 2020 14:16 by bevins.

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

More
01 Aug 2020 14:21 #176786 by bevins
Here is my rack_change.ngc
o<rack_change> sub
M73 (auto-restore modal settings on return)
;(print, rack_change: loaded tool=#<_current_tool> current pocket: #<_current_pocket>)
(print, rack_change: selected tool=#<_selected_tool> selected pocket: #<_selected_pocket>)
m2

So there is basically nothing in it. It does do the print statement but never continues on like it didn't run the epilog, which is a python thing,,,,.. WTF am I missing?

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

More
01 Aug 2020 14:31 #176788 by bevins
I put print statements in the change_prolog and change epilog and they didn't print. I don't think it is running stdglue.

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

More
01 Aug 2020 14:52 #176790 by bevins
OK so it is running prolog as I suspected because of print statement in rack_change.ngc and it prints Entering Prolog print statement I put in there but it never runs change_epilog.

Can someone else verify this?

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

More
02 Aug 2020 00:05 #176827 by rodw
I suspect this might be a bug and/or a regression possibly due to the roll out of Python 3.

There have been some bug fixes in the past around this. See
github.com/LinuxCNC/linuxcnc/issues/217
I also looked at some of the cross referenced issues.
Is it an issue in Master branch?

Now you've diagnosed that its a coding fault (procedure not called), I think you should log a bug report..

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

More
02 Aug 2020 14:28 - 02 Aug 2020 14:29 #176892 by bevins

I suspect this might be a bug and/or a regression possibly due to the roll out of Python 3.

There have been some bug fixes in the past around this. See
github.com/LinuxCNC/linuxcnc/issues/217
I also looked at some of the cross referenced issues.
Is it an issue in Master branch?

Now you've diagnosed that its a coding fault (procedure not called), I think you should log a bug report..


I am trying to make sure it is not an issue I caused with config. But I have exhausted all possibilities. I even reinstalled via debs the latest 2.9. Still same issue.

I am also getting this when I load linuxcnc with remap M6 enabled.

I dont know what this means....lol



I put prtint statements in prolog and epilog and in ngc file. It prints the statement prolog and ngc file but never hits epilog.
Attachments:
Last edit: 02 Aug 2020 14:29 by bevins.

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

Time to create page: 0.109 seconds
Powered by Kunena Forum