google-code-export / chemshapes

Automatically exported from code.google.com/p/chemshapes
0 stars 0 forks source link

'GLWidget' object has no attribute 'fbo' #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please don't forget to attach the log_<computer name>.html file together
with your bug report!!!!

What steps will reproduce the problem?
1.unzipped and started draft.exe
2.
3.

System specifications were the error occur?
  Operational System: XP SP3
  Video Board Model: ATI Mobility Radeon HD 560v ( Ati radeon HD 4650 )

Please provide any additional information below.
I get presented with the interface, but with the corrupt images. TYried loading 
the teapot.stl - it did not change the display.
I tried downloading the other versions from the Issue No1, but none worked.

Original issue reported on code.google.com by p.za...@gmail.com on 18 Apr 2012 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
Could you try the latest 0.2.0 version?

Original comment by hra...@gmail.com on 19 Apr 2012 at 4:50

GoogleCodeExporter commented 9 years ago

Original comment by hra...@gmail.com on 19 Apr 2012 at 4:51

GoogleCodeExporter commented 9 years ago
I did. That was the one tried 0.2.0.
The previous also give me the same error ( although I see a small padlock and a 
few other sprites.

Original comment by p.za...@gmail.com on 19 Apr 2012 at 8:57

Attachments:

GoogleCodeExporter commented 9 years ago
could you try this version: 
http://chemshapes.googlecode.com/files/debugVersion_svn_783.zip

I've upgraded PyOpenGL to the latest alpha version, from feb/2012.

let me known!

Original comment by hra...@gmail.com on 21 Apr 2012 at 1:21

GoogleCodeExporter commented 9 years ago
Please try the latest version:

http://chemshapes.googlecode.com/files/CS1_Host_v0.3.1.zip

This version have some bug fixes to increase compatibility with newer gpus. 
I've upgraded Python OpenGL to the lastest Alpha, released in February 2012. 
The previous one was from 2010.

This upgrade should fix most of the issues encounter by users with Intel GPUs. 
It also should fix issues with newer ATI/AMD boards and NVidia GT boards.

Please give it a try and let me known asap!

thanks... 

Original comment by hra...@gmail.com on 24 Apr 2012 at 7:24

GoogleCodeExporter commented 9 years ago
Ok, a little different this time with the latest 0.3.1 :

Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: Traceback (most recent call 
last): 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: File 
"Z:\bc\home\rhradec\dev\chemshapes.git\googleCode\trunk\host\build\pyi.win32\dra
ft\out01-PYZ.pyz\glViewport.context", line 297, in initializeGL 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: File 
"Z:\bc\home\rhradec\dev\chemshapes.git\googleCode\trunk\host\build\pyi.win32\dra
ft\out01-PYZ.pyz\OpenGL.error", line 208, in glCheckError 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: OpenGL.error 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: . 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: GLError 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: : 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: GLError( err = 1280, description 
= 'invalid enumerant', baseOperation = glEnable, cArguments = (GL_DEPTH_TEST,) 
) 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: Traceback (most recent call 
last): 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: File 
"Z:\bc\home\rhradec\dev\chemshapes.git\googleCode\trunk\host\build\pyi.win32\dra
ft\out01-PYZ.pyz\glViewport.context", line 443, in paintGL 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: AttributeError 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: : 
Wed Apr 25 10:28:19 2012 >> PYTHON EXCEPTION: 'GLWidget' object has no 
attribute 'fbo' 

Original comment by p.za...@gmail.com on 25 Apr 2012 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
are you running the latest driver version for your video board?
if not, try to update it:

http://support.amd.com/us/gpudownload/windows/Pages/auto_detect.aspx

Original comment by hra...@gmail.com on 25 Apr 2012 at 8:06

GoogleCodeExporter commented 9 years ago
There unfortunately is no other driver for XP for my video card from either AMD 
or DELL. I'll have to hack one with Mobility Modder.

Original comment by p.za...@gmail.com on 25 Apr 2012 at 8:26

GoogleCodeExporter commented 9 years ago
hooo... damn...
maybe that's were the problem is then... does the "hack" works with
everything else but the CS1 Host?

Hradec

On Wed, Apr 25, 2012 at 1:26 PM, <chemshapes@googlecode.com> wrote:

Original comment by hra...@gmail.com on 25 Apr 2012 at 8:33

GoogleCodeExporter commented 9 years ago
OK, Modded the drivers Catalyst 8.12 with mobility modder 1210 and installed. 
Now the GUI does not even initialize:

C:\Documents and 
Settings\Sam\Desktop\debugVersion_svn_783\debugVersion_svn_783\draft.py
←[92m<_FuncPtr object at 0x012C3468>
←[92m-------------------------------------------------------------------------
-------
←[92mOpenGL version: 1.1.0
←[92m-------------------------------------------------------------------------
-------
←[92m
        GL_MAX_RENDERBUFFER_SIZE_EXT: 1024

←[92m   Shader related extensions:
←[92m
        All other extensions:
←[92m           GL_EXT_bgra
←[92m           GL_EXT_paletted_texture
←[92m           GL_WIN_swap_hint
←[92m-------------------------------------------------------------------------
-------
QWidget: Must construct a QApplication before a QPaintDevice
Back to parent...
Freeing status for C:\Documents and 
Settings\Sam\Desktop\debugVersion_svn_783\debugVersion_svn_783\draft.exe

The log file shows even less and I have not included it.

The previous driver worked with everything but the host.
This one 8.12 I do not know yet...

Original comment by p.za...@gmail.com on 25 Apr 2012 at 9:16

GoogleCodeExporter commented 9 years ago
OpenGL version 1.1.0 means the drivers don't have OpenGL at all. I think 
mobility modder is not working in this case! 

Original comment by hra...@gmail.com on 25 Apr 2012 at 9:23

GoogleCodeExporter commented 9 years ago
But then again the pics below show different:

Original comment by p.za...@gmail.com on 25 Apr 2012 at 10:13

Attachments:

GoogleCodeExporter commented 9 years ago
Well... it's hard to judge, since the host uses of the shelf Python Opengl 
module. So there must be something wrong some were since PyOpenGL can't get it 
right... Why this is happening is WAY out of my league now, man. 

If it was a "proper" driver, then I could even try to contact AMD about it. But 
as this is a "hack", it's really hard to get proper support. 

I'll dig around to see if someone experienced this type of problem with Python 
OpenGL and see if I can find any clues. 

Apart from that, there's not much else I can do!

cheers...
-H

Original comment by hra...@gmail.com on 25 Apr 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Actually, I just remember a problem someone had a while ago... Can you do me a 
favor? Do a search on your hard drivers for opengl32.dll!

You should have one in system32, and another in some cache folder inside 
windows folder. Apart from that, you shouldn't have any other! 

If you do, rename it to something else, just for testing, and try to run CS1 
Host again and see if that works!

The other user who had this issue had an opengl32.dll in SolidWorks 
installation folder, and the CS1 Host was loading that one instead of the right 
one, and would fail with the same error as you. 

Give that a try and let me known! I need to fix this somehow, but still didn't 
figure how to force Python OpenGL to look for the right one in windows folder. 

-H

Original comment by hra...@gmail.com on 25 Apr 2012 at 11:28

GoogleCodeExporter commented 9 years ago
I tested the new host 0.3.1 on my other laptop - Acer 7720G NVidia 9600M GT 1GB 
and it works, but when slicing the Teapot there is a problem around the spout 
and the base not slicing correctly or not "AND" the two slice contours.
Guess another issue.
I have only 2 opengl32 - system and the service pack backup.

You can close this one out.

Original comment by p.za...@gmail.com on 26 Apr 2012 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by hra...@gmail.com on 3 May 2012 at 9:55