madparts
madparts copied to clipboard
Doesn't work with 3d-accelerated debian VM
Hi,
I get the attached backtrace when attempting to run madparts in a 3D-accelerated Debian 64bit VM:
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 308, in initializeGL
self.font = glFreeType.font_data(self.font_file, 64)
File "/home/felicitus/Downloads/madparts/gui/glFreeType.py", line 228, in __init__
make_dlist (self.ft, i, self.m_list_base, self.textures);
File "/home/felicitus/Downloads/madparts/gui/glFreeType.py", line 174, in make_dlist
glEndList()
File "/usr/lib/python2.7/dist-packages/OpenGL/error.py", line 208, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1280,
description = 'invalid enumerant',
baseOperation = glEndList,
cArguments = ()
)
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
It just works fine when not using 3D acceleration.
I have never used a 3D-accelerated VM. What setup are you using, so it can be reproduced?
I'm using Windows 7 (not my main OS ;)), and a virtualized debian 64 bit on VirtualBox. If you have access to a Windows box, it should be pretty straightforward using VirtualBox, you just have to tick the "3D acceleration enabled" checkbox under VM options.
Thanks, next time I'm booting the old windows laptop to make a new build I'll give it a try.
Cool! It's not urgent on my side, as I'm fine with the OpenGL software emulation.