Install Probe Basic

  • Doc_emmet
  • Away
  • New Member
  • New Member
More
15 May 2025 21:46 #328533 by Doc_emmet
Install Probe Basic was created by Doc_emmet
After installing and configuring Probe Basic I always get these errors, the user_tabs folder is present:
Traceback (most recent call last):
  File "/usr/bin/probe_basic", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 20, in main
    qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
  File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
    run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
    launch_application(opts, config)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
    loadWindows(config)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 230, in loadWindows
    window = _initialize_object_from_dict(window_dict)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 210, in _initialize_object_from_dict
    return obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 53, in __init__
    self.load_user_tabs()
  File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 87, in load_user_tabs
    user_tab_folders = os.listdir(user_tabs_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'user_tabs/             # REQUIRED Setting for Probe Basic'

Maybe someone can shed some light on the matter for me.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 May 2025 22:43 #328534 by tommylight
Replied by tommylight on topic Install Probe Basic
Moved to QtPyVCP section.

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

More
15 May 2025 22:44 #328535 by langdons
Replied by langdons on topic Install Probe Basic
Python's stacktraces are not helpful.

I always miss Java's verbose and informative stacktraces whenever Python enters my life (generally via apt (which seems to have Python components) and LinuxCNC, which seems to have a lot of Python)

Perl might be the "duct tape of the internet", but Python is definitely the duct tape of GNU/Linux.

Perhaps chmod -R 777 user_tabs will fix it.

Otherwise I have literally no clue.

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

  • Doc_emmet
  • Away
  • New Member
  • New Member
More
15 May 2025 23:11 #328537 by Doc_emmet
Replied by Doc_emmet on topic Install Probe Basic
How do I switch to QtPyVCP?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 May 2025 23:35 #328538 by tommylight
Replied by tommylight on topic Install Probe Basic
Are you installing Probe Basic or Basic Probe?
Not the same thing, and still remain very, very confusing.

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

More
16 May 2025 01:25 - 16 May 2025 01:32 #328540 by Benb
Replied by Benb on topic Install Probe Basic
I had similar situation with qtpyvcp. I am using Debian bookworm with linux 6.12.12+bpo-rt-amd64. Linuxcnc 2.94 run in place (RIP).  QTPYVCP version 5.0.2+7.gla6d27f4 in developer mode under venv. I resolved the problem partly by sourcing linuxcnc (source ~/your rip path/linuxcnc/scripts/rip-environment). This allowed me to run qtpyvcp -h (as described in the documentation). The next step I tried to run the tutorial encountered the same problem as spumco

forum.linuxcnc.org/qtpyvcp/51930-qtpyvcp...cp-tutorial-problems

I could not resolve problem mentionard in the link above.  In the above link moderator Lcvette mentioned to use scripts from probe basic but I did not load probe basic so I don’t know what is in the content of the scripts.However, I was able to run qtpyvcp designer by issuing the following command ‘editvcp’ that got me a pop up and I picked ~/your-path/qtpyvcp/vcp/tutorial/src/mypvcp and selected config.yml this got qt designer to load with all qtpyvcp templates but tones of warnings.

I am still trying to find how to setup qtpyvcp to behave as indicated in the documentation. Hopefully if qtpyvcp moderators reads this message they would publish the content of the probe basic script as mentioned in the link above, or even better include the script into qtpyvcp installation package (make easy for linux dummies). Also, the documentation should mention that linuxcnc rip must be sourced before attempting to run qtpyvcp.
Last edit: 16 May 2025 01:32 by Benb.

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

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