The export was terminated because one or more objects selected for export is not fully textured.
gooneybird would not have had to come here for help and would have known what to do. Even better would be a message like this:
"The export was terminated because the following objects selected for export are not fully textured.
Object1
Object2
Object3
This would allow the user to focus in very quickly on what needs to be done to get the export working.
It is very poor UI design to allow something to fail with such poor feedback to the user particularly when the error is caused by something the user did or, like this case, didn't do. I know that other Blender export and import scripts give feedback in a user friendly way (IE. message boxes that describe the issue in user terms). So it is possible to create the needed UI elements and make this a little more user friendly.
Also I have seen at least a half dozen similar posts where users are asking about this and there are probably more than that. One of those posts was from me when I ran into this issue the first time. So this indicates that this is a common issue for users.
I am in the process of UV mapping a very complex model (about 220 objects) and on a regular basis I select the UV mapped objects and export them so I can have a look at things in FlightGear. Yesterday evening I ran into this issue when I unintentionally selected an internal object that had not yet been UV mapped for export. Since I knew what the error was about I was able to correct my selection and do the export but it still caused more disruption then it would have with better feedback and if I was new to this I would have been more or less stuck with no idea how to correct the issue because what output there is when this happens is more or less meaningless to users.
It is obvious that the script fails at line 155 with an "AttributeError: 'NoneType' object has no attribute 'data'" so all that needs to happen is to add a check just before line 155 to see if the Attribute is OK and if not pop up a message and when the message is dismissed close the script. Someone who knows python could probably create a fix for this in a matter of minutes.