Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmoccapy - clicking in preview makes bug #2631

Closed
zz912 opened this issue Sep 6, 2023 · 4 comments
Closed

Gmoccapy - clicking in preview makes bug #2631

zz912 opened this issue Sep 6, 2023 · 4 comments

Comments

@zz912
Copy link
Contributor

zz912 commented Sep 6, 2023

Clicking in preview makes bug:
Clicking_in_preview

[Gmoccapy][ERROR]  Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
  File "/home/linaplast-zz/linuxcnc/linuxcnc-2.9-test/lib/python/rs274/glcanon.py", line 410, in inner
    return f(self, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/linaplast-zz/linuxcnc/linuxcnc-2.9-test/lib/python/gremlin.py", line 496, in select_fire
    self.select(x, y)
  File "/home/linaplast-zz/linuxcnc/linuxcnc-2.9-test/lib/python/rs274/glcanon.py", line 595, in select
    buffer = glRenderMode(GL_RENDER)
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/GL/pointers.py", line 260, in glRenderMode
    raise error.GLError(
OpenGL.error.GLError: GLError(
	err = GL_STACK_OVERFLOW,
	description = b'stack overflow',
	result = 'glSelectBuffer too small to hold selection results'
)
 (gmoccapy:62)

@c-morley
Copy link
Collaborator

This is lower in the code then Gmoccapy - affects Qtvcp and Gladevcp haven't heard about an AXIS report yet. I may have more details in the qtvcp section of forum...

@c-morley
Copy link
Collaborator

I can't find it. IIRC they changed something in the underlying openGL python library (something we can't do of course) but it might give us a clue. I'll post if I find it.

@gmoccapy
Copy link
Collaborator

gmoccapy commented Oct 6, 2023

I can reproduce this. affects all UIs that use gremlin.

@gmoccapy
Copy link
Collaborator

gmoccapy commented Oct 7, 2023

Fixed 07.10.23 in 2.9

@gmoccapy gmoccapy closed this as completed Oct 7, 2023
gmoccapy added a commit that referenced this issue Oct 7, 2023
… in the preview while a program is running. Fixes #2631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants