qtvcp issues

More
31 Jan 2019 04:09 - 31 Jan 2019 04:16 #125370 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Since changing to Mint 19.1 I get indentation error messages even tough I use the same indent and everything visually lines up just fine in the text editor. This is just a inconvenience that can be worked around with a better editor or by copy and paste existing indents. A more important problem that shows up on start up of the gui is a problem.

For some reason on start up the size is reduced as the below picture shows. Once the Gui is loaded and running I notice that the size returns to normal and info messages can be read.

Attachments:
Last edit: 31 Jan 2019 04:16 by auto-mation-assist.

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

More
31 Jan 2019 16:41 #125405 by cmorley
Replied by cmorley on topic qtvcp issues
Indent problems typically happen if you mix tabs and spaces.
I always set my text editor to use 4 space when the tab button is pressed.
Maybe that is related to the error.

I'll test the error message on my mint 19 system and see If i can see what's going on with the error message.

Chris M

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

More
31 Jan 2019 19:01 #125425 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
Yesterday I got the designer and linuxcnc working just fine on Mint 19.1 and could control all machine functions. Before this I could open the designer without a problem but after running linucnc for sever hours and then opening the designer I get the below message and opening the designer fails. this does not make much sense since none of the files listed in the error message were changed by me.

cnc@cnc1:~/qtvcp-dev$ . ./scripts/rip-environment
cnc@cnc1:~/qtvcp-dev$ designer -qt=5
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
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 *
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/plugins/simplewidgets_plugin.py", line 5, in <module>
from qtvcp.widgets.simple_widgets import PushButton
File "/home/cnc/qtvcp-dev/lib/python/qtvcp/widgets/simple_widgets.py", line 17, in <module>
from qtvcp.widgets.widget_baseclass import _HalWidgetBase, _HalToggleBase, _HalSensitiveBase
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@cnc1:~/qtvcp-dev$

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

More
01 Feb 2019 07:06 #125454 by cmorley
Replied by cmorley on topic qtvcp issues
undefined symbol: _Py_ZeroStruct suggests a python version problem.

Does designer have a libpyqt5.so as well as the libpyqt5_py2.so?

If so and you don't use python3 widgets I would get rid of it and see if the problem goes away.

Chris M

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

More
01 Feb 2019 14:43 #125473 by cmorley
Replied by cmorley on topic qtvcp issues
Error message should be more friendly now.
The following user(s) said Thank You: auto-mation-assist

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

More
03 Feb 2019 07:56 #125576 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I was just able to get QT5 reinstalled and back to normal. On this install using QT offline installer (1.5 GB) the gui buttons look a lot better than they did my original install of QT on Mint 19.1. That one I had installed from source.

I don't know where all these G codes are coming from:




this is all I find in my .ini file.

RS274NGC_STARTUP_CODE = G17 G20 G40 G43H0 G54 G64P0.005 G80 G90 G94 G97 M5 M9
Attachments:

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

More
03 Feb 2019 08:13 #125577 by cmorley
Replied by cmorley on topic qtvcp issues
Not sure which ones you think are wrong, but it's probably because some are default even if you don't set them eg G90.1/G91.1. - looks like G91.1 is default.

Chris M

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

More
07 Apr 2019 18:23 #130448 by auto-mation-assist
Replied by auto-mation-assist on topic qtvcp issues
I have had to drop off my x1mill project for a while due to other commitments. My latest work is available from github but is still in need of changes. github.com/auto-mation-assist/x1Mill_branch
The following user(s) said Thank You: KCJ

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

More
08 Apr 2019 02:56 #130474 by cmorley
Replied by cmorley on topic qtvcp issues
Thanks for the update! I added a version of your screen to master too.
hopefully you can get back to your mill project soon.

Chris M

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

More
03 Jan 2020 14:03 #153890 by hottabich
Replied by hottabich on topic qtvcp issues
Hello! Happy New Year everyone! I decided to make Qtpyvcp interface for linuxcnc. Based on Brender + mill_touch_v6 + probe_basic. Neither can I fix one error. Please help someone who can and if it's not difficult. Files are attached. Thank you in advance.
Скачать
Attachments:

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

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