Using on Debian 10 Buster, quits without obvious error

More
05 Dec 2020 10:15 #191113 by JetForMe
After changing my working config to use qtvcp, and running through some trial and error to get the right dependencies installed, and finally finding the install script, and then fixing up a few other things, qtvcp tries to launch but gives up without an obvious error:

This dumb forum wouldn't let me post the output, complaining it had too many links, so I attached it as a file. But the last few lines are:
[QTvcp][INFO]  Building A Linuxcnc Main Screen with Python 2 (qtvcp:124)
[QTvcp][INFO]  No handler file specified on command line (qtvcp:142)
[QTvcp][INFO]  No HAL component base name specified on command line using: qtaxis (qtvcp:173)
[QTvcp.QTVCP.QT_MAKEGUI][INFO]  No resource file to load: None (qt_makegui.py:173)
['0', '.1 mm', '1 mm', '10 mm', '50 mm']
[QTvcp.QTVCP.WIDGETS.WIDGET_BASECLASS][WARNING]  Nno objectName for HAL pin: <qtvcp.widgets.status_label.StatusLabel object at 0x7f6bc86f8c30> (widget_baseclass.py:54)
[QTvcp][CRITICAL]  With window resize data (qtvcp:290)
Usage: qtvcp [options] myfile.ui

Shutting down and cleaning up LinuxCNC...

Any idea what I'm missing? Thanks.
Attachments:

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

More
05 Dec 2020 16:48 #191135 by cmorley
Were you running one of the sample configs?

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

More
05 Dec 2020 16:51 #191136 by cmorley
it's indicating you used a -g geometry option that has a problem - did you use the -g switch ?

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

More
06 Dec 2020 00:20 - 06 Dec 2020 00:24 #191189 by JetForMe

it's indicating you used a -g geometry option that has a problem - did you use the -g switch ?

[DISPLAY]
DISPLAY = qtvcp -g 2200x1400 qtaxis

Is that incorrect?

In any case, removing that allowed it to get further. I sure did not understand that CRITICAL message to mean that.
Last edit: 06 Dec 2020 00:24 by JetForMe.

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

More
06 Dec 2020 01:51 #191198 by cmorley
That should have worked IIRC - it's been a while since I tested that option.
I'll see if I can improve that error message.

Chris

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

More
11 Dec 2020 00:43 #191634 by cmorley

it's indicating you used a -g geometry option that has a problem - did you use the -g switch ?

[DISPLAY]
DISPLAY = qtvcp -g 2200x1400 qtaxis

Is that incorrect?

In any case, removing that allowed it to get further. I sure did not understand that CRITICAL message to mean that.


Just to follow up.
I did fix the -g issue and added code to display a better error message.
The following user(s) said Thank You: phillc54, tommylight

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

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