avatar

By marcojez

February 3, 2016, 5:20 am
Updated by: February 5, 2016, 6:10 am

Numbers in tools DB not being correctly interpreted [FIXED]

Hello,

I've just tried to download and install the HSMAdvisor v1.213 trial. The program looks good, but it screws up all numbers I enter in the "Tool Stick-out" field as soon as they are saved into the tools database. To clarify, here is how to reproduce the bug:

1. In the "Speeds and feeds" page, select "Edit New Tool" from the "Tool Data" panel.
2. Enter some value in the "Tool Stick-out" input field, for example "12". When I move focus away from the input field, its value automatically changes to 12.0000, which is fine; F&S calculations seem to be correct at this point.
3. Choose the "Add New Tool" item from the drop-down menu, enter some details and save.
4. As soon as the modal panel closes, the "Tool Stick-out" field changes to 1200000.0000

The same happens when editing existing tools.

Also, in the "Tool Database" page, every time I force an update on some tools' information data (right click on tool, "View information", then save), its stick-out value gets magically multiplied by 100000.

I suspect it's a locale problem. My Windows 10 installation is in Italian language, which uses the comma character as decimal separator (and the period as thousands separator). The application seems to use the default "C" locale when interpreting numbers in input fields, but it uses the environment's locale (Italian in this case) when storing values into the database.

Unfortunately, this bug prevents me from using the application.

Cheers,
Marco

Answers:
cant leave messages here
Pages:(1) [1]
avatar

Eldar Gerfanov (Admin)

February 3, 2016, 11:48 am

Hello,

Thank you for the report.
Yes it looks like Italian locale problem.

I will fix it ASAP.

Regards.

avatar

Eldar Gerfanov (Admin)

February 4, 2016, 10:21 pm

Hi,

After thoroughly checking things out i was not able to find the source of the problem.
Perhaps its the Win10 problem....

However i fixed some potential problem spots and released an update.
Please try it and let me know if you continue having issues.

Regards.:ernaehrung004:

avatar

marcojez

February 5, 2016, 3:48 am

Hi, the new version seems to work fine. Thank you!

Marco

© 2009-2022 Eldar Gerfanov. All Rights Reserved.
© 2009 Eldar Gerfanov. Materials on this site are presented as is and are mostly for educational use.

You may freely reproduce information presented herein without any consent from me, provided you include link to this site.
In case when i am not the copyright holder, you may want to contact proper owner of material. Anyway, they are freely available on the Internet.
If you hold the copyright right for any of the materials on this site and want them removed, please contact me here