[Solved] Python Script Error When Exporting to .elu in Blender

Results 1 to 8 of 8
  1. #1
    Member Seoa is offline
    MemberRank
    Jun 2010 Join Date
    USALocation
    70Posts

    [Solved] Python Script Error When Exporting to .elu in Blender

    I've got both scripts. I'm running Blender 2.49, and I've tried Python versions 2.6.6 and 2.7.2. I'm getting a Python script error every time I try to export the model as an .elu .

    Code:
    Traceback (most recent call last):
      File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\.blen
    er\scripts\gunz_export.py", line 462, in elu_file_selector
        elu_export(file_path)
      File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\.blen
    er\scripts\gunz_export.py", line 313, in elu_export
        raise IndexError, 'No objects selected.'
    IndexError: No objects selected.
    What is the problem =|
    Last edited by Seoa; 01-03-12 at 03:50 AM.


  2. #2
    Ninja Goblin HellSniper is offline
    MemberRank
    Feb 2009 Join Date
    GermanyLocation
    1,791Posts

    Re: Python Script Error When Exporting to .elu in Blender

    How about reading the error message?
    "No objects selected."
    Need a nother hint?

  3. #3
    Member Seoa is offline
    MemberRank
    Jun 2010 Join Date
    USALocation
    70Posts

    Re: Python Script Error When Exporting to .elu in Blender

    Went through about a hundred threads and found the answer...


    First, select your sword
    Second, Go to the Material tab (F5)
    Third, Create a new Material and set shading to 0
    Fourth, Go to texture tab (F6)
    Fifth, Add a new texture and set it to image, then select your image


    I understood the error, but I did not have the solution.

  4. #4
    Ninja Goblin HellSniper is offline
    MemberRank
    Feb 2009 Join Date
    GermanyLocation
    1,791Posts

    Re: [Solved] Python Script Error When Exporting to .elu in Blender

    What the hell <_>"
    How difficult is it to understand "no objects selected" ...?

    Besides, what you describe is a complete different "error".

  5. #5
    Member Seoa is offline
    MemberRank
    Jun 2010 Join Date
    USALocation
    70Posts

    Re: [Solved] Python Script Error When Exporting to .elu in Blender

    I mean, do you really have to select each object you want to save? I just assumed the blender would recognize all the objects you created and save them as you hit 'save'. I'm not familiar with Blender. I'm learning.

    So, you don't have to go through those steps to export?

  6. #6
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: [Solved] Python Script Error When Exporting to .elu in Blender

    Exporting every object in blender would actually cause more problems then it fixes, not only would you have to make sure that things like cameras and light sources would not be included in the export, but that all meshes selected would be exported as well.

    At times I have wanted to only export 1 object rather then all, especially on larger projects.

    Selecting the materials you want to export takes a matter of seconds, not worth hundreds (exaggerated) of lines of code =P and multiple options that may or may not speed up the time minutely.

  7. #7
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: [Solved] Python Script Error When Exporting to .elu in Blender

    'No objects selected.'
    IndexError: No objects selected.
    1.Press A or Right mouse the mesh you want to export ( such as : Sword, gunz ..etc.. )
    2. Choose the Save location of elu file.
    Press ok.
    3. Choose the version of elu ( version 7 )
    Ok! Try again.. and you will success.

  8. #8
    Ninja Goblin HellSniper is offline
    MemberRank
    Feb 2009 Join Date
    GermanyLocation
    1,791Posts

    Re: [Solved] Python Script Error When Exporting to .elu in Blender

    Quote Originally Posted by Gun[Lengend] View Post
    1.Press A or Right mouse the mesh you want to export ( such as : Sword, gunz ..etc.. )
    2. Choose the Save location of elu file.
    Press ok.
    3. Choose the version of elu ( version 7 )
    Ok! Try again.. and you will success.
    Congratz on "answering" a already solved problem.

    Anyways, "ontopic", everything selected -> model file export.
    (Every object exported in a single model file)
    I dont like having 5 objects cramt together in one model file.
    But you got what you wanted so discussing that now wont exactly lead to anything in particular.



Advertisement