Problem with making my first vcp in qtpyvcp 0.4
- MillingMarvin
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
21 Jun 2023 09:59 - 21 Jun 2023 15:27 #273987
by MillingMarvin
Problem with making my first vcp in qtpyvcp 0.4 was created by MillingMarvin
Hello everyone,
I am having a problem with making my first vcp an I am very new to linux.
I cant start my vcp through linuxcnc. I got as far as creating and editing my vcp with the instructions here:
www.qtpyvcp.com/tutorials/vcp_template.html
But when I try to open it with linuxcnc, nothing happens, only a small window in the bottom right opens, with the titel:
AXIX manual toolchange.
My Installation steps where:
-Debian Bookworm netinstall
-installed the RT kernel from here ( www.qtpyvcp.com/install/bookworm.html )
-python 3.7.9 install ( tecadmin.net/install-python-3-7-on-ubuntu-linuxmint/ )
-pt5.14.2 install ( download.qt.io/archive/qt/5.14/5.14.2/ )
-linuxcnc 2.9 via terminal ( $ sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash )
-installed the Software Dependencies ( www.qtpyvcp.com/install/prerequisites.html )
-installed qtpyvcp via apt repository ( www.qtpyvcp.com/install/apt_install.html )
I wanted to install it with the standard install, but i could not get the pip install to work in my last attempts...
Starting and simulating Probe Basic works fine now.
$ qtpyvcp -h
and
$ gtpyvcp -i
work too.
To get a new vcp I can work on,
I executed the tutorial.sh using a virtuelenv. Without it I get the same error as when trying to install qtpyvcp the standard way (error: externally-managed-environment)
So i did:
$ python3 -m venv env
$ source env/bin/activate
and
$ deactivate
afterwards.
I dont know what typ of log files would be needed to find the issue, please let me know.
Thanks in Advance!
I am having a problem with making my first vcp an I am very new to linux.
I cant start my vcp through linuxcnc. I got as far as creating and editing my vcp with the instructions here:
www.qtpyvcp.com/tutorials/vcp_template.html
But when I try to open it with linuxcnc, nothing happens, only a small window in the bottom right opens, with the titel:
AXIX manual toolchange.
My Installation steps where:
-Debian Bookworm netinstall
-installed the RT kernel from here ( www.qtpyvcp.com/install/bookworm.html )
-python 3.7.9 install ( tecadmin.net/install-python-3-7-on-ubuntu-linuxmint/ )
-pt5.14.2 install ( download.qt.io/archive/qt/5.14/5.14.2/ )
-linuxcnc 2.9 via terminal ( $ sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash )
-installed the Software Dependencies ( www.qtpyvcp.com/install/prerequisites.html )
-installed qtpyvcp via apt repository ( www.qtpyvcp.com/install/apt_install.html )
I wanted to install it with the standard install, but i could not get the pip install to work in my last attempts...
Starting and simulating Probe Basic works fine now.
$ qtpyvcp -h
and
$ gtpyvcp -i
work too.
To get a new vcp I can work on,
I executed the tutorial.sh using a virtuelenv. Without it I get the same error as when trying to install qtpyvcp the standard way (error: externally-managed-environment)
So i did:
$ python3 -m venv env
$ source env/bin/activate
and
$ deactivate
afterwards.
I dont know what typ of log files would be needed to find the issue, please let me know.
Thanks in Advance!
Last edit: 21 Jun 2023 15:27 by MillingMarvin.
Please Log in or Create an account to join the conversation.
22 Jun 2023 23:49 #274103
by andypugh
Replied by andypugh on topic Problem with making my first vcp in qtpyvcp 0.4
Have you tried loading LinuxCNC from the command-line (command "linuxcnc") and reading through the error messages.
There is probably something there which will tell you what the problem is.
There is probably something there which will tell you what the problem is.
Please Log in or Create an account to join the conversation.
23 Jun 2023 01:35 #274106
by TurBoss
Replied by TurBoss on topic Problem with making my first vcp in qtpyvcp 0.4
Please Log in or Create an account to join the conversation.
- MillingMarvin
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
23 Jun 2023 08:00 #274120
by MillingMarvin
Replied by MillingMarvin on topic Problem with making my first vcp in qtpyvcp 0.4
Thank you for your reply,
I did that already but forgot about it since I didnt know what to do with it...
It says the name or file path could be wrong, but how could linuxcnc load it in the first place?
What kind of file is linuxcnc trying to load hier (/home/cnc/dmg_imposter_04)?
I inspected the launcher.py file, but really dont know what do do with that.
I tried the dev install first, but got confused with the instructions. On the prerequisites site it says:
"These requirements are the same regardless of the install method."
So I installed debian bookworm, everything from the prerequisites site and went on to skip the rt kernel install, since i dont plan to run a actual machine from this pc. When installing the dependencies, i got 4 errors i think. Linuxcnc installed fine though. I got more errors when installing qtpyvcp with the dev install.
$ qtpyvcp -i
and
$ qtpyvcp -h
didnt work either.
Should i try the dev install again, but only use the dev install instructions?
Greatings from Germany!
I did that already but forgot about it since I didnt know what to do with it...
It says the name or file path could be wrong, but how could linuxcnc load it in the first place?
What kind of file is linuxcnc trying to load hier (/home/cnc/dmg_imposter_04)?
I inspected the launcher.py file, but really dont know what do do with that.
I tried the dev install first, but got confused with the instructions. On the prerequisites site it says:
"These requirements are the same regardless of the install method."
So I installed debian bookworm, everything from the prerequisites site and went on to skip the rt kernel install, since i dont plan to run a actual machine from this pc. When installing the dependencies, i got 4 errors i think. Linuxcnc installed fine though. I got more errors when installing qtpyvcp with the dev install.
$ qtpyvcp -i
and
$ qtpyvcp -h
didnt work either.
Should i try the dev install again, but only use the dev install instructions?
Greatings from Germany!
Please Log in or Create an account to join the conversation.
23 Jun 2023 11:54 #274127
by andypugh
Replied by andypugh on topic Problem with making my first vcp in qtpyvcp 0.4
I wonder if there is a problem with the fact that the launcher is converting the filename to lowercase before loading it?
What files are in the dmg_imposter_04 directory?
What files are in the dmg_imposter_04 directory?
Please Log in or Create an account to join the conversation.
- MillingMarvin
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
23 Jun 2023 12:23 #274130
by MillingMarvin
Replied by MillingMarvin on topic Problem with making my first vcp in qtpyvcp 0.4
Files inside:
/home/cnc/dmg_imposter_04
LICENSE
MANIFEST.in
README.md
setup.py
steup.py.bak
/home/cnc/dmg_imposter_04/dmg_imposter_04/
config.yml
config.yml.bak
_init_.py
_init_.py.bak
mainwindow.py
/home/cnc/dmg_imposter_04/dmg_imposter_04/resources/
resources.qrc
/home/cnc/dmg_imposter_04/dmg_imposter_04/ui/
mainwindow.ui
style.qss
/home/cnc/dmg_imposter_04/dmg_imposter_04.egg-info/
dependency_links.txt
entry_point.txt
PKG-INFO
SOURCES.txt
top_level.txt
/home/cnc/linuxcnc/configs/dmg_imposter_04/
custom.hal
dmg_imposter_04.hal
dmg_imposter_04.ini
dmg_imposter_04.ini.bak
linuxcnc.var
linuxcnc.var.bak
postgui.hal
README
sim_hardware.hal
tool.tbl
These are all files i could find.
Thank you for your time!
/home/cnc/dmg_imposter_04
LICENSE
MANIFEST.in
README.md
setup.py
steup.py.bak
/home/cnc/dmg_imposter_04/dmg_imposter_04/
config.yml
config.yml.bak
_init_.py
_init_.py.bak
mainwindow.py
/home/cnc/dmg_imposter_04/dmg_imposter_04/resources/
resources.qrc
/home/cnc/dmg_imposter_04/dmg_imposter_04/ui/
mainwindow.ui
style.qss
/home/cnc/dmg_imposter_04/dmg_imposter_04.egg-info/
dependency_links.txt
entry_point.txt
PKG-INFO
SOURCES.txt
top_level.txt
/home/cnc/linuxcnc/configs/dmg_imposter_04/
custom.hal
dmg_imposter_04.hal
dmg_imposter_04.ini
dmg_imposter_04.ini.bak
linuxcnc.var
linuxcnc.var.bak
postgui.hal
README
sim_hardware.hal
tool.tbl
These are all files i could find.
Thank you for your time!
Please Log in or Create an account to join the conversation.
23 Jun 2023 12:38 #274133
by andypugh
Replied by andypugh on topic Problem with making my first vcp in qtpyvcp 0.4
I think we are now at the point that someone who knows QtPyVCP is needed. (I have just been offering standard linux / linuxcnc debugging ideas)
Please Log in or Create an account to join the conversation.
23 Jun 2023 22:10 #274159
by Joco
Replied by Joco on topic Problem with making my first vcp in qtpyvcp 0.4
Given it's a good indoor day I should be able to have a look. I have been meaning to play the "new vcp from template scripts" pattern through for a while, plus i need to make a test bed VCP for developing/provig custom user UI inclusion to a standard VCP.
Cheers - James.
Cheers - James.
The following user(s) said Thank You: KCJ
Please Log in or Create an account to join the conversation.
25 Jun 2023 03:35 #274193
by Joco
Replied by Joco on topic Problem with making my first vcp in qtpyvcp 0.4
Update: Have found that the vcp-template has not caught up with the changes resulting from shifting to Debian 12 and the new PEP that has depricated setup.py
Working on correcting this in a new branch called poetry-jw
Cheers - J.
Working on correcting this in a new branch called poetry-jw
Cheers - J.
The following user(s) said Thank You: KCJ
Please Log in or Create an account to join the conversation.
02 Jul 2023 05:51 #274623
by Joco
Replied by Joco on topic Problem with making my first vcp in qtpyvcp 0.4
the vcp-template has been updated and tested to work under Debian 12 and the required python venv. Please remember to read the readme file.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds