Problem with making my first vcp in qtpyvcp 0.4

More
3 years 4 months ago - 3 years 4 months ago #273987 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!
Last edit: 3 years 4 months ago by MillingMarvin.

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

More
3 years 4 months ago #274103 by andypugh
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.

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

More
3 years 4 months ago #274106 by TurBoss

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

More
3 years 4 months ago #274120 by MillingMarvin
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!
 

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

More
3 years 4 months ago #274127 by andypugh
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?

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

More
3 years 4 months ago #274130 by MillingMarvin
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!

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

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