(Solved) Probe Basic - HAL pins not being created

More
03 Sep 2026 21:43 #349298 by spumco
Ok, that icon means 'no layout' - makes sense for an indeterminate user layout.

But, sadly, no longer suspicious ;)

Back to stumped.
The following user(s) said Thank You: tommylight

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

More
05 Sep 2026 01:17 #349335 by spumco
UPDATE

It wasn't me.

I ran the issue through Claude and the overlord reported back that the sidebar tab .py file had (I think) an indeterminate layout which was conflicting with the main UI file.  No error messages, but wasn't loading.

I've attached a Claude-generated document describing the issue and the suggested fix.  I've tested the fixed .py file and it's working fine.

Lcvette - might want to have a look and see if you're interested in editing PB as suggested.
Attachments:
The following user(s) said Thank You: tommylight

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

More
07 Sep 2026 20:33 #349437 by Lcvette
easy fix, you have not formatted the sidebar by adding a widget container or telling the current widget container to format vertically or horizontally so the widgets are there but out of view. need to add a layout format type by right clicking and selecting from the bottom options in the right click dialog.
The following user(s) said Thank You: spumco

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

More
08 Sep 2026 00:11 #349440 by spumco
@Lcvette - thanks, took me and the AI overlord a while to figure out why the pins were showing up in halshow but not being displayed.

MODS - please mark [SOLVED]

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

More
08 Sep 2026 00:48 #349441 by Lcvette
You need to stop editing the py files, they are generated from ui file and your going to break things doing what you are doing. All edits must be performed in the ui in qt designer as things are designed. I'm going to go out on a limb and say your other issues come from allowing ai to edit files directly. A warning, ai sucks at xml and ui editing because it rarely has our understands the complete context. And if you don't know when it's hallucinating to guide it back to reality it's going to continue down the wrong rabbit hole. Just do your edits/work in designer where it builds the file correctly on start up and correctly uses all necessary code to initiate the used widgets. Your ai generated posts are mostly hallucinations where it may seem confident in it's conclusion but it's completely out in left field and no where near what's actually happening.

Ai seems wonderful until you realize it's extremely fallible.
The following user(s) said Thank You: spumco

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
08 Sep 2026 01:21 #349442 by tommylight
Replied by tommylight on topic (Solved) Probe Basic - HAL pins not being created

MODS - please mark [SOLVED]

Done, thank you.

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

More
08 Sep 2026 01:57 #349448 by spumco

You need to stop editing the py files, they are generated from ui file and your going to break things doing what you are doing. All edits must be performed in the ui in qt designer as things are designed. I'm going to go out on a limb and say your other issues come from allowing ai to edit files directly. A warning, ai sucks at xml and ui editing because it rarely has our understands the complete context. And if you don't know when it's hallucinating to guide it back to reality it's going to continue down the wrong rabbit hole. Just do your edits/work in designer where it builds the file correctly on start up and correctly uses all necessary code to initiate the used widgets. Your ai generated posts are mostly hallucinations where it may seem confident in it's conclusion but it's completely out in left field and no where near what's actually happening.

Ai seems wonderful until you realize it's extremely fallible.
 

Appreciate your take on it.

I've not touched any of the probe_basic py files, qss files, or anything outside of the config/user_nnn/ folders.

Unfortunately, I am not able to diagnose the various issues without assistance when I can't accomplish what I want in qtpyvcp/qt/PB.  And I would prefer not to pester you or other skilled folks unless absolutely necessary.

I have zero coding skills, period.  I can work out HAL logic no problem, but figuring out how to create a widget rule, stylesheet, or other text/terminal-based edits is a no-go without some sort of assistance.

I tried to add some hal leds.  Didn't work until AI helped me discover it was the layout (as you pointed out).

Once there, I tried to create a widget rule for the hal pins.  Didn't work.  Still doesn't, but without AI I wouldn't have discovered there's no widget rule channel for HAL items.  I would have either given up, or I would have fiddled with everything I could until I broke it and had a tantrum.

With AI help, I now have user-button panel & sidebar indicators that work exactly as I want, and a DRO that's as close to what I want as is reasonable.  Getting to this point would have been impossible without AI assistance, or at best would have taken weeks of back-and-forth over the forum.

I'm sorry if I'm coming off as a clown who's spamming you or muddying the waters with AI slop.  I genuinely hesitated to post anything, including the current GH issue I've got open, but I thought it might be helpful.  Even the "easy fix, you haven't formatted the sidebar..." was a non-obvious problem to me.

And thank you for all the work you've done.  Seriously.

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

Moderators: KCJLcvette
Time to create page: 0.271 seconds
Powered by Kunena Forum