Aller au contenu

Photo

Lightmapper questions - Fixed


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
Crenid

Crenid
  • Members
  • 1 messages
I've been doing some reasearch on the toolset for the past few days, learning odd bits here and there about it.  I've been following the wiki tutorials to understand key components of the tookset.  http://social.biowar...Editor_Tutorial is the tutorial I'm looking at currently.

I'm attempting to build a terrain level and figured out everything but lighting.  When I attempt to use the "Render Lightmaps" icon I get error return code '-1073741515' which is not the same as the error code described here: http://social.biowar...n-275454-1.html (-1073741819).  This is without any python installed from the wiki.

Upon installing ActiveState Python - 2.5.4.4 (only) and using the default folders and installation process trying to use the "Render Lightmaps" icon gives the error return code '1' which means that either several versions of Python were installed or a version higher than 2.5 was installed from what I could gather.  Uninstalling ActiveState Python - 2.5.4.4 and installing Python 2.5.4 and the win32 extentions will result in the same error code '1'.

I've had this problem with the newest toolset installed (no modifications to the lightmapper) and after updating the lightmapper files from: http://social.biowar...ject/717/#files.

The log generates these messages:
E: 01:21:30 - Failed to submit lightmap layout [area1l]
E: 01:21:30 - Job submission process failed with a return code of '1'.
I: 01:21:30 - Lightmapper script failed. See errlog.txt for details.
I: 01:21:30 - Could not get a GFF reader object. Make sure Engine.dll is registered.
I: 01:21:30 - Detected 2 cores. Use "--cpus=X" option to change setting.
I: 01:21:30 - Running lightmapper script.
I: 01:21:30 - EclipseRay v1.2

Errlog.txt:
EclipseRay failed to lightmap the level. Log follows.
-----------------------------------------------------

Traceback (most recent call last):
  File "", line 754, in
  File "", line 706, in main
  File "", line 570, in ProcessFolder
  File "", line 561, in ProcessJobs
  File "", line 389, in BuildScene
  File "", line 329, in __init__
  File "C:\\\\Python25\\\\Lib\\\\site-packages\\\\win32com\\\\client\\\\gencache.py", line 529, in EnsureDispatch
    disp = win32com.client.Dispatch(prog_id)
  File "C:\\\\Python25\\\\Lib\\\\site-packages\\\\win32com\\\\client\\\\__init__.py", line 95, in Dispatch
    dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
  File "C:\\\\Python25\\\\Lib\\\\site-packages\\\\win32com\\\\\\\\\\\\\\\\client\\\\dynamic.py", line 98, in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)
  File "C:\\\\Python25\\\\Lib\\\\site-packages\\\\win32com\\\\client\\\\dynamic.py", line 78, in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2147221005, 'Invalid class string', None, None)


Call arguments:['--terse', '-cpus=2', '--numSubJobs', '1', '--inputDir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\303C4F9D-0997-4467-BA46-0FC2A40ECB39\\\\', '--outputTGADir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\303C4F9D-0997-4467-BA46-0FC2A40ECB39\\\\TGA\\\\', '--outputAoTGADir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\CachedScene\\\\AO', '--combinedDDSDir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\PreAtlas\\\\', '--atlasedDDSDir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\303C4F9D-0997-4467-BA46-0FC2A40ECB39\\\\Atlased\\\\', '--compressedDDSDir',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\CombinedMaps', '--atlasFile',
'C:\\\\DOCUME~1\\\\LOCALS~1\\\\Temp\\\\DALightmap\\\\area1l\\\\303C4F9D-0997-4467-BA46-0FC2A40ECB39\\\\job_atlas.xml', '--in_width', '512', '--in_height', '512']

The only thing I haven't attempted to do that I could think of is attempting to fix the Engine.dll registration as I just saw it while posting this.  I'm going to look up some information on the Engine.dll registration and see if that helps but if anyone has any solutions or possible causes for this issue, any help is appreciated.

I'm a student programmer who programs in some languages (C, C++, Java) but not Python so perhaps some other program is causing issues, but I don't believe any programming IDEs or tools are installed onto this computer at all.  Searching for Python results only in the files from ActiveState Python or Python 2.5.4 installs.  I use Open Office, which I uninstalled to see if it would help since I found that it uses a python scripting language, but it didn't.

Edit: Cleaned up the file output a bit.

Edit2: I think the registering of the Engine.dll fixed the issue.  I'll post more tomorrow if the problem persists.

Modifié par Crenid, 13 janvier 2010 - 07:56 .