Mesa Configuration Tool

More
4 years 1 month ago #252256 by HansU
Replied by HansU on topic Mesa Configuration Tool
I discovered another bug:
1. open wrong INi file (one that has not been created with that tool)
2. when opening the correct INI file, it fails with the error message from my last post.

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

More
4 years 1 month ago #252260 by JT
Replied by JT on topic Mesa Configuration Tool
I'll take a look at these as soon as I'm back up and running.

JT

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

More
4 years 1 month ago - 4 years 1 month ago #252263 by HansU
Replied by HansU on topic Mesa Configuration Tool
Commit 2856f614c7344279b0e23974c6ddcdba04794c81 "add output invert for 7i96s"
produces the following error message with my config:
Code:
File machine.py line 122, in function daughterCardChanged Error: name 'MAIN_BOARDS' is not defined ["NameError: name 'MAIN_BOARDS' is not defined\n"]


Furthermore it would be good if unknown key value pairs (like "BACKLASH = 0.01") are not removed when generating the config. Maybe you can add a special section for that? Or remember the lines which didn't correspond to a supported value and print them when generating? This would also allow to keep comments.
Last edit: 4 years 1 month ago by HansU.

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

More
4 years 1 month ago - 4 years 1 month ago #252269 by JT
Replied by JT on topic Mesa Configuration Tool

A comment on the commit "fix checking for linuxcnc version I hope"
If I set the localization to en, then it works for me. But with German locale if didn't work because your query gives this:
Code:
$ apt-cache policy linuxcnc-uspace linuxcnc-uspace:     Installiert: 1:2.8.3

Not sure how to get this fixed multilangual.

Good news I have Debian 11.5 installed on my dev PC but can't change the display resolution so on to Debian 12 in the morning.

I have an idea to test when I get my dev PC back up and going.

JT
Last edit: 4 years 1 month ago by JT.

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

More
4 years 1 month ago #252299 by JT
Replied by JT on topic Mesa Configuration Tool

Commit 2856f614c7344279b0e23974c6ddcdba04794c81 "add output invert for 7i96s"
produces the following error message with my config:
Code:
File machine.py line 122, in function daughterCardChanged Error: name 'MAIN_BOARDS' is not defined ["NameError: name 'MAIN_BOARDS' is not defined\n"] Furthermore it would be good if unknown key value pairs (like "BACKLASH = 0.01") are not removed when generating the config. Maybe you can add a special section for that? Or remember the lines which didn't correspond to a supported value and print them when generating? This would also allow to keep comments.
 
I just pushed a fix for the missing variables.

What section would key value pairs be in that are not LinuxCNC specific? BACKLASH is a joint specification which could be added to the tool easy enough.

JT

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

More
4 years 1 month ago #252305 by JT
Replied by JT on topic Mesa Configuration Tool

A comment on the commit "fix checking for linuxcnc version I hope"
If I set the localization to en, then it works for me. But with German locale if didn't work because your query gives this:
Code:
$ apt-cache policy linuxcnc-uspace linuxcnc-uspace:     Installiert: 1:2.8.3 Not sure how to get this fixed multilangual.
 
I changed the way I check for LinuxCNC version that should be language agnostic so if you can test that on your PC with the German locale and let me know if you get the correct LinuxCNC version.

JT
The following user(s) said Thank You: tommylight

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

Time to create page: 0.448 seconds
Powered by Kunena Forum