Problems with vcp-template
- Nserega.90
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
07 Mar 2025 16:58 - 07 Mar 2025 17:09 #323438
by Nserega.90
Problems with vcp-template was created by Nserega.90
Hello!! I apologize in advance! I am new to linuxcnc, and especially to qtvcp. I am following the instructions from here www.qtpyvcp.com/tutorials/basic_vcp/basic_vcp_01.html. After running the tutorial.sh script, I try to run the following command editvcp vcp1, but I get an error! Can you tell me what is wrong?
Files in folders
vcp1
~./linuxcnc/configs/vcp1
(venv) user@cnc:~$ cd /home/user/linuxcnc/configs/vcp1/
(venv) user@cnc:~/linuxcnc/configs/vcp1$ ls
custom.hal README tool.tbl vcp1.ini
postgui.hal sim_hardware.hal vcp1.hal vcp1.ini.bak
/home/user/qtpyvcp.log
Warning: Spoiler!
(venv) user@cnc:~$ cd /home/user/vcp-template/
(venv) user@cnc:~/vcp-template$ ./tutorial.sh
Venv Exists
Activate Venv
Enter a name for the VCP or Q to quit vcp1
VCP Template files sourced from /home/user/vcp-template
Copying the VCP Template to /home/user/vcp1
+ pip install -e .
Obtaining file:///home/user/vcp1
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: vcp1
Building editable for vcp1 (pyproject.toml) ... done
Created wheel for vcp1: filename=vcp1-0.0.1-py3-none-any.whl size=8625 sha256=18e88f18418077b09bec3fbe5bc53154add94ded3282f6ddf20bfea095906202
Stored in directory: /tmp/pip-ephem-wheel-cache-6gf57fbo/wheels/c3/b7/82/4138f316dd8b067290cfc58831b9fbfc31aa5077a92f63f4ed
Successfully built vcp1
Installing collected packages: vcp1
Attempting uninstall: vcp1
Found existing installation: vcp1 0.0.1
Uninstalling vcp1-0.0.1:
Successfully uninstalled vcp1-0.0.1
Successfully installed vcp1-0.0.1
+ set +x
Note: to edit the VCP in a terminal editvcp vcp1
Copy the Tutorial LinuxCNC Configuration Files? Yes No yes
Creating the Directory /home/user/linuxcnc/configs/vcp1
Copying Sample Config Files from /home/user/vcp-template/basic_vcp/ to /home/user/linuxcnc/configs/vcp1
(venv) user@cnc:~/vcp-template$ editvcp vcp1
[EditVCP][INFO] Logging to /home/user/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) user@cnc:~/vcp-template$
(venv) user@cnc:~/vcp-template$ ./tutorial.sh
Venv Exists
Activate Venv
Enter a name for the VCP or Q to quit vcp1
VCP Template files sourced from /home/user/vcp-template
Copying the VCP Template to /home/user/vcp1
+ pip install -e .
Obtaining file:///home/user/vcp1
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: vcp1
Building editable for vcp1 (pyproject.toml) ... done
Created wheel for vcp1: filename=vcp1-0.0.1-py3-none-any.whl size=8625 sha256=18e88f18418077b09bec3fbe5bc53154add94ded3282f6ddf20bfea095906202
Stored in directory: /tmp/pip-ephem-wheel-cache-6gf57fbo/wheels/c3/b7/82/4138f316dd8b067290cfc58831b9fbfc31aa5077a92f63f4ed
Successfully built vcp1
Installing collected packages: vcp1
Attempting uninstall: vcp1
Found existing installation: vcp1 0.0.1
Uninstalling vcp1-0.0.1:
Successfully uninstalled vcp1-0.0.1
Successfully installed vcp1-0.0.1
+ set +x
Note: to edit the VCP in a terminal editvcp vcp1
Copy the Tutorial LinuxCNC Configuration Files? Yes No yes
Creating the Directory /home/user/linuxcnc/configs/vcp1
Copying Sample Config Files from /home/user/vcp-template/basic_vcp/ to /home/user/linuxcnc/configs/vcp1
(venv) user@cnc:~/vcp-template$ editvcp vcp1
[EditVCP][INFO] Logging to /home/user/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) user@cnc:~/vcp-template$
Files in folders
Warning: Spoiler!
(venv) user@cnc:~/vcp-template$ ls
basic_vcp copy.sh LICENSE myvcp README.md tutorial tutorial.sh
(venv) user@cnc:~/vcp-template$ ls basic_vcp/ myvcp/ tutorial/
basic_vcp/:
basic_vcp.hal custom.hal README tool.tbl
basic_vcp.ini postgui.hal sim_hardware.hal
myvcp/:
build_deb.sh debian install.sh MANIFEST.in pyproject.toml README.md src
tutorial/:
build_deb.sh debian install.sh MANIFEST.in pyproject.toml README.md src
(venv) user@cnc:~/vcp-template$
basic_vcp copy.sh LICENSE myvcp README.md tutorial tutorial.sh
(venv) user@cnc:~/vcp-template$ ls basic_vcp/ myvcp/ tutorial/
basic_vcp/:
basic_vcp.hal custom.hal README tool.tbl
basic_vcp.ini postgui.hal sim_hardware.hal
myvcp/:
build_deb.sh debian install.sh MANIFEST.in pyproject.toml README.md src
tutorial/:
build_deb.sh debian install.sh MANIFEST.in pyproject.toml README.md src
(venv) user@cnc:~/vcp-template$
vcp1
Warning: Spoiler!
(venv) user@cnc:~$ cd /home/user/vcp1/
(venv) user@cnc:~/vcp1$ ls
build_deb.sh install.sh MANIFEST.in pyproject.toml.bak src
debian LICENSE pyproject.toml README.md
(venv) user@cnc:~/vcp1$ ls
build_deb.sh install.sh MANIFEST.in pyproject.toml.bak src
debian LICENSE pyproject.toml README.md
~./linuxcnc/configs/vcp1
Warning: Spoiler!
(venv) user@cnc:~$ cd /home/user/linuxcnc/configs/vcp1/
(venv) user@cnc:~/linuxcnc/configs/vcp1$ ls
custom.hal README tool.tbl vcp1.ini
postgui.hal sim_hardware.hal vcp1.hal vcp1.ini.bak
/home/user/qtpyvcp.log
Warning: Spoiler!
2025-03-08 00:37:48,559 - EditVCP - INFO - Logging to /home/user/qtpyvcp.log
2025-03-08 00:37:48,657 - EditVCP - ERROR - No valid file type selected.
File must be a .yaml config file or a .ui file.
2025-03-08 00:37:48,657 - EditVCP - ERROR - No valid file type selected.
File must be a .yaml config file or a .ui file.
Last edit: 07 Mar 2025 17:09 by Nserega.90.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1347
- Thank you received: 666
07 Mar 2025 19:23 #323451
by Lcvette
Replied by Lcvette on topic Problems with vcp-template
The following user(s) said Thank You: Nserega.90
Please Log in or Create an account to join the conversation.
- Nserega.90
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
08 Mar 2025 04:23 #323491
by Nserega.90
Replied by Nserega.90 on topic Problems with vcp-template
Thanks! I'll try!
Please Log in or Create an account to join the conversation.
- Nserega.90
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
08 Mar 2025 06:01 - 08 Mar 2025 06:06 #323495
by Nserega.90
Replied by Nserega.90 on topic Problems with vcp-template
I understand this is the process of installing qtpyvcp and the Basic probe. In my case, it all works. Probably, I did not correctly identify the problem! I also correctly installed qtdesigner5 with linuxcnc widgets. But the problem is that the folder with the installed (vcp template) is not correctly configured for further editing! That is, I want to try to make my own graphical interface. I tried to create a GUI through flex gui, which was created by John, and it is very cool and quite clear. But I also want to study and try to create my GUI through qtpyvcp, but I encountered the problem that I described above!
Or you can start creating your own GUI without this step: www.qtpyvcp.com/tutorials/basic_vcp/basic_vcp_01.html
Or you can start creating your own GUI without this step: www.qtpyvcp.com/tutorials/basic_vcp/basic_vcp_01.html
Last edit: 08 Mar 2025 06:06 by Nserega.90.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1347
- Thank you received: 666
08 Mar 2025 14:08 #323523
by Lcvette
Replied by Lcvette on topic Problems with vcp-template
just start designing whatever you like, the template is just a starter. you can open probe basic and use it as a template also if you prefer.. its completely up to you what you create.
The following user(s) said Thank You: Nserega.90
Please Log in or Create an account to join the conversation.
- Nserega.90
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 3
10 Mar 2025 01:47 #323586
by Nserega.90
Replied by Nserega.90 on topic Problems with vcp-template
Thank you! Yes, everything worked out! Your instructions were easier. I'm trying to design)))
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1347
- Thank you received: 666
10 Mar 2025 01:59 #323589
by Lcvette
Replied by Lcvette on topic Problems with vcp-template
Glad you got a handle on it!
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.196 seconds