On further investigation, the issues I'm having with the Xwiki openoffice importer in Fedora12 and OpenOffice 3.1.1 are "operator error." Or rather, since the last time I used the openoffice converter in Xwiki, an additional package must be installed. Without it, the '-headless' argument for openoffice server is ignored and the "Can't open display" error is emitted by the openoffice server.
Name : openoffice.org-headless Arch : x86_64 Epoch : 1 Version : 3.1.1 Release : 19.28.fc12 Size : 1.9 M Repo : installed >From repo : updates Summary : OpenOffice.org Headless plugin URL : http://www.openoffice.org/ License : LGPLv3 and LGPLv2+ and MPLv1.1 and BSD Description: A plugin for OpenOffice.org that enables it to function without > an : X server. It implements the -headless command line option and : allows OpenOffice.org to be used as a backend server for e.g. : document conversion. Without this package, starting an "externally managed" OOo instance gives error "/usr/lib64/openoffice.org3/program/soffice.bin X11 error: Can't open display" -- which was the hint I needed to figure out that this additional package was needed. With Xwiki's default "internally managed" OOo instance, missing this package produces an unhelpful error message: "org.xwiki.officeimporter.openoffice.OpenOfficeManagerException: Error while connecting / starting openoffice" . Once 'openoffice.org-headless' was installed, I launched the 'internally managed' openoffice server from the root wiki and ran the openoffice importer from a non-root wiki in the multiple wiki (virtual) setup. Also, the new openoffice importer seems to work much better -- some documents that previously had problems with image imports and incorrect scaling, now display correctly. Niels http://nielsmayer.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
