Qtvcp is missing on linuxcnc environment

More
09 Feb 2020 06:16 #156824 by prochj51
Replied by prochj51 on topic Qtvcp is missing on linuxcnc environment
So I updated linuxcnc 2.7 to linuxcnc 2.8
for uname -a I get:
Linux debianCNC 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

I installed all the necessary packages from
github.com/LinuxCNC/linuxcnc/tree/master...ython/qtvcp/designer

except espeak-ng-espeak, since I don't know how to install it. I have installed espeak though.
But both are listed as optional so I though they are not that important.

I tried to follow the manual and redo all the necessary stuff but the result is the same as previously.
But the result is still the same. The plugin is loaded but I cannot see the widget in widgetbox.

So I tried to run qtvcp_plugin.py independently and this is what I got:



the problem in my case is that the folder /freedesktop/ does not exist in /share/.

The another thing. I am sure that I have python-espeak, since I can import it in python, but I noticed in code that you run some
subprocess with espeak as it was in command line. I tried to type in bash and command not found, so apparently
it did not add itself to the PATH during the installation. I do not know if it should though.

Thank you for the advice
Jiri
Attachments:

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

More
09 Feb 2020 06:27 #156825 by cmorley
Replied by cmorley on topic Qtvcp is missing on linuxcnc environment
espeak does not matter at all, as you said its optional (and probably just a novelty)

The audio player error doesn't matter - audio sounds just won't work
Though I'll have to find out the proper file paths..

If you run designer from the terminal what doe it say (in the terminal)

Chris

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

More
09 Feb 2020 06:40 #156829 by prochj51
Replied by prochj51 on topic Qtvcp is missing on linuxcnc environment
Nothing at all, no exception, everything seems to be alright.
It just opens qt designer and runs properly until I close it.

Jiri

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

More
09 Feb 2020 06:50 #156834 by cmorley
Replied by cmorley on topic Qtvcp is missing on linuxcnc environment
Can you look at the plugin info dialog in designer again.
you should see the libpyqt5.so (or something close to that) and widgets listed under it.
No listed widgets suggest the link to qtvcp_plugin is not being found.
Where did you put link ?

Chris

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

More
09 Feb 2020 07:01 #156836 by prochj51
Replied by prochj51 on topic Qtvcp is missing on linuxcnc environment
Okey,

so I can see the .so file but there are no widget listed.
I put the link into ~/.designer/plugins/python.
Here is some content of the folders and how I did the link



Jiri
Attachments:

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

More
09 Feb 2020 07:17 #156839 by cmorley
Replied by cmorley on topic Qtvcp is missing on linuxcnc environment
looks like your link in /designer/python/plugin is called qtvcp_plugin
try qtvcp_plugin.py

My test shows the .py ending is required

Chris

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

More
09 Feb 2020 07:55 #156842 by prochj51
Replied by prochj51 on topic Qtvcp is missing on linuxcnc environment
I renamed the link with .py ending but nothing changed.

Another thing is that after installation I did not have
the libpyqt5_py2.tar.gz in folder lib/python/qtvcp/designer (according to guide manual)
but in folder but in /usr/lib/python2.7/dist-packages/qtvcp/designer/x86_64/qt5.7/

I do not have any lib/python/ folder

is it alright?

thanks Jiri

I do

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

More
09 Feb 2020 08:43 #156848 by cmorley
Replied by cmorley on topic Qtvcp is missing on linuxcnc environment
Yes the instructions are based on a run-in-place linuxcnc so the linuxcnc files are in different locations.

designer is finding the libpyqt5_py2 folder so that part is good.
it seems not to be finding the link or the link is not pointing to the right file.
if you click on the link does it take you to the real file?

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

More
09 Feb 2020 09:42 #156853 by prochj51
Replied by prochj51 on topic Qtvcp is missing on linuxcnc environment


It looks it does not say anything about the real file, but it shows correct content.

Link was created like this:
sudo ln -s /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py ~/.designer/plugins/python
Attachments:

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

More
09 Feb 2020 10:21 #156856 by cmorley
Replied by cmorley on topic Qtvcp is missing on linuxcnc environment
well it seems to work for me here in a RIP version.
I would suggest try putting the link in :
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python

and see if that works

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

Moderators: cmorley
Time to create page: 0.112 seconds
Powered by Kunena Forum