Using on Debian 10 Buster, quits without obvious error

More
5 years 10 months ago #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:
Code:
[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.

Please Log in to join the conversation.

More
5 years 10 months ago #191135 by cmorley
Were you running one of the sample configs?

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #191189 by JetForMe

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

Code:
[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.

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #191634 by cmorley

JetForMe wrote:

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

Code:
[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.

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum