PDA

View Full Version : Possible error with executables


Enlil
08-16-2011, 08:48 AM
Hello,
I have recently tried making some executables, but they do not seem to run-I get the following console window:
************************************************** ****************************
** Loading SceneTransitionEngine.py
************************************************** ****************************
** ERROR: Failed to set pixel format (The handle is invalid.)
** ERROR: Release Device Context Failed. (Invalid device context (DC) handle.)
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "C:\Users\CWANAM~1\AppData\Local\Temp\nszC8EC.tmp\S cript\SceneTransitionE
ngine.py", line 214, in <module>
viz.go()
File "C:\Program Files (x86)\WorldViz\Vizard4\python\viz.py", line 2240, in go

_ipcSend(_VIZ_GO,mode,window,'',0.0,0.0,0.0,0.0)
RuntimeError: Failed to initialize graphics window
** Load Time: 0.25 seconds
** WARNING: There were errors in your script, press any key to exit

Am I doing something wrong, or is there a problem with the executable. The OS is Windows 7 if that might make a difference.

Christian

Enlil
08-16-2011, 09:43 AM
A little further information:
everything works when not an executable.

I have gotten a very basic script to execute properly, but if I add some imports I can make it fail, and am currently trying to figure out which one causes the issue, but none of them should have executed any code, I believe - it was all putting functions and classes to be used later.

Christian

I

farshizzo
08-16-2011, 10:10 AM
We plan on releasing a new version this week that fixes this issue. If you need a fix sooner, then contact support@worldviz.com and they can provide you with a link to the previous working version.

Enlil
08-16-2011, 10:36 AM
Thanks!

Christian