Hi,
I have a working configuration on LCNC 2.8.3 running on Buster. I would like to modernize so I'm trying to move to 2.9.3 bookworm. I figured I could just copy my existing configuration and run it, but that throws errors.
My configuration inserts a QtVCP window as additional tab in the Axis UI. Works great on 2.8.3. Now when I run that config on 2.9.3 I get two errors in separate windows. The first window is a QtVCP error window with the message:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/tab_widget.py", line 43, in tabSizeHint
return QSize(size.width(), w)
^^^^^^^^^^^^^^^^^^^^^^
TypeError: arguments did not match any overloaded call:
QSize(): too many arguments
QSize(w: int, h: int): argument 2 has unexpected type 'float'
QSize(a0: QSize): argument 1 has unexpected type 'int'
The second window is the LinuxCNC log (attached as file), where the problem line seems to be:
[QTvcp.QTVCP.WIDGETS.SCREEN_OPTIONS][[36mINFO[0m] [32mInstalling Embedded tab:BaxEDM, default, halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} baxedm2[0m (screen_options.py:461)
[QTvcp.QTVCP.WIDGETS.SCREEN_OPTIONS][[33mWARNING[0m] problem inserting VCP 'BaxEDM' to location: rightTab :
'VCPWindow' object has no attribute 'rightTab' (screen_options.py:485)
Any ideas how to resolve this?