Error in tool_offsetview.py

More
4 years 2 months ago #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

Please Log in to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 1 month ago #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 to join the conversation.

More
4 years 1 month ago #252906 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Thank you - pushed to master.

Please Log in to join the conversation.

More
3 years 11 months ago #257738 by MarkoPolo
 

Attachment not found



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.
 

Please Log in to join the conversation.

More
3 years 11 months ago #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 to join the conversation.

More
3 years 11 months ago #257830 by MarkoPolo
I am using version Python 3.7.3

Please Log in to join the conversation.

More
3 years 11 months ago #258004 by MarkoPolo

Attachment not found



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.
 

Please Log in to join the conversation.

More
3 years 11 months ago #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 to join the conversation.

More
3 years 11 months ago #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 to join the conversation.

Time to create page: 0.205 seconds
Powered by Kunena Forum