Error Messages

More
18 Mar 2020 16:26 #160656 by ajsinfotech
Replied by ajsinfotech on topic Error Messages
Thanks Chris!

Sorry but no luck... again... :(

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

More
18 Mar 2020 16:28 - 18 Mar 2020 17:50 #160657 by ajsinfotech
Replied by ajsinfotech on topic Error Messages

Thanks Chris!


BTW, I'm trying to configure Qt Designer HAL plugins but it throws:

libEGL warning: DRI2: failed to authenticate
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
Traceback (most recent call last):
  File "/home/pi/.designer/plugins/python/qtvcp_plugin.py", line 22, in <module>
    from qtvcp.plugins.simplewidgets_plugin import *
  File "/home/pi/linuxcnc/lib/python/qtvcp/plugins/simplewidgets_plugin.py", line 5, in <module>
    from qtvcp.widgets.simple_widgets import PushButton
  File "/home/pi/linuxcnc/lib/python/qtvcp/widgets/simple_widgets.py", line 17, in <module>
    from qtvcp.widgets.widget_baseclass import _HalWidgetBase, _HalToggleBase, _HalSensitiveBase
  File "/home/pi/linuxcnc/lib/python/qtvcp/widgets/widget_baseclass.py", line 19, in <module>
    import hal
  File "/home/pi/linuxcnc/lib/python/hal.py", line 30, in <module>
    import _hal
ImportError: /home/pi/linuxcnc/lib/python/_hal.so: undefined symbol: _Py_ZeroStruct
qt5ct: D-Bus system tray: no
libpng warning: iCCP: known incorrect sRGB profile

I try all libpyqt5_py2.so versions (qt5.5, qt5.7 & qt5.9), Qt Designer starts but fails to load HAL widgets.
Could it be an issue between python2 & python3 libraries?
I am using an RPi3 Raspbian Buster. With Raspbian Stretch HAL widgets loads fine.


It is not one of my best weeks, I think :S
Last edit: 18 Mar 2020 17:50 by ajsinfotech.

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

More
19 Mar 2020 01:16 #160699 by cmorley
Replied by cmorley on topic Error Messages
You may need to compile the libpyqt5_py2. Those versions were compiled with X86_64.
what version of qt is on rasberrypi buster?

The undefined error doesn't look to be qt related though _hal.s0 is the python library module to linuxcnc's HAL interface. Does any of the other screens run?

Chris

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

  • phillc54
  • phillc54's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Mar 2020 04:13 #160706 by phillc54
Replied by phillc54 on topic Error Messages
Chris,
I ran up my Pi4 for a test run, it runs raspberry buster:
Linux pi4-1 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Tue Mar 17 18:23:13 AEDT 2020 armv7l GNU/Linux
Qt is version 5.11 and _hal.s0 would need to be compiled for armhf

There looks to be some issue with Qt and OpenGL, I get these errors on starting up QtAxis and Blender although they do load after OKing the error messages:
Warning: Spoiler!

There is no display in the Preview tab.

Manually resizing the screen causes a segmentation fault:
Warning: Spoiler!


Designer does load although of course there are no QTvcp widgets.

If you need any further testing let me know.
Attachments:

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

More
19 Mar 2020 05:58 #160711 by cmorley
Replied by cmorley on topic Error Messages
Opengl issues - linuxcnc uses very old legacy opengl routines.

I'm not an opengl guy....
but hey does AXIS display show?

Chris

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

  • phillc54
  • phillc54's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Mar 2020 06:02 #160712 by phillc54
Replied by phillc54 on topic Error Messages
Yep, AXIS displays normally and GladCVP panels show OK as well.

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

More
19 Mar 2020 10:58 - 19 Mar 2020 11:11 #160723 by ajsinfotech
Replied by ajsinfotech on topic Error Messages

what version of qt is on rasberrypi buster?

Qt 5.11.3
I'm not totally sure but in my previous installation (Stretch) Qt Designer HAL widgets loaded fine.
Sorry, but I was doing lots of tests so I decide to use Buster on my RPi3 just to keep all things paired with my RPi4.
I also chose Buster because of Qt packages already available for it. :blink:
Last edit: 19 Mar 2020 11:11 by ajsinfotech.

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

  • phillc54
  • phillc54's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Mar 2020 11:04 #160725 by phillc54
Replied by phillc54 on topic Error Messages
I see reports that Qt on Buster is compiled for OpenGL ES and not OpenGL Desktop. Maybe that causes the issue.

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

More
19 Mar 2020 11:06 - 19 Mar 2020 11:13 #160726 by ajsinfotech
Replied by ajsinfotech on topic Error Messages
Hi Phillc54! Thanks for joining!

I see reports that Qt on Buster is compiled for OpenGL ES and not OpenGL Desktop. Maybe that causes the issue.

So, what do you suggest I do/try?
Last edit: 19 Mar 2020 11:13 by ajsinfotech.

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

More
19 Mar 2020 11:08 - 19 Mar 2020 11:09 #160727 by ajsinfotech
Replied by ajsinfotech on topic Error Messages
Thanks Chris!

but hey does AXIS display show?

All run just fine, but Qt.
Last edit: 19 Mar 2020 11:09 by ajsinfotech.

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

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