ValueError: invalid literal for float()

More
21 Apr 2021 13:50 - 21 Apr 2021 13:52 #206642 by sibista
Hello
Problem, I can't run any gcode, I get this message and then close the QTplasmac window.

Sorry for english. I use google translator.


greetings
Attachments:
Last edit: 21 Apr 2021 13:52 by sibista.

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

More
21 Apr 2021 14:09 #206647 by snowgoer540
What version of QtPlasmaC are you on? It is located in the header of the window. It should be v1.0.x

Also, assuming you are on a later version, could you post the g-code you are trying to run?

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

More
21 Apr 2021 14:20 - 21 Apr 2021 14:24 #206650 by sibista
I did the updates today, but I have had this problem for a few days. Even I use the "Conversational Shape Library" is also a bug.
Attachments:
Last edit: 21 Apr 2021 14:24 by sibista.

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

More
21 Apr 2021 14:26 #206651 by snowgoer540
Sorry had a break in the meeting I am in so I took a look at this a bit closer. What language have you chosen for the machine?

It looks like it's because it expects 'to' and your string contains 'do', which I am guessing is from the language of the PC.

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

More
21 Apr 2021 14:32 #206652 by sibista
Linuxcnc is in Polish, I will try to convert everything to English. I'll check when I'm at the machine. Good lead, it might help. Thank you very much. I'll let you know later.
The following user(s) said Thank You: snowgoer540

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

More
21 Apr 2021 14:49 - 21 Apr 2021 14:53 #206654 by snowgoer540

Linuxcnc is in Polish, I will try to convert everything to English. I'll check when I'm at the machine. Good lead, it might help. Thank you very much. I'll let you know later.


I am fairly confident this is the issue, but keep me posted..

I think see an easy fix that would take the language out of the equation. I'll submit it to Phill and make sure he agrees/it wont cause other issues when I get home from work.

Thanks for the report!
Last edit: 21 Apr 2021 14:53 by snowgoer540.

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

More
21 Apr 2021 15:19 #206663 by snowgoer540
Definitely the right track:



I will submit a change to split the string based on whitespace instead. I cant see any issue with that, so long as Phill agrees and I didnt miss some odd case, there should be a fix pretty quickly.
Attachments:

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

More
22 Apr 2021 00:16 #206744 by andypugh
Yes, all parts of LinuxCNC should be language agnostic.
There are problems with , and . as decimal separators in some places, but depending on a specific english word seems rather more wrong.

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

More
22 Apr 2021 00:59 #206752 by snowgoer540
I submitted a pull request to change the code such that language won’t matter.

I’m sure Phill will commit it as soon as the checks complete. :)
The following user(s) said Thank You: sibista

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

More
22 Apr 2021 07:03 #206767 by sibista
Hello
The update v1.0.23 2021 Apr 21 solved the problem. Thank you very much for your quick help. :) I didn't have to change my language to English.

Thank you for your help.

Greetings
The following user(s) said Thank You: snowgoer540

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

Moderators: snowgoer540
Time to create page: 0.158 seconds
Powered by Kunena Forum