SceneLoaderExcep: Parser: Expected 'def'. Line 1, column 1

Look through your material settings, chances are you will have one of your material attributes set to 'shader' with no shader set. If you are trying to use shaders, make sure you refer to the shader documentation in the manual.