TroubleShootingFAQ

Revision as of 20:06, 30 April 2008 by Aloys (Talk | contribs) ("'Files are corrupted or missing''")

Disclaimer :
This FAQ is not exhaustive, it is always 'under construction', and many things might be missing. If you found a problem that is not covered here, please add it or post about it on the forum.


What is this FAQ?
For now this FAQ focuses on problems with Uru and the Tools (essentially PyPRP) but not problems that are related only to Blender and modelling/texturing/animating/sound.


Common advices:
- Make sure you have the latest version of the tools.
- Make sure to always keep various back-ups of your Age files. Save your Age Blend file with incremental numbers (MyAge01.Blend, MyAge02.Blend etc)
- If you have enough space on you hard drive keep a 'clean' back up installation of Uru. It is always usefull for testing; or getting back missing/corrupted files for your 'regular' Uru installation.
- Whenever you have a problem with an Age try to remember the last things you changed; the source of the problem is certainly here.
- Patience is your best tool. :)
- If all else fail, ask on the forum.


I - PyPRP export error messages

"Blender error pop-up saying: Python script error: check console"

The console is that small black and white window that opens up with Blender. So whenever you get that error open the console and look at what the last line says. That error may be listed in this FAQ, if it isn't ask on the forum.

"Couldn't load image data in Blender"

Sometimes Blender 'forget' some images. Solution: Reload the image in question in UV/Image window, or by simply selecting the problematic object, open a UV/Image window and hit 'F', this will display the image and fix the problem. This happens often.

"TypeError: 'NoneType' object is unsubscriptable"

I'm not sure why but this has to do with an object having multiple materials.. Try to remove materials from your objects.. If your objects needs several material try to subdvide it into more objects, one for each material.

"ValueError: Need more than 0 values to unpack"

This is most likely because your object use one (or more) vertex groups. Remove them. Select your object and go to the 'Editing' panel, and in the leftmost part of the panel there is the Vertex Groups area, click 'delete'.

"ValueError: face has no texture values"

The mesh has a texture assigned but it is not yet UV mapped.

"Checking for installed Python... No installed Python found."

There is a problem with Python. You need to install Python; find it here: http://www.guildofwriters.com/wiki/Installing_PyPRP

"ImportError: No module named glob"

There is a problem with Python. Make sure it is properly installed, or re-install it.

"ImportError: No module named Image"

You need to install the Python Imaging Library. Find it here: http://www.guildofwriters.com/wiki/Installing_PyPRP

"ImportError: No module named yaml"

You need to install YAML. Find it here: http://www.guildofwriters.com/wiki/Installing_PyPRP

"ImportError: No module <anything other than glob, image or yaml>"

The python file mentionned is missing. Make sure that the various PyPRP files are installed in blender's /script folder. The default path for this : C:\Program Files\Blender\.blender\scripts

"UnboundLocalError: local variable 'col_r' referenced before assignment"

This error can be related to vertex painting if you are using an "alpha" layer but no "col" layer. If you do vertex alpha the "col" layer is also required, even if you don't use it. So make sure to have one.

II - Uru problems/errors messages

"Files are corrupted or missing"

This is the most frequent problem and the easiest to fix. Some files are indeed corrupted or missing. If you have worked with the PRP files by hand then this is related to the .sum file of the Age either it is out of date and need to be updated (by any tool like Plasmashop,UruFun, ULM) or some of the PRP files for the Age are missing. Make sure you haven't deleted or renamed any files..
If you have this problem when you start Uru, this is a problem with the Personal Age files, or some of the other necessary Uru files. Make sure you haven't deleted or renamed any files.

"Black screen when linking"

There are several possibilities:
It might be a problem with the linking point for the Age. Either you don't have one, or it is placed in an improper place (inside a wall, under the floor etc) or it is incorrectly named.
This could also be a problem with the .Fni file. If it is corrupted in any way some graphic cards will display a totally black fog in the Age instead of the fog you have set in the .fni file. Make sure it is not corrupted in any way. The best way to avoid this is to create the .fni file in Blender, and never touch it outside of Blender unless you know exactly what you are doing.

< This section needs to be expanded >

"Uru crashes on startup"

This is most likely related to the lastest Age you have added or modified. Try removing it and launch Uru again. If this solves the problem, then something is wrong with this Age; and if you have a .Pak Python file for this Age it is most likely the problem. Make sure it is properly compiled, not corrupted, and doesn't have any problem of any kind.

"Uru crashes to desktop when I try to load my Age"

This is often related to a Sequence Prefix error. Have you registered a Sequence Prefix for your Age? Make sure it is not an existing number. Register your Age here: [1]

"Uru crashes when I try to load my Age and displays a 'Stack Dump' window"

Unfortunately there could be many sources for this.. Try to remember the last things you changed to the Age or to Uru before that happened; the source of the problem is certainly here. It may also be because of a Python problem; if you use Python in your Age check that there is nothing wrong with the code or with the .pak files.

"My object doesn't appear in my Age, although I had no error on export."

Check that your object isn't assigned a non-existing page_num property. It could also be a problem with the normals, in edit mode check that your object's normals are not inverted.


III - ULM/ULM related problems

"Application couldn't initialise properly (0xc0000135). Click OK to stop the application."

To run ULM you need to have .Net 2.0 installed. Find it here.

< This section seriously needs to be expanded >