Did you UV unwrap it? Sometimes you need to do that again just before exporting.Also
This wiki page will help you with quite a lot of the python errors

BTW , if you don't use alpha/transparency , disable the "UseAplha" button in the texture Panel, it will make the exporting time faster and the final texture file size smaller.