QTDragon on RPI Segmentation fault

More
4 years 1 month ago #252540 by kinghpole
I'm trying to get QTdragon running on my RPI4 and started by trying the get the branch persei802 put up on their GitHub running I installed the python-pyqt5 and vtk with the deb file and can import both in python but when I launch qtdragon_xyz.ini it exits with the following fault:

/usr/bin/linuxcnc: line 896:  2244 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS

Does any know what the issue might be and how to fix it?

 

Please Log in to join the conversation.

More
4 years 1 month ago #252594 by cmorley
Can you run any other Qtvcp screens?
To be clear you never see the screen appear at all?

Please Log in to join the conversation.

More
4 years 1 month ago #252630 by kinghpole
When trying to launch qtdragon the screen does flash up for a fraction of a second before disappearing, and after trying to launch the tester screen, I get the same segmentation fault.

Please Log in to join the conversation.

More
4 years 1 month ago #252641 by phillc54
This may be causing your issue:

./mpg.hal:2: Warning: File contains DOS-style line endings.
 

Please Log in to join the conversation.

More
4 years 1 month ago #252644 by cmorley
try opening a terminal and running: qtvcp test_panel
does that work?

Please Log in to join the conversation.

More
4 years 1 month ago #252645 by kinghpole
I don't think it has anything to do with mpg.hal because the qtdragon example doesn't have that file and has the same error as well as the demo qtaxis has the same error as well.

Running: qtvcp test_panel I still get a segmentation fault but it does now mention "AttributeError: 'VCPWindow' object has no attribute 'statusbar'"

Please Log in to join the conversation.

More
4 years 1 month ago #252646 by cmorley
What version of linuxcnc are you using?
The errors you quote are not the problem, but I don't see anything that leads me to suggestions so far.

Please Log in to join the conversation.

More
4 years 1 month ago #252647 by kinghpole
2.8.1

Please Log in to join the conversation.

More
4 years 1 month ago #252657 by phillc54
I don't think that python2 will run QtVCP screens as I think the pyqt5-opengl was compiled for ES rather than desktop.

I have succesfully run the QtVCP screens from master branch (2.9) on the 64 bit Pi image from here:
forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=130#238020

I think I also need to add this fix:
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=50#243432

You don't need vtk for the QtVCP screens.
 

Please Log in to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum