Specified probe tool not in spindle error after upgrade
- Unlogic
- Offline
- Elite Member
- Posts: 207
- Thank you received: 102
linuxcnc-uspace/linuxcnc 1:2.9.3 amd64 [upgradable from: 1:2.9.2]
python3-qtpyvcp/stable 4.1.2 all [upgradable from: 4.0-124.dev]
python3-probe-basic/stable 0.6.0 all [upgradable from: 0.5.3-219.dev]
After doing this upgrade and updating the corresponding Probe Basic configuration files I've come across an odd error relating to probing.
When I try to do any probing I get the following error message even though I already have to correct tool loaded.
If I re-enter the value "1" in the "Probe tool" field under "Probing parameters" everything works again until I restart Probe Basic.
Attachments:
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
- Posts: 1261
- Thank you received: 636
there should have been a white notes screen with this documented on requiring changes when you first started probe basic. change notes will always be posted there for releases requiring users to make changes to their configs.
all parameters required for the latest probe basic version are listed here:
kcjengr.github.io/probe_basic/probe_basic_parameters.html
and to see what files may require editing see the configurations docs here:
kcjengr.github.io/probe_basic/machine_config.html
Please Log in or Create an account to join the conversation.
- Unlogic
- Offline
- Elite Member
- Posts: 207
- Thank you received: 102
I updated the configuration, copied over the subroutines and python folders but I missed the var file. I'll update it and report back.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
- Posts: 1261
- Thank you received: 636
Please Log in or Create an account to join the conversation.
- Unlogic
- Offline
- Elite Member
- Posts: 207
- Thank you received: 102
Given that Probe Basic is under active development with frequent configuration changes this got me thinking.
Would it be possible to create a pyhon script that is executed early in startup process and checks if all required Probe Basic specific configuration options are present?
That would alert users to missing configuration options after upgrades and when making new installations.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
- Posts: 1261
- Thank you received: 636
hmmm, maybe, but I'm not sure how that would look exactly, do you have an idea on how to make it work?Unlogic post=318332 userid=35541I added the missing entries to the var file and it solved the issue.
Given that Probe Basic is under active development with frequent configuration changes this got me thinking.
Would it be possible to create a pyhon script that is executed early in startup process and checks if all required Probe Basic specific configuration options are present?
That would alert users to missing configuration options after upgrades and when making new installations.
Please Log in or Create an account to join the conversation.
- Unlogic
- Offline
- Elite Member
- Posts: 207
- Thank you received: 102
Below is a snippet of code from the Java based DNS server I wrote long ago (unlogic.se/projects/eagledns).
Now given how good LinuxCNC and Probe Basic is working I haven't really had to roll up my sleeves and get to familiar with how the bootstrap/initialization of the user interfaces works. But I guess in the case of Probe Basic maybe a hook or method for checking the configuration could be added in QtPyVCP that each derived user interface could then implement and check the configurations before QtPyVCP proceeds to load the actual GUI.
Attachments:
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
- Posts: 1261
- Thank you received: 636
does this seem like something you might want to run with?if so let me know, you are welcome to join us in the qtpyvcp chat:
matrix.to/#/#qtpyvcp:matrix.org
it is hugely helpful when we get folks who can help propel the project forward! A great group of folks and an awesome supportive culture! feel free to pop in!
Please Log in or Create an account to join the conversation.