outputting files to .odt format

Just tried to compile my Scriv files to an .odt doc on my desktop with no success. Said there was an error and the file was corrupt (the icon appeared on my desktop but didn’t open). I tried again, this time exporting as a .doc file and it worked fine.