QtDesigner errors after install

More
30 Nov 2023 02:33 #286829 by spumco
Could use a little help here - trying to get Qt designer working on a VM to do a little GUI work.
  • Setup Deb 12.2 on a VM.
  • Installed LCNC from the script in the user manual.
  • sudo apt update/upgrade
  • Followed Qt Designer installation in user manual, including symbolic link to qtvcp_plugin.py.
  • Qt Designer loads ok, LCNC widgets show up in the tools.
  • qtvcp copy
    • copied "tester" and "blender" to configs/sim.qtvcp.screens
  • start Qt Designer from terminal and choose brendertest.ui
  • Error message pops up (screenshot attached)
  • Select "No" and Qt Designer aborts
  • Select "Yes", then select blendertest.qrc and Qt Designer immediately aborts
What's the next step in troubleshooting?
sandbox@sandbox:~$ designer -qt=5
Qtvcp python plugin found: /home/sandbox/.designer/plugins/python/qtvcp_plugin.py
[DEFAULT][INFO]  Logging to: /home/sandbox/default.log (logger.py:107)
tool_mmap_user(): tool mmap not available
poll(): continuing without tool mmap data
link (updating variable file): No such file or directory
link (updating variable file): No such file or directory
[DEFAULT.QTVCP.WIDGETS.OVERLAY_WIDGET][DEBUG]  last removed: <qtvcp.widgets.screen_options.ScreenOptions object at 0x7f9a0161e050> NEW:<qtvcp.widgets.screen_options.ScreenOptions object at 0x7f9a0161e050> (overlay_widget.py:69)
[DEFAULT.QTVCP.WIDGETS.OVERLAY_WIDGET][DEBUG]  last removed: <qtvcp.widgets.screen_options.ScreenOptions object at 0x7f9a0161e050> NEW:<qtvcp.widgets.screen_options.ScreenOptions object at 0x7f9a0161e050> (overlay_widget.py:69)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 649, in paintEvent
    self.paintIndicator()
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/simple_widgets.py", line 669, in paintIndicator
    gradient = QtGui.QLinearGradient(top_right- QtCore.QPoint(size, 0), top_right)
                                                ^^^^^^^^^^^^^^^^^^^^^^
TypeError: arguments did not match any overloaded call:
  QPoint(): too many arguments
  QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float'
  QPoint(a0: QPoint): argument 1 has unexpected type 'float'
Aborted
sandbox@sandbox:~$ ^C

Attachments:

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

More
30 Nov 2023 02:35 #286830 by spumco
Also getting this error when trying apt update:
W: GPG error: https://www.linuxcnc.org bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
E: The repository 'https://www.linuxcnc.org bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Didn't notice it when installing LCNC earlier.  Maybe has something to do with Qt Designer failing?

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

More
30 Nov 2023 02:45 #286831 by cmorley
If you are using the official Debian version of linuxcnc - it is very far behind in bug fixes.
I think you should switch to linuxcnc's buildbot version of 2.9.

I believe all these bugs are fixed.
The following user(s) said Thank You: spumco

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

More
30 Nov 2023 02:56 - 30 Nov 2023 02:57 #286832 by spumco
The "getting lcnc" page doesn't have a link to the buildbot process anymore.

Got a link where I can get the right iso?


EDIT - found it in Developer info.
Last edit: 30 Nov 2023 02:57 by spumco.

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

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