qtvcp issues
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 07:13 #123946
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
You are right but I did do a make clean before compiling again.
Please Log in or Create an account to join the conversation.
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 07:17 #123947
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
It could be a system issue system issue because I get the same result from 3 different linuxcnc installations that have qtvcp.
Please Log in or Create an account to join the conversation.
11 Jan 2019 07:24 #123948
by cmorley
Replied by cmorley on topic qtvcp issues
Is this work pushed to your repo - so i could test?
Please Log in or Create an account to join the conversation.
11 Jan 2019 07:37 #123949
by cmorley
Replied by cmorley on topic qtvcp issues
I just recompiled on my system with no apparent problems running qtvcp or designer.
Chris M
Chris M
Please Log in or Create an account to join the conversation.
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 07:47 #123950
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I did more checking and recall that I had a similar isue like this in the past relating to the links from:
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py
I checked the link it it followed back to the correct file in:
/home/cnc/qtvcp-dev/lib/python/qtvcp/plugins/qtvcp_plugin.py
However that file is not executing. If I start designer -qt=5 without . ./scripts/rip-environment in /home/cnc/qtvcp-dev/ I get:
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ designer -qt=5
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 22, in <module>
from qtvcp.plugins.simplewidgets_plugin import *
ImportError: No module named 'qtvcp'
Segmentation fault (core dumped)
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ . ./scripts/rip-environment
So this is perhaps a privilege issue?
/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py
I checked the link it it followed back to the correct file in:
/home/cnc/qtvcp-dev/lib/python/qtvcp/plugins/qtvcp_plugin.py
However that file is not executing. If I start designer -qt=5 without . ./scripts/rip-environment in /home/cnc/qtvcp-dev/ I get:
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ designer -qt=5
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 22, in <module>
from qtvcp.plugins.simplewidgets_plugin import *
ImportError: No module named 'qtvcp'
Segmentation fault (core dumped)
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ . ./scripts/rip-environment
So this is perhaps a privilege issue?
Please Log in or Create an account to join the conversation.
11 Jan 2019 07:53 #123951
by cmorley
Replied by cmorley on topic qtvcp issues
If you don't use ./scripts/rip-environment, it's expected that qtvcp wouldn't be found.
That is what the script is for.
Does the screen it's self run?
That is what the script is for.
Does the screen it's self run?
Please Log in or Create an account to join the conversation.
11 Jan 2019 07:54 #123952
by cmorley
Replied by cmorley on topic qtvcp issues
By screen I mean linuxcnc
Please Log in or Create an account to join the conversation.
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 08:07 #123953
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Yes linuxcnc runs fine with the 1xMill gui as normal. it seems to me from my test that after commenting out: from qtvcp.plugins.simplewidgets_plugin import * in qtvcp_plugin.py and it pick up the led file as the first one that I get the same error with it. So its finding the files it needs but does not like everything it runs into.
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ designer -qt=5
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 23, in <module>
from qtvcp.plugins.led_plugin import LEDPlugin
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/plugins/led_plugin.py", line 5, in <module>
from qtvcp.widgets.led_widget import LED
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/widgets/led_widget.py", line 21, in <module>
from qtvcp.widgets.widget_baseclass import _HalWidgetBase, hal
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/widgets/widget_baseclass.py", line 19, in <module>
import hal
File "/home/cnc/qtvcp-dev/lib/python/hal.py", line 30, in <module>
import _hal
ImportError: /home/cnc/qtvcp-dev/lib/python/_hal.so: undefined symbol: _Py_ZeroStruct
Segmentation fault (core dumped)
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $ designer -qt=5
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 23, in <module>
from qtvcp.plugins.led_plugin import LEDPlugin
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/plugins/led_plugin.py", line 5, in <module>
from qtvcp.widgets.led_widget import LED
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/widgets/led_widget.py", line 21, in <module>
from qtvcp.widgets.widget_baseclass import _HalWidgetBase, hal
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/widgets/widget_baseclass.py", line 19, in <module>
import hal
File "/home/cnc/qtvcp-dev/lib/python/hal.py", line 30, in <module>
import _hal
ImportError: /home/cnc/qtvcp-dev/lib/python/_hal.so: undefined symbol: _Py_ZeroStruct
Segmentation fault (core dumped)
cnc@cnc-OptiPlex-9020 ~/qtvcp-dev $
Please Log in or Create an account to join the conversation.
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 08:10 #123954
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I will have to leave resolving this problem until tomorrow morning.
Please Log in or Create an account to join the conversation.
- auto-mation-assist
- Offline
- Platinum Member
Less
More
- Posts: 425
- Thank you received: 81
11 Jan 2019 08:12 #123955
by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Internet says it may be due to a python version issue
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.179 seconds