Installing QtVCP

More
3 years 9 months ago #263167 by Pro_El
Replied by Pro_El on topic Installing QtVCP
Hello all
I have problem when i installed Designer 5.15.8
I have Debian Bookworm with LCNC 2.9.
I installed qtvcp from script for 2.9

But when i start qt from Terminal i get this:
cnc@am-082e5f06e065:~$ designer -qt=5
Qtvcp python plugin found: /home/cnc/.designer/plugins/python/qtvcp_plugin.py
[QtDesigner][INFO]  Logging to: /home/cnc/qtdesigner.log (logger.py:107)
tool_mmap_user(): file open fail: No such file or directory
tool_mmap_user(): no mmap file,continuing
mmap tool data not available, continuing emc/usr_intf/axis/extensions/emcmodule.cc
link (updating variable file): No such file or directory
link (updating variable file): No such file or directory

And when i try to use some of the widget (like GCodeGraphics), the QT designer crush and got this on the terminal:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 43, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qt5_graphics.py", line 760, in initializeGL
    self.realize()
  File "/usr/lib/python3/dist-packages/qt5_graphics.py", line 523, in realize
    self.font_base, width, linespace = glnav.use_pango_font(self._font, 0, 128)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/glnav.py", line 65, in use_pango_font
    glBitmap(0, 0, 0, 0, 0, h-d, ''.encode())
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 47, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 700, in wrapperCall
    raise err
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 693, in wrapperCall
    result = wrappedOperation( *cArguments )
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 415, in __call__
    return self( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/error.py", line 230, in glCheckError
    raise self._errorClass(
OpenGL.error.GLError: GLError(
    err = 1285,
    description = b'out of memory',
    baseOperation = glBitmap,
    pyArgs = (0, 0, 0, 0, 0, 23.0, b''),
    cArgs = (0, 0, 0, 0, 0, 23.0, b''),
    cArguments = (0, 0, 0, 0, 0, 23.0, b'')
)
Aborted


I cannot find on the forum some answers
Did i need some dependencies  or to change some paths... or maybe is still early for bookworm..

thanks
 

Please Log in to join the conversation.

More
3 years 9 months ago #263177 by cmorley
Replied by cmorley on topic Installing QtVCP
I see there are all kinds of opengl problems reported on bookworm for AXIS and Gladevcp.
Qtvcp uses much of the same code.

Please Log in to join the conversation.

More
3 years 9 months ago #263179 by Pro_El
Replied by Pro_El on topic Installing QtVCP
Thanks Chris
i will wait couple of months till bookworm become stable..
it is very convenient because we can install LCNC from synaptic

Please Log in to join the conversation.

More
3 years 1 month ago #280770 by nwallace
Replied by nwallace on topic Installing QtVCP
I followed the instructions to install qtvcp in the first post but the LinuxCNC widgets do not show in the designer. I am using Bookworm and the latest build of LinuxCNC 2.9. I have been searching and found nothing recent about this issue. My guess is that I just don't have the plugin for it. Can I get some guidance on where to look from here? It is difficult searching for more information on this when I don't know what questions to ask.

Please Log in to join the conversation.

More
3 years 1 month ago #280773 by nwallace
Replied by nwallace on topic Installing QtVCP
I fixed it by manually copying this file /usr/lib/python3/dist-packages/qtvcp/plugins/qtvcp_plugin.py to ~/.designer/plugins/python/

Please Log in to join the conversation.

More
3 years 1 month ago #280802 by cmorley
Replied by cmorley on topic Installing QtVCP
that works, but using a link is better in case the file changes.

Please Log in to join the conversation.

Time to create page: 0.548 seconds
Powered by Kunena Forum