Category: QtPyVCP
At least got it up and running.
1. Had to replace "import imp" in /usr/lib/python3/dist-packages/qtpyvcp/app/application.py
with "import importlib.util"
and on line 159
#module = imp.load_source('python_vcp', pyfile)
spec = importlib.util.spec_from_file_location('python_vcp', pyfile)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
This comes from the python3-qtpyvcp apt package.
Is it qtpyvcp to blame or trixie that doesn't provide the imp module?
2. Missing [PLASMAC]SLAT_TOP in ini file. Added
SLAT_TOP=0.0 in PLASMAC section.
I guess it could be given a default value as is done for so many variables when they are missing.
3. Locale problems. <string>:1: SyntaxWarning: invalid decimal literal
Started linuxcnc with
debian@plasma$ LC_ALL=C linuxcnc xyz.ini
and it gives me a Monokrom screen.
Edit.
The LC_ALL=C wasn't needed.
But this one needs attention:
Note: Using POSIX realtime
!!!!db_init: </home/james/dev/venv/bin/plasma_tooldbpipe> not executable
emc/task/taskclass.cc 169: can't initialize DB_PROGRAM.
emc/task/taskclass.cc 188: can't load tool table.