Probe_Basic Install

More
4 years 8 months ago #235333 by robertspark
Replied by robertspark on topic Probe_Basic Install
that script is very interesting

need to install zenity (sudo apt install zenity) to get it to fully run in my case.

I will have a go at another clean bullseye install....... seems I've now killed probebasic lathe ..... I was fiddling with the mill and that I "broke"

{I'm learning..... breaking stuff is part of the learning process.... }

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

More
4 years 8 months ago #235352 by bw621
Replied by bw621 on topic Probe_Basic Install
I have been trying to install probe basic today using the both the quick start and developer install.  I have not been able to successfully do so.  I have installed it several times in the past successfully.  Two things I noticed was that the link to download  the installer (see below), and that a probe basic installer fix was committed 2 hours ago on github.  Does anyone think that this could be associated with my potential issues installing?  If not I can post the specific issues that I am having.

Installer link 

 

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

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 or Create an account 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 or Create an account 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 or Create an account 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 or Create an account to join the conversation.

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