Install Probe Basic

More
1 year 5 months ago #328639 by Doc_emmet
Replied by Doc_emmet on topic Install Probe Basic
I've installed everything.

Also:
sudo apt update
sudo apt --fix-broken install
sudo apt install python3-qtpyvcp
sudo apt install python3-probe-basic

cd ~
mkdir dev
cd dev
git clone github.com/Lcvette/qtpyvcp-bookworm-installer.git
cd qtpyvcp-bookworm-installer
./install_for_qtpyvcp.sh
./updater.sh

And yet I still get this error:

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: [Error 2] File or directory not found: 'user_tabs/ # REQUIRED Setting for Probe Basic'


Where is the 'user_tabs/' folder supposed to be? I've moved it to:
linux/configs and, just to be on the safe side, to linux/configs/My_Machine

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

More
1 year 5 months ago - 1 year 5 months ago #328642 by Aciera
Replied by Aciera on topic Install Probe Basic
I don't really know but it seems to be set in the ini file:

 
Last edit: 1 year 5 months ago by Aciera.

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

More
1 year 5 months ago #328648 by Benb
Replied by Benb on topic Install Probe Basic
If you installed linuxcnc as RIP,  before running qtpyvcp execute the following command at the prompt:
source ~/your rip path/linuxcnc/scripts/rip-environment 
Note you don't need to run linuxcnc just source its environment this allows qtpyvcp to find what it needs  to run

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

More
1 year 5 months ago #328656 by Doc_emmet
Replied by Doc_emmet on topic Install Probe Basic
Hello, I've finally found the error.
The problem is caused by importing entries from the "pb_required_ini_settings.ini" file.
This is the file:

[DISPLAY]
DISPLAY = probe_basic
OPEN_FILE = ~/linuxcnc/nc_files/pb_examples/blank.ngc
CONFIG_FILE = custom_config.yml
MAX_FEED_OVERRIDE = 2.000000            # Recommended Setting for Probe Basic
MAX_SPINDLE_OVERRIDE = 2.000000         # Recommended Setting for Probe Basic
MIN_SPINDLE_OVERRIDE = 0.500000         # Recommended Setting for Probe Basic
INCREMENTS = JOG .01in .001in .0001in   # REQUIRED Setting for Probe Basic
USER_TABS_PATH = user_tabs/             # REQUIRED Setting for Probe Basic
USER_BUTTONS_PATH = user_buttons/       # REQUIRED Setting for Probe Basic

[RS274NGC]
RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G92.1 G94 G97 G98
PARAMETER_FILE = probe_basic.var
OWORD_NARGS = 1
NO_DOWNCASE_OWORD = 1
SUBROUTINE_PATH = subroutines

[HAL]
POSTGUI_HALFILE = probe_basic_postgui.hal
TWOPASS = on

And here's the error: USER_TABS_PATH = user_tabs/ # REQUIRED Setting for Probe Basic
There must be no comments after USER_TABS_PATH = user_tabs/, no "#" because that causes the error!!!
The following user(s) said Thank You: tommylight, Benb

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

More
1 year 5 months ago #328867 by Lcvette
Replied by Lcvette on topic Install Probe Basic
correct, this is explained int he instructions to remove the comments or you will receive errors.

 

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

More
1 year 5 months ago #328884 by Lcvette
Replied by Lcvette on topic Install Probe Basic
If you follow the instructions carefully it takes about an hour start to finish including creating and installing Linux on a clean system. I do it every few days for new builds and testing and it's not too bad considering what it is. The machine setup is the most challenging and that is really such a unique to user thing that is hard to make it simpler.
The following user(s) said Thank You: tommylight, Unlogic

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

Moderators: KCJ, Lcvette
Time to create page: 0.323 seconds
Powered by Kunena Forum