QtPyVCP - First VCP tutorial problems
05 Mar 2024 04:30 #295190
by spumco
QtPyVCP - First VCP tutorial problems was created by spumco
I've been fiddling with Probe Basic for a while but I'd like to try a new VCP from scratch. Sadly, I'm having problems following the tutorial on the qtpyvcp instruction site.
Note: this is a VM installation which followed the PB dev install script
I followed the Clone and Prepare page and everything seemed to go ok... until I tried to start the new vcp (editvcp vcp1).
A new 'vcp1' folder was created, as well as a vcp1 config in the linuxcnc folder, but neither will start.
If I run the 'Designer for PB Mill' launcher everything goes just fine. Qt Designer opens, widget rules and all the qtpyvcp plugin stuff is present.
Any idea what I did wrong?
Attached screenshot of the folder(s) and files created during the installation attempt in case it helps
Note: this is a VM installation which followed the PB dev install script
I followed the Clone and Prepare page and everything seemed to go ok... until I tried to start the new vcp (editvcp vcp1).
A new 'vcp1' folder was created, as well as a vcp1 config in the linuxcnc folder, but neither will start.
No vcp1.ui or .yaml file was created. There is a mainwindow.py file and a mainwindow.ui file under the /vcp1/src/ui folder.(venv) lathe@lathe:~$ editvcp vcp1
[EditVCP][INFO] Logging to /home/lathe/qtpyvcp.log (logger.py:117)
[EditVCP][ERROR] No valid file type selected.
File must be a .yaml config file or a .ui file. (editvcp.py:185)
(venv) lathe@lathe:~$
If I run the 'Designer for PB Mill' launcher everything goes just fine. Qt Designer opens, widget rules and all the qtpyvcp plugin stuff is present.
Any idea what I did wrong?
Attached screenshot of the folder(s) and files created during the installation attempt in case it helps
Please Log in or Create an account to join the conversation.
06 Apr 2024 16:23 #297696
by Lcvette
Replied by Lcvette on topic QtPyVCP - First VCP tutorial problems
if you look at the probe basic launchers it will show you it is actually calling up scripts to launch everything needed, you could put your fil in the dev folder and mimic the launchers of PB but change the file names to match your new vcp1. this should give you an easy way to launch eveyrthing needed. the venv requirement really made things toublesome..grrr
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds