InternalErrorException during OGRE init.

ColonelThirtyTwo

29-06-2010 22:29:52

Hello everyone.

I have installed Python-Ogre, the C++ Runtime package, and updated DirectX (Running Windows 7 64-bit). However, the seemingly basic "Demo_Basic.py" fails partway through. Here is the console output:
C:\Users\*******\Downloads\ogre-1.7.1-r1125\demos\ogre>python Demo_Basic.py
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.13.1
This program uses FreeImage, a free, open source image library supporting all co
mmon bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,
pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,
g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,
hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,
mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library ../../plugins\RenderSystem_GL.dll
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library ../../plugins\RenderSystem_Direct3D9.dll
Installing plugin: D3D9 RenderSystem
D3D9 : Direct3D9 Rendering Subsystem created.
D3D9: Driver Detection Starts
D3D9: Driver Detection Ends
Plugin successfully installed
Loading library ../../plugins\Plugin_ParticleFX.dll
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library ../../plugins\Plugin_BSPSceneManager.dll
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library ../../plugins\Plugin_OctreeSceneManager.dll
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
Loading library ../../plugins\Plugin_CgProgramManager.dll
Installing plugin: Cg Program Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.7.1 (Cthugha)
Creating resource group Bootstrap
Traceback (most recent call last):
File "Demo_Basic.py", line 119, in <module>
main()
File "Demo_Basic.py", line 101, in main
root = OGREMain(plugins_path='../plugins.cfg.nt')
File "Demo_Basic.py", line 30, in __init__
self._load_resources(self.resource_path)
File "Demo_Basic.py", line 95, in _load_resources
self.rgm.addResourceLocation(item.value, item.key, section_name)
ogre.renderer.OGRE._ogre_exceptions_.OgreInternalErrorException: OGRE EXCEPTION(
7:InternalErrorException): ../media/packs/OgreCore.zip - error whilst opening ar
chive: Unable to read zip file. in ZipArchive::checkZzipError at ..\..\..\..\Ogr
eMain\src\OgreZip.cpp (line 280)
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Uninstalling plugin: Cg Program Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_CgProgramManager.dll
Uninstalling plugin: Octree & Terrain Scene Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_OctreeSceneManager.dll
Uninstalling plugin: BSP Scene Manager
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_BSPSceneManager.dll
Uninstalling plugin: ParticleFX
Plugin successfully uninstalled
Unloading library ../../plugins\Plugin_ParticleFX.dll
Uninstalling plugin: D3D9 RenderSystem
D3D9 : Shutting down cleanly.
D3D9 : Direct3D9 Rendering Subsystem destroyed.
Plugin successfully uninstalled
Unloading library ../../plugins\RenderSystem_Direct3D9.dll
Uninstalling plugin: GL RenderSystem
*** Stopping Win32GL Subsystem ***
Plugin successfully uninstalled
Unloading library ../../plugins\RenderSystem_GL.dll
Unregistering ResourceManager for type Material


Is this a known problem/common error, or do I need to post more information? Thanks in advanced.

Deg

29-06-2010 23:01:37

../media/packs/OgreCore.zip - error whilst opening archive: Unable to read zip file.

this means ogre cannot find that zip file. If i remember right you have to download the media dir separately (http://sourceforge.net/projects/python-ogre/files/) The last file of the 1.7.1 Release.

ColonelThirtyTwo

29-06-2010 23:19:40

Ok, now it works. Thanks!