Probe_Basic Install

More
4 years 8 months ago #235365 by robertspark
Replied by robertspark on topic Probe_Basic Install
Something is broken somewhere..... missing dependency....???

It was working yesterday (on another build)..... clean slate today and I can't get probe basic or robe basic lathe to load..... everything else (axis, gmoccapy, QtPlasmaC) load just fine....
Code:
LINUXCNC - 2.9.0~pre0 Machine configuration directory is '/home/rob/linuxcnc/configs/probe_basic' Machine configuration file is 'probe_basic.ini' Starting LinuxCNC... File: tool.tbl Unrecognized line skipped: ;Tool Pocket Z Offset Diameter Remark linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Note: Using POSIX non-realtime twopass:invoked with <> options twopass:found ./hallib/core_sim_5.hal twopass:found ./hallib/spindle_sim.hal twopass:found ./hallib/simulated_home_probe_basic.hal twopass:found ./hallib/sim_cannon.hal motion.c: Creating unlock hal pins for joint 4 link (updating variable file): No such file or directory [qtpyvcp][INFO] Logging to /home/rob/linuxcnc/configs/probe_basic/sim.log (logger.py:97) [qtpyvcp][INFO] QtPyVCP Version: python3_master+174.g2c249709 (opt_parser.py:207) [qtpyvcp][DEBUG] Qt Version: 5.15.2 (opt_parser.py:211) [qtpyvcp][DEBUG] Qt API: QT_API (opt_parser.py:212) [qtpyvcp][DEBUG] QtPy Version: 2.0.1 (opt_parser.py:213) [qtpyvcp][DEBUG] Command line options: { "command_line_args": null, "config_file": "/home/rob/linuxcnc/configs/probe_basic/custom_config.yml", "confirm_exit": false, "develop": false, "fullscreen": null, "help": false, "hide_cursor": false, "hide_menu_bar": false, "hide_status_bar": false, "info": false, "ini": "/home/rob/linuxcnc/configs/probe_basic/probe_basic.ini", "log_file": "/home/rob/linuxcnc/configs/probe_basic/sim.log", "log_level": "DEBUG", "maximize": null, "perfmon": false, "position": "0x0", "qt_api": null, "size": null, "stylesheet": null, "theme": null, "version": false } (opt_parser.py:216) Traceback (most recent call last): File "/home/rob/.local/bin/probe_basic", line 33, in <module> sys.exit(load_entry_point('probe-basic', 'gui_scripts', 'probe_basic')()) File "/home/rob/dev/probe_basic/probe_basic/__init__.py", line 20, in main qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE) File "/home/rob/dev/qtpyvcp/qtpyvcp/__init__.py", line 27, in run_vcp run(*args, **kwargs) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 125, in run from qtpyvcp.utilities.config_loader import load_config_files File "/home/rob/dev/qtpyvcp/qtpyvcp/utilities/config_loader.py", line 3, in <module> import hiyapyco File "/home/rob/.local/lib/python3.9/site-packages/hiyapyco/__init__.py", line 30, in <module> from jinja2 import Environment, Undefined, DebugUndefined, StrictUndefined, TemplateError File "/home/rob/.local/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/home/rob/.local/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/home/rob/.local/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/home/rob/.local/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/rob/.local/lib/python3.9/site-packages/markupsafe/__init__.py) Shutting down and cleaning up LinuxCNC... task: 200 cycles, min=0.000065, max=0.032832, avg=0.009062, 0 latency excursions (> 10x expected cycle time of 0.010000s) Note: Using POSIX non-realtime LinuxCNC terminated with an error. You can find more information in the log: /home/rob/linuxcnc_debug.txt and /home/rob/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

Please Log in to join the conversation.

More
4 years 8 months ago #235370 by TurBoss
Replied by TurBoss on topic Probe_Basic Install
missing dependency can be fixed

with

python3 -m pip install -U MarkupSafe

Please Log in to join the conversation.

More
4 years 8 months ago #235387 by robertspark
Replied by robertspark on topic Probe_Basic Install
Nope, that did not work unfortunatly:
Code:
Machine configuration directory is '/home/rob/linuxcnc/configs/probe_basic' Machine configuration file is 'probe_basic.ini' Starting LinuxCNC... File: tool.tbl Unrecognized line skipped: ;Tool Pocket Z Offset Diameter Remark linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Note: Using POSIX non-realtime twopass:invoked with <> options twopass:found ./hallib/core_sim_5.hal twopass:found ./hallib/spindle_sim.hal twopass:found ./hallib/simulated_home_probe_basic.hal twopass:found ./hallib/sim_cannon.hal motion.c: Creating unlock hal pins for joint 4 [qtpyvcp][INFO] Logging to /home/rob/linuxcnc/configs/probe_basic/sim.log (logger.py:97) [qtpyvcp][INFO] QtPyVCP Version: python3_master+174.g2c249709 (opt_parser.py:207) [qtpyvcp][DEBUG] Qt Version: 5.15.2 (opt_parser.py:211) [qtpyvcp][DEBUG] Qt API: QT_API (opt_parser.py:212) [qtpyvcp][DEBUG] QtPy Version: 2.0.1 (opt_parser.py:213) [qtpyvcp][DEBUG] Command line options: { "command_line_args": null, "config_file": "/home/rob/linuxcnc/configs/probe_basic/custom_config.yml", "confirm_exit": false, "develop": false, "fullscreen": null, "help": false, "hide_cursor": false, "hide_menu_bar": false, "hide_status_bar": false, "info": false, "ini": "/home/rob/linuxcnc/configs/probe_basic/probe_basic.ini", "log_file": "/home/rob/linuxcnc/configs/probe_basic/sim.log", "log_level": "DEBUG", "maximize": null, "perfmon": false, "position": "0x0", "qt_api": null, "size": null, "stylesheet": null, "theme": null, "version": false } (opt_parser.py:216) Traceback (most recent call last): File "/home/rob/.local/bin/probe_basic", line 33, in <module> sys.exit(load_entry_point('probe-basic', 'gui_scripts', 'probe_basic')()) File "/home/rob/dev/probe_basic/probe_basic/__init__.py", line 20, in main qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE) File "/home/rob/dev/qtpyvcp/qtpyvcp/__init__.py", line 27, in run_vcp run(*args, **kwargs) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 125, in run from qtpyvcp.utilities.config_loader import load_config_files File "/home/rob/dev/qtpyvcp/qtpyvcp/utilities/config_loader.py", line 3, in <module> import hiyapyco File "/home/rob/.local/lib/python3.9/site-packages/hiyapyco/__init__.py", line 30, in <module> from jinja2 import Environment, Undefined, DebugUndefined, StrictUndefined, TemplateError File "/home/rob/.local/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/home/rob/.local/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/home/rob/.local/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/home/rob/.local/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/rob/.local/lib/python3.9/site-packages/markupsafe/__init__.py) Shutting down and cleaning up LinuxCNC... task: 205 cycles, min=0.000052, max=0.027100, avg=0.009103, 0 latency excursions (> 10x expected cycle time of 0.010000s) Note: Using POSIX non-realtime LinuxCNC terminated with an error. You can find more information in the log: /home/rob/linuxcnc_debug.txt and /home/rob/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

It didn't work for probe_basic_ lathe either.

Please Log in to join the conversation.

More
4 years 8 months ago #235388 by robertspark
Replied by robertspark on topic Probe_Basic Install
I think its more of a QtPyVCP issue as I cannot get the demo qtpyvcp's to load (linuxcnc ~/linuxcnc/configs/sim.qtpyvcp/xyz.ini):
Code:
Traceback (most recent call last): File "/home/rob/.local/bin/qtpyvcp", line 33, in <module> sys.exit(load_entry_point('qtpyvcp', 'console_scripts', 'qtpyvcp')()) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 74, in main run(opts, None) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 102, in run load_vcp(opts) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/launcher.py", line 131, in load_vcp if _load_vcp_from_entry_point(vcp, opts): File "/home/rob/dev/qtpyvcp/qtpyvcp/app/launcher.py", line 181, in _load_vcp_from_entry_point vcp.main(opts) File "/home/rob/dev/qtpyvcp/video_tests/opengl_test/__init__.py", line 36, in main qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE) File "/home/rob/dev/qtpyvcp/qtpyvcp/__init__.py", line 27, in run_vcp run(*args, **kwargs) File "/home/rob/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 125, in run from qtpyvcp.utilities.config_loader import load_config_files File "/home/rob/dev/qtpyvcp/qtpyvcp/utilities/config_loader.py", line 3, in <module> import hiyapyco File "/home/rob/.local/lib/python3.9/site-packages/hiyapyco/__init__.py", line 30, in <module> from jinja2 import Environment, Undefined, DebugUndefined, StrictUndefined, TemplateError File "/home/rob/.local/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/home/rob/.local/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/home/rob/.local/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/home/rob/.local/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/rob/.local/lib/python3.9/site-packages/markupsafe/__init__.py)

also when I try to open the probe basic vcp via vcpedit I get the following too:
Code:
rob@RobsCNC:~$ editvcp [EditVCP][INFO] Logging to /home/rob/qtpyvcp.log (logger.py:97) [EditVCP][INFO] Loading YAML config file: /home/rob/dev/probe_basic/probe_basic/probe_basic.yml (editvcp.py:132) Traceback (most recent call last): File "/home/rob/.local/bin/editvcp", line 33, in <module> sys.exit(load_entry_point('qtpyvcp', 'console_scripts', 'editvcp')()) File "/home/rob/dev/qtpyvcp/qtpyvcp/tools/editvcp.py", line 219, in main launch_designer(opts) File "/home/rob/dev/qtpyvcp/qtpyvcp/tools/editvcp.py", line 135, in launch_designer from qtpyvcp.utilities.config_loader import load_config_files File "/home/rob/dev/qtpyvcp/qtpyvcp/utilities/config_loader.py", line 3, in <module> import hiyapyco File "/home/rob/.local/lib/python3.9/site-packages/hiyapyco/__init__.py", line 30, in <module> from jinja2 import Environment, Undefined, DebugUndefined, StrictUndefined, TemplateError File "/home/rob/.local/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/home/rob/.local/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/home/rob/.local/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/home/rob/.local/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/rob/.local/lib/python3.9/site-packages/markupsafe/__init__.py)

Please Log in to join the conversation.

More
4 years 7 months ago #236393 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Just wanted to give a little follow up. Sorry for the delay, lifes been crazy, relocating to a different state and all...

I actually had success getting everything up and running. Somewhat at least. Installed via robertspark's setup on debian 11 aswell as another link from rodw with a full install script. Basically set up deb11 and ran the full linuxcnc install script, then had to reinstall qtpyvcp and probe basic and its all working as it should. The Probe_Basic and Probe_basic lathe sims work great, and I can easily use pncconf to make a working axis setup with my mesa 7i76e. Works well with my steppers, buttons, switches etc. But it seems that with any tutorial I follow I can not get probe basic to interface with my hardware. I have modified the pncconf hal and ini files, I have straight up used the probe_basic ini file modified to call my created hal file. No luck so far

Would really hate to flash a fresh install to try something different, also my flash drives are in a shipping container across the country currently so..... Also came a long way custom patching some wifi issues, installing secondary programs ,etc...

I can attach any info if someone wanted to try and help get probe basic to talk with my hal and ini files!

Thanks

 

Please Log in to join the conversation.

More
4 years 7 months ago #236394 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
Use local paths as described in the sticky above for converting pncconfig to probe basic.

Also have you verified your connecting to your mesa?

Please Log in to join the conversation.

More
4 years 7 months ago #236395 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Im sorry im not sure what you mean by stickies above. Might just be stupid.

I have confirmed the connection to the mesa. I can ping it, and I have an axis setup that I can load into and jog around a bit. Enough to verify that the connection to mesa, and wiring to steppers are all functioning properly. Still have to finish up the wiring diagram and unpack the e-stops and all.

Please Log in to join the conversation.

More
4 years 7 months ago #236396 by Lcvette
Replied by Lcvette on topic Probe_Basic Install
Sticky post at the top of the qtpyvcp category of this forum section.. it outlines in detail how to convert your config files for use with probe basic

Please Log in to join the conversation.

More
4 years 7 months ago #236397 by Lcvette

Please Log in to join the conversation.

More
4 years 7 months ago #236398 by jkkicks
Replied by jkkicks on topic Probe_Basic Install
Oh okay I gotcha, Yea ive followed the Probe Basic Config Conversion Doc probably 2-3 times already. Not seeming to work any way I do it

Please Log in to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum