SOLVED! I have no idea which of my tweaks did it but export now works perfectly. Here's the procedure, would love to see this fix incorporated into OOo package.
1. Uninstalled everything related to GCJ/OpenJDK and made sure Sun JRE is selected in OOo. 2. Downloaded odt2mediawiki.xsl file patched to workaround a bug in XALAN xslt parser in Ubuntu from here: http://www.openoffice.org/nonav/issues/showattachment.cgi/60534/odt2mediawiki.xsl (see http://www.openoffice.org/issues/show_bug.cgi?id=96279 for full bug report and discussion) 3. Copied downloaded odt2mediawiki.xsl file to /usr/lib/openoffice/basis3.0/share/xslt/wiki/ on my system replacig the original one 4. Downloaded MathML xslt support files from here: http://prdownloads.sourceforge.net/xsltml/xsltml_2.0.zip (home page: http://www.raleigh.ru/MathML/mmltex/, WARNING it is in Cyrillics) 5. Created subdirectory /usr/lib/openoffice/basis3.0/share/xslt/wiki/math/ and unpacked contents of xsltml_2.0.zip archive into it 6. Restarted OOo It works now! No more error messages regarding circular variable references, no complaints about being unable to save a file, even warnings about running XSLT 1.0 stylesheet with XSLT 2.0 parser are gone (yes, I've always had them before). Produces perfectly wiki-formatted files. -- OOo: Error exporting the document Untitled1: Write Error. The file could no be written https://bugs.launchpad.net/bugs/322225 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs