Error in tool_offsetview.py

More
27 Aug 2022 18:58 #250591 by MarkoPolo
I'm sending corrections to the buttons from the setup tab and value fields from the settings tab because they don't look very good
Attachments:

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

More
27 Aug 2022 19:32 #250593 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I will have to hold off just a bit, I have an update coming out that would negate this.

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

More
27 Sep 2022 17:23 #252870 by MarkoPolo
Hi Chris

I made some fixes due to some elements not matching correctly.
Could you see?
Some screenshots to better illustrate what the changes are about.

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

More
28 Sep 2022 03:10 #252906 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Thank you - pushed to master.
The following user(s) said Thank You: tommylight, MarkoPolo

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

More
27 Nov 2022 15:00 #257738 by MarkoPolo
 

I found an example ngc file and in qtdragon I get an error after which I have to restart qtradon. In axis and gmoccapy it's ok, apparently only qtdragon uses gcode_editor.py. He doesn't like some of the comment characters, after deleting the characters with tails it's ok.
 
Attachments:

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

More
28 Nov 2022 06:32 #257821 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
hmm I don't get this error with your test program.
Can you tell me what python version you are using?
(open a terminal type: python3)

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

More
28 Nov 2022 08:56 - 28 Nov 2022 09:06 #257830 by MarkoPolo
I am using version Python 3.7.3
Last edit: 28 Nov 2022 09:06 by MarkoPolo.

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

More
29 Nov 2022 18:06 #258004 by MarkoPolo


The problem is in gcode_editor.py . In the version from Sep 15, 2022 it still works fine, in newer versions there is already a problem. It seems to me that comments in gcode should be accepted in every language of the world.
 
Attachments:

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

More
30 Nov 2022 01:40 #258070 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Yes I was hoping it was related to python version. I test with a newer version then you.
3.8.10.
I'm still not sure why you have a problem but I do not.

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

More
30 Nov 2022 07:00 #258096 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
could you try changing the line 110 to :

source = source.decode("utf-8", "ignore")

see if that helps?

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

Moderators: cmorley
Time to create page: 0.219 seconds
Powered by Kunena Forum