Description of problem: oowriter cannot export XHTML(.html, .xhtml) file. Version-Release number of selected component (if applicable): OpenOffice.org 3.0.0-9-10.fc10 How reproducible: 100% reproducible. Steps to Reproduce: 1. launch OOo, and on the default menu, 'File -> New -> Text Document' 2. click 'File -> export...' 3. choose exporting file type to 'XHTML(.html, .xhtml)', type a 'Name'. 4. click 'Save'. Actual results: failed to save the XHTML file with message: 'Error saving the document sampleFileName: Write Error. the file could not be writen.' Expected results: save the file successfully. Additional info: N/A
I installed openoffice.org-writer2xhtml and tried the export (XHTML 1.0 strict (.html)), without any error. Version of openoffice.org is 3.0.1-15.1.fc10 . You reported F-10 version of openoffice.org, but set Version to rawhide. Which version of Fedora are you using? From your results I would say you don't have write permission to selected directory or already existing file.
(In reply to comment #1) > I installed openoffice.org-writer2xhtml and tried the export (XHTML 1.0 strict > (.html)), without any error. Version of openoffice.org is 3.0.1-15.1.fc10 . > > You reported F-10 version of openoffice.org, but set Version to rawhide. Which > version of Fedora are you using? > > From your results I would say you don't have write permission to selected > directory or already existing file. I installed F10 (kernel 2.6.27.9-159.fc10.i686). -------------- [root@dhcp-xx-xx-xx HOME]# yum install openoffice.org-writer2xhtml Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Package openoffice.org-writer2xhtml-0.5.0.2-2.fc10.i386 already installed and latest version Nothing to do ------------------- and I'm sure I have write permission to the directory and there is no existing file. It's my fault to set it to 'rawhide'.
Created attachment 329172 [details] the screenshots of oowriter failure to exoport xhtml what I did to trigger the error.
(In reply to comment #1) > I installed openoffice.org-writer2xhtml and tried the export (XHTML 1.0 strict > (.html)), without any error. Version of openoffice.org is 3.0.1-15.1.fc10 . > > You reported F-10 version of openoffice.org, but set Version to rawhide. Which > version of Fedora are you using? > > From your results I would say you don't have write permission to selected > directory or already existing file. I cannot update OOo to rawhide because of yum problem. But I still have this problem, even I have updated my OOo to 3.0.1-15.1.fc10, and with openoffice.org-writer2xhtml-0.5.0.2-2.fc10.i386 installed. the attachment is the screenshots. besides, the problem still exists, as I run oowriter as root.
Created attachment 329173 [details] kernel version
Created attachment 329174 [details] OOo version
Created attachment 329175 [details] I have write permission
Created attachment 329176 [details] type the name and choose the format to export 1
Created attachment 329177 [details] type the name and choose the format to export 2
Created attachment 329178 [details] type the name and choose the format to export 3
Created attachment 329179 [details] type the name and choose the format to export 4
Created attachment 329180 [details] type the name and choose the format to export 5
Created attachment 329181 [details] type the name and choose the format to export 6
Created attachment 329182 [details] the error message.
Ah, I see now... Two redeclared variables in /usr/lib64/openoffice.org/basis3.0/share/xslt/export/xhtml/body.xsl (openoffice.org-xsltfilter).
dtardon->kcao: When you report versions of software and such stuff, you should always use pure text, i.e. terminal output of "uname -a", "rpm -qi openoffice.org-core", etc. Specifically for openoffice.org, the numbers it reports in about dialog are of no importance to us; what we need is version of appropriate RPM. writer2xhtml is yet another exporter to XHTML; it's "File format" lines in the export dialog contains "XHTML 1.0 strict" and "XHTML 1.1 ..."
Will be in 3.0.1-15.2 .
openoffice.org-3.0.1-15.2.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.