Install Probe Basic

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.

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.

More
16 May 2025 18:39 - 16 May 2025 19:02 #328590 by Doc_emmet
Replied by Doc_emmet on topic Install Probe Basic
Installing Probe Basic is a complete disaster, even if you follow the instructions exactly, and you keep getting error messages. The instructions (link: kcjengr.github.io/probe_basic/quick_start.html) might be out of date? Installing Linux without problems (Linux www.debian.org/download), but from here on, only errors: www.linuxcnc.org/dists/bookworm/2.9-uspa...pace_2.9.3_amd64.deb ==>

sudo dpkg -i linuxcnc-uspace_2.9.3_amd64.deb
[sudo] Password for dg:
Previously unselected package linuxcnc-uspace is selected.
(Reading database... 118063 files and directories are currently installed.)
Preparing to unpack linuxcnc-uspace_2.9.3_amd64.deb...
Unpacking linuxcnc-uspace (1:2.9.3)...
dpkg: dependency problems prevent configuration of linuxcnc-uspace:
linuxcnc-uspace depends on libboost-python1.74.0 (>= 1.74.0+ds1); but:
Package libboost-python1.74.0 is not installed.
linuxcnc-uspace depends on libboost-python1.74.0-py311; but:
Package libboost-python1.74.0-py311 is not installed.
linuxcnc-uspace depends on libgpiod2 (>= 1.5.1); but:
Package libgpiod2 is not installed.

linuxcnc-uspace depends on libmodbus5 (>= 3.1.4); but:
Package libmodbus5 is not installed.

linuxcnc-uspace depends on libtk8.6 (>= 8.6.0); but:
Package libtk8.6 is not installed.

linuxcnc-uspace depends on libudev-dev; but:
Package libudev-dev is not installed.

linuxcnc-uspace depends on iptables; but:
Package iptables is not installed.

linuxcnc-uspace depends on blt; but:
Package blt is not installed.

linuxcnc-uspace depends on mesa-utils; but:
Package mesa-utils is not installed.

linuxcnc-uspace depends on python3-tk; but:
package python3-tk is not installed.

linuxcnc-uspace depends on python3-numpy; but:
package python3-numpy is not installed.

linuxcnc-uspace depends on python3-opengl; but:
package python3-opengl is not installed.

linuxcnc-uspace depends on python3-configobj; but:
package python3-configobj is not installed.

linuxcnc-uspace depends on python3-xlib; but:
package python3-xlib is not installed.

linuxcnc-uspace depends on libgtksourceview-3.0-dev; but:
Package libgtksourceview-3.0-dev is not installed.

linuxcnc-uspace depends on tcl8.6; but:
Package tcl8.6 is not installed.

linuxcnc-uspace depends on tk8.6; but:
Package tk8.6 is not installed.

linuxcnc-uspace depends on bwidget (>= 1.7); but:
Package bwidget is not installed.

dpkg: Error processing package linuxcnc-uspace (--install):
Dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9+deb12u10)...
Processing triggers for Desktop-File-Utils (0.26-1)...
Processing triggers for mailcap (3.70+nmu1)...
Processing triggers for hicolor-icon-theme (0.17-2)...
Processing triggers for man-db (2.11.2-2)...
Processing triggers for shared-mime-info (2.2-1)...
Errors occurred processing:
linuxcnc-uspace

How can it be that if I use this ISO: linuxcnc_2.9.4-amd64.hybrid.iso LinuxCNC works but later it is not possible to get Probe Basic to work and the user_tabs folder is not found even though it is there? See first post above.

Is there an installation guide that works?
 
Last edit: 16 May 2025 19:02 by Doc_emmet.

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

More
16 May 2025 20:54 - 16 May 2025 20:56 #328591 by Benb
Replied by Benb on topic Install Probe Basic
Try this qtpyvcp installation script:
github.com/Lcvette/qtpyvcp-bookworm-installer

You might have to start with clean debian/linucnc install
Last edit: 16 May 2025 20:56 by Benb.

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

More
16 May 2025 22:24 #328597 by Doc_emmet
Replied by Doc_emmet on topic Install Probe Basic
Thank you very much for your help. I first installed www.debian.org/devel/debian-installer/ as described without any errors. Then I run:
cd ~
cd Downloads
sudo dpkg -i linuxcnc-uspace_2.9.3_amd64.deb

and I get these messages. Why these dependency problems? Or are these messages normal?

dg@LinuxCNC:~/Downloads$ sudo dpkg -i linuxcnc-uspace_2.9.3_amd64.deb
[sudo] Password for dg:
(Reading database... 119436 files and directories are currently installed.)
Preparing to unpack linuxcnc-uspace_2.9.3_amd64.deb...
Unpacking linuxcnc-uspace (1:2.9.3) via (1:2.9.3)...
dpkg: Dependency problems prevent configuration of linuxcnc-uspace:
linuxcnc-uspace depends on python3 (<< 3.12); but:
Version of Python3 on the system is 3.13.3-1.
linuxcnc-uspace depends on libboost-python1.74.0 (>= 1.74.0+ds1); but:
Package libboost-python1.74.0 is not installed.
linuxcnc-uspace depends on libboost-python1.74.0-py311; but:
Package libboost-python1.74.0-py311 is not installed.
linuxcnc-uspace depends on libgpiod2 (>= 1.5.1); but:
Package libgpiod2 is not installed.
linuxcnc-uspace depends on libmodbus5 (>= 3.1.4); but:
Package libmodbus5 is not installed.
linuxcnc-uspace depends on libpython3.11 (>= 3.11.0); but:
Package libpython3.11 is not installed.

linuxcnc-uspace depends on libtk8.6 (>= 8.6.0); but:
Package libtk8.6 is not installed.

linuxcnc-uspace depends on libudev-dev; but:
Package libudev-dev is not installed.

linuxcnc-uspace depends on iptables; but:
Package iptables is not installed.

linuxcnc-uspace depends on blt; but:
Package blt is not installed.

linuxcnc-uspace depends on mesa-utils; but:
Package mesa-utils is not installed.

linuxcnc-uspace depends on python3-tk; but:
Package python3-tk is not installed.
linuxcnc-uspace depends on python3-numpy; but:
Package python3-numpy is not installed.

linuxcnc-uspace depends on python3-opengl; but:
Package python3-opengl is not installed.

linuxcnc-uspace depends on python3-configobj; but:
Package python3-configobj is not installed.

linuxcnc-uspace depends on python3-xlib; but:
Package python3-xlib is not installed.

linuxcnc-uspace depends on libgtksourceview-3.0-dev; but:
Package libgtksourceview-3.0-dev is not installed.

linuxcnc-uspace depends on tcl8.6; but:
Package tcl8.6 is not installed.
linuxcnc-uspace depends on tk8.6; but:
Package tk8.6 is not installed.

linuxcnc-uspace depends on bwidget (>= 1.7); but:
Package bwidget is not installed.

linuxcnc-uspace depends on tclreadline; but:
Package tclreadline is not installed.

linuxcnc-uspace depends on tclx; but:
Package tclx is not installed.

linuxcnc-uspace depends on python3-pyqt5; but:
Package python3-pyqt5 is not installed.

linuxcnc-uspace depends on python3-pyqt5.qsci; but:
Package python3-pyqt5.qsci is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtsvg; but:
Package python3-pyqt5.qtsvg is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtopengl; but:
Package python3-pyqt5.qtopengl is not installed.
linuxcnc-uspace depends on python3-opencv; but:
Package python3-opencv is not installed.
linuxcnc-uspace depends on python3-espeak; but:
Package python3-espeak is not installed.
linuxcnc-uspace depends on python3-dbus.mainloop.pyqt5; but:
Package python3-dbus.mainloop.pyqt5 is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtwebengine | python3-pyqt5.qtwebkit; but:
Package python3-pyqt5.qtwebengine is not installed.
Package python3-pyqt5.qtwebkit is not installed.
linuxcnc-uspace depends on espeak-ng; but:
Package espeak-ng is not installed.
linuxcnc-uspace depends on pyqt5-dev-tools; but:
Package pyqt5-dev-tools is not installed.
linuxcnc-uspace depends on gstreamer1.0-tools; but:
Package gstreamer1.0-tools is not installed.
linuxcnc-uspace depends on espeak; but:
Package espeak is not installed.
linuxcnc-uspace depends on python3-poppler-qt5; however:
Package python3-poppler-qt5 is not installed.

linuxcnc-uspace depends on psmisc; however:
Package psmisc is not installed.

dpkg: Error processing package linuxcnc-uspace (--install):
Dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.41-7)...
Processing triggers for mailcap (3.74)...
Processing triggers for desktop-file-utils (0.28-1)...
Processing triggers for hicolor-icon-theme (0.18-2)...
Processing triggers for man-db (2.13.1-1)...
Processing triggers for shared-mime-info (2.4-5+b2)...
Errors occurred processing:
linuxcnc-uspace
dg@LinuxCNC:~/Downloads$ sudo apt install git
Try "apt --fix-broken install" to correct this.
Unmet Dependencies:
git: Depends on: liberror-perl but should not be installed
Depends on: git-man (> 1:2.47.2) but should not be installed
Depends on: git-man (< 1:2.47.2-.) but should not be installed
Recommends: Patch but should not be installed
linuxcnc-uspace: Depends on: py

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

More
16 May 2025 23:20 #328600 by Benb
Replied by Benb on topic Install Probe Basic
Try loading this dependencies and then install Linuxcnc (these dependevies are for the so called run in place RIP Linuxcnc installation, its a compiled installation) but it might help you with your deb method installation (in my case I refer rip). At the command prompt issue the following command:

Sudo apt install –y debhelper-compat dh-python libudev-dev docbook-xsl asciidoc imagemagick asciidoc-dblatex autoconf automake bwidget gettext intltool libboost-python-dev libepoxy-dev libgl-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libgtk-3-dev libmodbus-dev libgpiod-dev libeditreadline-dev libusb-1.0-0-dev libxmu-dev po4a psmisc python3-dev python3-tk python3-xlib tcl8.6-dev tk8.6-dev xvfb yapps2 dblatex dvipng fonts-dejavu graphviz groff inkscape python3-lxml source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc texlive-xetex

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

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