Page 1 of 2

Yet Another Plugin Error

PostPosted: Fri Mar 07, 2008 11:18 pm
by Valdez
Well I ran into another error while exporting my age. It has something to do with the verticies or something of an object. I checked it and everything was set correctly and UV mapped correctly but I don't know what is wrong. Here is what my console said after a few tries:

Code: Select all
    Appending Light Lamp.002 as lightobject to object Tube.001
    Appending Light Lamp.001 as lightobject to object Tube.001
    Appending Light Lamp as lightobject to object Tube.001
 [ShadowCaster]
 [Physical]
  ProxyBounds export
   Exporting 16 (16) vertices
   Exporting 8 (8) faces
  No Mass
  No Friction, disabling frictive setting
  Elasticity: 0.0
  Camera blocking enabled
  Object is Static

[Visual Object Sphere.001]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Sphere.001]
  [Material Material.009]
   [Layer Material.009-Tex]
    -> Using default first UV map
    [MipMap BeachBallColor2.jpg]
     MipMapInfo:
---------------
Imagename:BeachBallColor2.jpg
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------

     Reading mipmap BeachBallColor2.jpg.tex from cache
  [DrawableSpans 00000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.009
    Appending Light Lamp.003 as lightobject to object Sphere.001
    Appending Light Lamp.002 as lightobject to object Sphere.001
    Appending Light Lamp.001 as lightobject to object Sphere.001
    Appending Light Lamp as lightobject to object Sphere.001
 [ShadowCaster]
 [Physical]
  SphereBounds export
   Sphere based on 58 (58) vertices
  Mass 0.5
  Friction: 2.0
  Elasticity: 0.0
  Camera blocking enabled
  Object is Dynamic
 [Coordinate Interface Sphere.001]

[Visual Object Sphere]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Sphere]
  [Material Material.008]
  Exporting Mipmap image Sky.jpg
    [MipMap Sky.jpg]
     MipMapInfo:
---------------
Imagename:Sky.jpg
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------

     Reading mipmap Sky.jpg.tex from cache
  Processes Mipmap image Sky.jpg
  [DrawableSpans 00000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.008
    Appending Light Lamp.003 as lightobject to object Sphere
    Appending Light Lamp.002 as lightobject to object Sphere
    Appending Light Lamp.001 as lightobject to object Sphere
    Appending Light Lamp as lightobject to object Sphere
 [ShadowCaster]

[Visual Object Surf.002]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Surf.002]
  [Material Material.007]
   [Layer Material.007-Tex.004]
    -> Using default first UV map
    [MipMap MossCrust.png]
     MipMapInfo:
---------------
Imagename:MossCrust.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
 SubType: DXT5
---------------

     Reading mipmap MossCrust.png.tex from cache
  [DrawableSpans 20000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.007
    Appending Light Lamp.003 as lightobject to object Surf.002
    Appending Light Lamp.002 as lightobject to object Surf.002
    Appending Light Lamp.001 as lightobject to object Surf.002
    Appending Light Lamp as lightobject to object Surf.002
 [ShadowCaster]
 [Physical]
  ProxyBounds export
   Exporting 3 (3) vertices
   Exporting 1 (1) faces
  No Mass
  No Friction, disabling frictive setting
  Elasticity: 0.0
  Camera blocking enabled
  Object is Static

[Visual Object Tube]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Tube]
  [Material Material.006]
   [Layer Material.006-Tex.003]
    -> Using default first UV map
    [MipMap Heather.png]
     MipMapInfo:
---------------
Imagename:Heather.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
 SubType: DXT5
---------------

     Reading mipmap Heather.png.tex from cache
  [DrawableSpans 20000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.006
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.006]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.006]
  [Material Material.004]
   [Layer Material.004-Tex.002]
    -> Using default first UV map
    [MipMap GreenSprit.png]
     MipMapInfo:
---------------
Imagename:GreenSprit.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
 SubType: DXT5
---------------

     Reading mipmap GreenSprit.png.tex from cache
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.005]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.005]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.004]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.004]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.003]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.003]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.002]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.002]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane.001]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane.001]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Plane]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Plane]
  [DrawableSpans 60000000_0]
   Processing Faces per Material - Totalling 1 materials
   Material Material.004
    Object is Shadeless, not appending any lamps
 [ShadowCaster]

[Visual Object Surf.001]
 [LogicHelper]
   No actions in list
None
   Exporting modifiers
   No modifiers
None
 [Draw Interface Surf.001]
Traceback (most recent call last):
  File "<string>", line 175, in open_file
  File "<string>", line 88, in export_age
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanag
er.py", line 603, in export_all
    plDrawInterface.Export(self,obj,scnobj,name,SceneNodeRef,isdynamic)
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\alc_DrawCla
sses.py", line 1549, in _Export
    drawi.data.export_obj(obj,SceneNodeRef,isdynamic)
  File "E:\Program Files\Blender Foundation\Blender\.blender\scripts\alc_DrawCla
sses.py", line 1642, in export_obj
    BaseVertexIdx = len(MaterialGroups[mface.mat]["vertices"])
TypeError: 'NoneType' object is unsubscriptable


There you have it. Any ideas? I am almost done with this age and I am dying to see it! ;)

Re: Yet Another Plugin Error

PostPosted: Fri Mar 07, 2008 11:28 pm
by Chacal
This error has been discussed in a very recent post (last 2 days) and a fix was found.
But I can't find it because the search function returns this priceless message!

search_error.png
search_error.png (29.82 KiB) Viewed 4542 times


Anyway, look around and you shall find it.

Re: Yet Another Plugin Error

PostPosted: Fri Mar 07, 2008 11:35 pm
by Grogyan
Yep, I posted it.

Simple really, somehow, the object didn't have any materials set to it, even though it had UV texture on it

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 7:50 am
by Valdez
I already had a material set to it and it didn't work. What is the problem? And I couldn't find you forum post either. :(

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 8:09 am
by Aloys
Chacal wrote:This error has been discussed in a very recent post (last 2 days) and a fix was found.
But I can't find it because the search function returns this priceless message!

:lol: Hahaha that's one wonderfull error message indeed...
I didn't even know unsubscriptable was a real word.. :shock:

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 12:14 pm
by Tsar Hoikas
Chacal wrote:This error has been discussed in a very recent post (last 2 days) and a fix was found.
But I can't find it because the search function returns this priceless message!


Since I appear to be the only person on this entire board who seems to have any inkling of how to properly administer phpBB 3... Can you try now? Please PM *me* if you have any more issues with the "too general" error (Oh, I should note that words like "and" and "it" will probably be too general no matter what I do :P).

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 3:13 pm
by Valdez
Still couldn't find it. I don't think that post exists anymore. :x Can you just tell me what to do? I need to know soon. :!: :!:

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 3:40 pm
by andylegate
The post is in the Builders section of the forum, it's short, only 2 posts. Someone was having the same error as you. But they figured out what their problem was. What was wrong was, they have UV mapped a image for their textures, but they had forgotten to give it a material too, and so got this error.

you say that you've looked at your object and it has a material, and you've UV mapped it.

You sure it's the same object? The log you posted says the object is called "Surf.001" That normally means you made a duplicate of your object called Surf (the .001 gives that away, Blender automatically assigns names like that to duplicates so you'll know it's a copy).

Here's what I suggest, change your menu to Outliner, and scroll down until you see the object "Surf.001" listed. Then click on it to select it, and either delete if you don't need it, or once you've selected it, go to the materials tab and double check that it has a material, texture, and UV mapped image.

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 4:37 pm
by Valdez
It has everything accounted for it and it still doesn't work. What can I do now? Why can't anything just work and be done with?!?! :x

Re: Yet Another Plugin Error

PostPosted: Sat Mar 08, 2008 4:40 pm
by Grogyan
When I was working on my shell, I fixed something and the whole model broke, costing me a couple of days work, in the end it was easier to delete it and start again.