Everything has stopped working??

Swinely

06-07-2009 20:42:41

I've been using my desktop all day to mess around with a single file called ball.py, now i try to run any of the python ogre demos and none work?? Yet they worked this morning? And I have the exact same setup on my laptop and these all work? So i tried to copy the exact same setup across as i know it works on the laptop, but still it won't on my desktop?


For example when i try to run the caelum demo:

GL_VERSION = 2.1.2
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce 9800 GTX/PCI/SSE2
GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffe
rs GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader
GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture G
L_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_
point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_
ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_A
RB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_tex
ture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB
_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_ve
rtex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_t
exture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT
_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend
_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_
array GL_EXT_Cg_shader GL_EXT_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_d
raw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord G
L_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object
GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader
4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_E
XT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_bu
ffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_E
XT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_obje
ct GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_textur
e_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_text
ure_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT
_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirro
r_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent
GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mir
rored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color G
L_NV_depth_buffer_float GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fence G
L_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_progr
am_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_g
eometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_
NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_N
V_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_pixel_data_range GL_N
V_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_c
ombiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_en
v_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_sha
der GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_v
ertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_pr
ogram1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program
3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_
depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_co
ntrol
Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_AR
B_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL
_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EX
T_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float W
GL_EXT_swap_control WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_rende
r_depth_texture WGL_NV_render_texture_rectangle
***************************
*** GL Renderer Started ***
***************************
Registering ResourceManager for type GpuProgram
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_L8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A4L4 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_BYTE_LA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
[GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_
B5G6R5 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF
_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8
R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_
GR PF_FLOAT32_GR PF_SHORT_RGB
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL Rendering Subsystem
GPU Vendor: nvidia
Device Name: GeForce 9800 GTX/PCI/SSE2
Driver Version: 2.1.2.0
* Fixed function pipeline: yes
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
* Fragment programs: yes
* Geometry programs: yes
* Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl gp4gp gpu_gp nvg
p4 vp30 vp40
* Texture Compression: yes
- DXT: yes
- VTC: yes
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: yes
* Non-power-of-two textures: yes
* Volume textures: yes
* Multiple Render Targets: 8
- With different bit depths: yes
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 63.375
* Vertex texture fetch: yes
- Max vertex textures: 32
- Vertex textures shared: yes
* Render to Vertex Buffer : yes
* GL 1.5 without VBO workaround: no
* Frame Buffer objects: yes
* Frame Buffer objects (ARB extension): no
* Frame Buffer objects (ATI extension): no
* PBuffer suppport: no
* GL 1.5 without HW-occlusion workaround: no
Registering ResourceManager for type Texture
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'BspSceneManager' registered.
Registering ResourceManager for type BspLevel
SceneManagerFactory for type 'OctreeSceneManager' registered.
SceneManagerFactory for type 'TerrainSceneManager' registered.
TerrainSceneManager: Registered a new PageSource for type Heightmap
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Parsing scripts for resource group Bootstrap
Parsing script OgreCore.material
Parsing script OgreProfiler.material
Parsing script Ogre.fontdef
Parsing script OgreDebugPanel.overlay
Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with
5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 gene
rated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5
generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Font BlueHighwayusing texture size 512x512
Info: Freetype returned null for character 127 in font BlueHighway
Info: Freetype returned null for character 128 in font BlueHighway
Info: Freetype returned null for character 129 in font BlueHighway
Info: Freetype returned null for character 130 in font BlueHighway
Info: Freetype returned null for character 131 in font BlueHighway
Info: Freetype returned null for character 132 in font BlueHighway
Info: Freetype returned null for character 133 in font BlueHighway
Info: Freetype returned null for character 134 in font BlueHighway
Info: Freetype returned null for character 135 in font BlueHighway
Info: Freetype returned null for character 136 in font BlueHighway
Info: Freetype returned null for character 137 in font BlueHighway
Info: Freetype returned null for character 138 in font BlueHighway
Info: Freetype returned null for character 139 in font BlueHighway
Info: Freetype returned null for character 140 in font BlueHighway
Info: Freetype returned null for character 141 in font BlueHighway
Info: Freetype returned null for character 142 in font BlueHighway
Info: Freetype returned null for character 143 in font BlueHighway
Info: Freetype returned null for character 144 in font BlueHighway
Info: Freetype returned null for character 145 in font BlueHighway
Info: Freetype returned null for character 146 in font BlueHighway
Info: Freetype returned null for character 147 in font BlueHighway
Info: Freetype returned null for character 148 in font BlueHighway
Info: Freetype returned null for character 149 in font BlueHighway
Info: Freetype returned null for character 150 in font BlueHighway
Info: Freetype returned null for character 151 in font BlueHighway
Info: Freetype returned null for character 152 in font BlueHighway
Info: Freetype returned null for character 153 in font BlueHighway
Info: Freetype returned null for character 154 in font BlueHighway
Info: Freetype returned null for character 155 in font BlueHighway
Info: Freetype returned null for character 156 in font BlueHighway
Info: Freetype returned null for character 157 in font BlueHighway
Info: Freetype returned null for character 158 in font BlueHighway
Info: Freetype returned null for character 159 in font BlueHighway
Info: Freetype returned null for character 160 in font BlueHighway
Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 genera
ted mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated m
ipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Parsing script OgreLoadingPanel.overlay
Finished parsing scripts for resource group Bootstrap
Parsing scripts for resource group CEGUI
Finished parsing scripts for resource group CEGUI
Parsing scripts for resource group Caelum
Parsing script GroundFog.program
Compiler error: invalid parameters in GroundFog.program(30): setting of constant
failed
Compiler error: invalid parameters in GroundFog.program(63): setting of constant
failed
Parsing script Haze.program
Compiler error: invalid parameters in Haze.program(30): setting of constant fail
ed
Parsing script MinimalCompositorVP.program
Parsing script CaelumSample.material
Compiler error: invalid parameters in CaelumSample.material(74): setting of cons
tant failed
Parsing script DepthComposer.material
Parsing script GroundFog.material
Parsing script LayeredClouds.material
Compiler error: invalid parameters in LayeredClouds.material(30): setting of con
stant failed
Parsing script moon.material
Parsing script PointStarfield.material
Parsing script Precipitation.material
Parsing script SkyDome.material
Compiler error: invalid parameters in SkyDome.material(58): setting of constant
failed
Parsing script Starfield.material
Parsing script Sun.material
Parsing script DepthComposer.compositor
Parsing script Precipitation.compositor
Finished parsing scripts for resource group Caelum
Parsing scripts for resource group General
Finished parsing scripts for resource group General
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
TerrainSceneManager: Activated PageSource Heightmap
Texture: terrain_dirt-grass.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 gen
erated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: terrain_detail.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 generat
ed mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
ERROR in sf_OIS.py: Could not find overlay POCore/DebugOverlay
Traceback (most recent call last):
File "Demo_Caelum01.py", line 127, in <module>
application.go()
File "C:\Python25\lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 100, i
n go
if not self._setUp():
File "C:\Python25\lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 148, i
n _setUp
self._createFrameListener()
File "Demo_Caelum01.py", line 93, in _createFrameListener
self.FrameListener = CaelumSampleFrameListener (self.renderWindow, self.came
ra, self)
File "Demo_Caelum01.py", line 19, in __init__
sf.FrameListener.__init__(self, win, cam)
File "C:\Python25\lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 291, i
n __init__
self._setupInput()
File "C:\Python25\lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 308, i
n _setupInput
for bit in platform.architecture():
AttributeError: 'module' object has no attribute 'architecture'
Exception exceptions.AttributeError: "'CaelumSampleFrameListener' object has no
attribute 'InputManager'" in <bound method CaelumSampleFrameListener.__del__ of
<__main__.CaelumSampleFrameListener object at 0x03300D50>> ignored
Unregistering ResourceManager for type BspLevel
*-*-* 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
Unregistering ResourceManager for type GpuProgram
*** Stopping Win32GL Subsystem ***
Unregistering ResourceManager for type Texture
Plugin successfully uninstalled
Unloading library ../../plugins\RenderSystem_GL.dll
Unregistering ResourceManager for type Material

C:\PythonOgre\demos\caelum>



Every demo will start and get to the select open_gl / direct3d screen and when i pick either the screen goes black to load it and then will just exit. This also happens for the tutorial.py files, even though EVERYTHING is identical to my laptop setup??


Edit: Well i wouldn't call it a fix but reinstalling everything has fixed it for the moment!