J-u-L-i-O-2000 / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

No attribute 'bl_idname' during installation #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installation of Blender 2 OGRE exporter

What is the expected output? What do you see instead?

AttributeError: 'NoneType' object has no attribute 'bl_idname' line 7123 in 
draw.

What version of the product are you using? On what operating system?
0.5.5  Tundra Shaders

Please provide any additional information below.
Last fix on 19 Sept, presumably after addressing the missing UUID name problem. 
No it does not install at all.

Original issue reported on code.google.com by ironfr...@gmail.com on 20 Sep 2011 at 12:11

GoogleCodeExporter commented 8 years ago
can you try again with preview4?  It should be fixed.

http://blender2ogre.googlecode.com/files/b2ogre-0.5.5-preview4.zip

Original comment by goatman.py@gmail.com on 22 Sep 2011 at 2:52

GoogleCodeExporter commented 8 years ago
The attribute 'bl_idname' is now found. However, now the attribute 'utils' is 
not found in line 7225. So still a problem!

Original comment by ironfr...@gmail.com on 22 Sep 2011 at 3:32

GoogleCodeExporter commented 8 years ago
By the way version 0.5.4 no problems, however could not get any of the 0.5.5 
versions to work.

Original comment by ironfr...@gmail.com on 22 Sep 2011 at 3:34

GoogleCodeExporter commented 8 years ago
line 7225 is bpy.utils.register_module

if your missing bpy.utils you have a very serious problem.

can you attach your full console error print out?

Original comment by goatman.py@gmail.com on 23 Sep 2011 at 2:15

GoogleCodeExporter commented 8 years ago
I have tried it on both Win7 and Mac OS X. What happens in both cases, with two 
very different installations, is that the plugin does not register at all so 
that the Ogre XML export menu is not available. However, the Ogre UI button 
appears. When you press it you get the error (probably with a very good 
reason). the console then shows:

Traceback (most recent call last):
  File "/Users/jlcybuls/Library/Application Support/Blender/2.59/scripts/addons/io_export_ogreDotScene.py", line 7225, in invoke
    bpy.utils.register_module(__name__)
AttributeError: 'NoneType' object has no attribute 'utils'

location:<unknown location>:-1

Original comment by ironfr...@gmail.com on 23 Sep 2011 at 10:18

GoogleCodeExporter commented 8 years ago
To make preview4 work on OSX you are going to need to create some fake 
directories because it expects to find Tundra2 in ~/Tundra2
and ~/Tundra2/media/materials/

If the plugin fails to register at all, there is some other error that is 
causing that.  And this bug is only the result of the previous error.

Make sure you have installed Tundra2 to C:\Tundra2
http://realxtend-naali.googlecode.com/files/realXtend-Tundra-2.0.0.msi
It won't work without Tundra.

Original comment by goatman.py@gmail.com on 24 Sep 2011 at 12:49

GoogleCodeExporter commented 8 years ago
I have installed Tundra2 and in C:\Tundra2 and it had no effect - same problem, 
the plugin does not register even though the Ogre button appears. When pressed 
it gives you the 'no utils' error (which sort of makes sense). Note that 
Blender2Ogre 0.5.4 works just fine. It is something NEW which was introduced in 
version 0.5.5 that broke this plugin!

Original comment by ironfr...@gmail.com on 24 Sep 2011 at 4:29

GoogleCodeExporter commented 8 years ago
Copy paste the full console output here, so we can see what the main error is.  
Several things have changed in 0.5.5, and any one of them could have caused 
this.

Your problem could also be due to not deleting blender2ogre.cfg.  Shenjoku from 
the Ogre forums was having this problem.

"""shenjoku,
If you are sure that Tundra2 has been installed to C:\Tundra2 then this problem 
is because of your old config file is pointing to the old "my-shaders", it 
needs to point to Tundra2/media/materials
I'm not sure where the config file gets located exactly on Windows, its 
something like C:\users\yourname\AppData\Roaming\Blender
On Linux it is easy to find: ~/blender/2.59/config/scripts/blender2ogre.cfg
just delete blender2ogre.cfg and you should be good to go"""

Original comment by goatman.py@gmail.com on 25 Sep 2011 at 12:04

GoogleCodeExporter commented 8 years ago
I'll check it out late in the week as I'll have to go interstate...

Original comment by ironfr...@gmail.com on 25 Sep 2011 at 5:14

GoogleCodeExporter commented 8 years ago
this should be fixed in 0.5.5-preview7

Original comment by goatman.py@gmail.com on 18 Oct 2011 at 3:21