Lathe Macros

More
13 Jun 2024 12:07 #302930 by andypugh
Replied by andypugh on topic Lathe Macros

print event.message_type,event.data
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(event.message_type,event.data)?


This seems to indicate that you are trying to use the Python2 version of the macros with a Linux version that has Python3.

Can you try the Py3 / GTK3 version? I know you said you have tried that, but perhaps the problems there are more easily solved.

Get the files from here to be sure it's the latest:
github.com/andypugh/LatheMacros/releases

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

More
14 Jun 2024 06:48 #302988 by xenon-alien
Replied by xenon-alien on topic Lathe Macros
I began the trying with the
"v3.0
Resizable touchscreen version for Python 3 and GTK3.
Compatible with LinuxCNC 2.9 onwards."
After that i tried the v2.0.
I will do it again with both and attach the report of both.
Because i don't remember which one I have attached previously.

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

More
14 Jun 2024 07:07 - 14 Jun 2024 07:17 #302989 by xenon-alien
Replied by xenon-alien on topic Lathe Macros
Forget to tell, I'm using the axis GUI and PyVCP (copy/pasted the TAB command from the *.ini files)

Here is the report of the v3.0
 

File Attachment:

File Name: linuxcnc.r...v3.0.txt
File Size:12 KB


Here is the report of the v2.0
 

File Attachment:

File Name: linuxcnc.r...v2.0.txt
File Size:12 KB
Attachments:
Last edit: 14 Jun 2024 07:17 by xenon-alien.

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

More
14 Jun 2024 11:04 - 14 Jun 2024 11:10 #302997 by Aciera
Replied by Aciera on topic Lathe Macros

File "./lathehandler.py", line 37
print 'Destroy?'


[edit]
Seems you did not get the correct version as 'lathehandler.py' in version 3 does not contain that line. So maybe try again.
Last edit: 14 Jun 2024 11:10 by Aciera.

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

More
17 Jun 2024 06:37 #303151 by xenon-alien
Replied by xenon-alien on topic Lathe Macros
I used the files from the firs post, so that is why was an error...
I thought they are the same with the github v3.0, but not.
Now the LCNC is starts. Will test it later.
Thanks!

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

Time to create page: 0.248 seconds
Powered by Kunena Forum