ValueError: invalid literal for float()

More
5 years 6 months ago #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.

Attachment not found




greetings

Please Log in to join the conversation.

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

More
5 years 6 months ago #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.

Attachment not found

Please Log in to join the conversation.

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

More
5 years 6 months ago #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.

Please Log in to join the conversation.

More
5 years 6 months ago #206654 by snowgoer540

sibista wrote: 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!

Please Log in to join the conversation.

More
5 years 6 months ago #206663 by snowgoer540
Definitely the right track:

Attachment not found



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.

Please Log in to join the conversation.

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

More
5 years 6 months ago #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. :)

Please Log in to join the conversation.

More
5 years 6 months ago #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

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum