It can happen that, if your make.conf does not include "java" among the default USE variables, app-office/lyx-2.0.6 gets installed with a broken "export to OpenDocument" feature. You get a ODT file that produces an input/output error in libreoffice-writer when trying to visualize or preview it. Reproducible: Always Steps to Reproduce: 1.Check if you have dev-tex/tex4ht with -java and app-office/lyx installed 2.If so, run lyx from a terminal. 3.Export to OpenDocument a document from LyX. You get a file but you cannot open it. Reading in the terminal what lyx is reporting you see that there is an error running the "nameoffile".lg script easily identified as a java error related to tex4ht.jar missing. Actual Results: ... ] Execute script `archivo_nuevo1.lg' Exception in thread "main" java.lang.NoClassDefFoundError: xtpipes Caused by: java.lang.ClassNotFoundException: xtpipes at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: xtpipes. Program will exit. mkdir: no se puede crear el directorio «sxw-archivo_nuevo1.dir/Pictures»: No existe el fichero o el directorio mv: no se puede mover «archivo_nuevo1-styles.4oy» a «sxw-archivo_nuevo1.dir/styles.xml»: No existe el fichero o el directorio mkdir: no se puede crear el directorio «sxw-archivo_nuevo1.dir/META-INF»: No existe el fichero o el directorio mv: no se puede mover «archivo_nuevo1-meta.4ot» a «sxw-archivo_nuevo1.dir/meta.xml»: No existe el fichero o el directorio sh: línea 0: cd: sxw-archivo_nuevo1.dir: No existe el fichero o el directorio adding: archivo_nuevo1-manifest.4of (deflated 66%) adding: archivo_nuevo1-meta.4ot (deflated 57%) adding: archivo_nuevo1-settings.4os (deflated 45%) adding: archivo_nuevo1-styles.4oy (deflated 91%) adding: archivo_nuevo1.4ct (deflated 16%) adding: archivo_nuevo1.4od (stored 0%) adding: archivo_nuevo1.4tc (deflated 17%) adding: archivo_nuevo1.aux (deflated 51%) adding: archivo_nuevo1.dvi (deflated 86%) adding: archivo_nuevo1.idv (deflated 62%) adding: archivo_nuevo1.lg (deflated 76%) adding: archivo_nuevo1.log (deflated 78%) adding: archivo_nuevo1.pdf (deflated 3%) adding: archivo_nuevo1.tex (deflated 37%) adding: archivo_nuevo1.tex.dep-pdf (deflated 61%) adding: archivo_nuevo1.tmp (deflated 66%) adding: archivo_nuevo1.xref (stored 0%) mv: no se puede efectuar `stat' sobre «sxw-archivo_nuevo1.dir/archivo_nuevo1.odt»: No existe el fichero o el directorio ---------------------------- t4ht.c (2009-01-31-07:34 kpathsea) t4ht -f/archivo_nuevo1.tex -cooxtpipes -coo (/usr/share/texmf/tex4ht/base/tex4ht.env) Entering archivo_nuevo1.lg System call: mv archivo_nuevo1.4oo archivo_nuevo1.tmp System return: 0 System call: java -classpath /usr/share/texmf/tex4ht/bin/tex4ht.jar xtpipes -i /usr/share/texmf/tex4ht/xtpipes/ -o archivo_nuevo1.4oo archivo_nuevo1.tmp --- Warning --- System return: 256 System call: mkdir sxw-archivo_nuevo1.dir/Pictures --- Warning --- System return: 256 System call: mv archivo_nuevo1-styles.4oy sxw-archivo_nuevo1.dir/styles.xml --- Warning --- System return: 256 System call: mkdir sxw-archivo_nuevo1.dir/META-INF --- Warning --- System return: 256 System call: mv archivo_nuevo1-meta.4ot sxw-archivo_nuevo1.dir/meta.xml --- Warning --- System return: 256 System call: cd sxw-archivo_nuevo1.dir; zip -r archivo_nuevo1.odt * ; cd .. System return: 0 System call: mv sxw-archivo_nuevo1.dir/archivo_nuevo1.odt . --- Warning --- System return: 256 Expected Results: ... ] Execute script `archivo_nuevo1.lg' adding: META-INF/ (stored 0%) adding: META-INF/manifest.xml (deflated 66%) adding: Pictures/ (stored 0%) adding: content.xml (deflated 75%) adding: meta.xml (deflated 57%) adding: settings.xml (deflated 45%) adding: styles.xml (deflated 91%) ---------------------------- t4ht.c (2009-01-31-07:34 kpathsea) t4ht -f/archivo_nuevo1.tex -cooxtpipes -coo (/usr/share/texmf/tex4ht/base/tex4ht.env) Entering archivo_nuevo1.lg System call: mv archivo_nuevo1.4oo archivo_nuevo1.tmp System return: 0 System call: java -classpath /usr/share/texmf/tex4ht/bin/tex4ht.jar xtpipes -i /usr/share/texmf/tex4ht/xtpipes/ -o archivo_nuevo1.4oo archivo_nuevo1.tmp System return: 0 System call: mkdir sxw-archivo_nuevo1.dir System return: 0 System call: mv archivo_nuevo1.4oo sxw-archivo_nuevo1.dir/content.xml System return: 0 System call: mkdir sxw-archivo_nuevo1.dir/Pictures System return: 0 System call: mv archivo_nuevo1-settings.4os sxw-archivo_nuevo1.dir/settings.xml System return: 0 System call: mv archivo_nuevo1-styles.4oy sxw-archivo_nuevo1.dir/styles.xml System return: 0 System call: mkdir sxw-archivo_nuevo1.dir/META-INF System return: 0 System call: mv archivo_nuevo1-manifest.4of sxw-archivo_nuevo1.dir/META-INF/manifest.xml System return: 0 System call: mv archivo_nuevo1-meta.4ot sxw-archivo_nuevo1.dir/meta.xml System return: 0 System call: cd sxw-archivo_nuevo1.dir; zip -r archivo_nuevo1.odt * ; cd .. System return: 0 System call: mv sxw-archivo_nuevo1.dir/archivo_nuevo1.odt . System return: 0 System call: rm archivo_nuevo1.4od System return: 0 System call: rm -r -f sxw-archivo_nuevo1.dir System return: 0
ortage 2.2.1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.10.12-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.2 KiB Mem: 3981332 total, 960984 free KiB Swap: 1184764 total, 1111196 free Timestamp of tree: Tue, 24 Sep 2013 08:15:02 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo sunrise megacoffee x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/megacoffee /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cleartype cli colord consolekit cracklib crypt css cups cxx dbus djvu dri dts dvd dvdr dvi eds emboss encode exif fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimp git glitz gmail gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv imap infinality introspection ipod jpeg jpeg2k kdeenablefinal kdehiddenvisibility kpathsea latex lcms libnotify libsecret lzma mad mbox mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musepack musicbrainz nautilus ncurses network network-cron nls nptl ogg opengl openmp pam pango pch pdf png policykit pop ppds pulseaudio qt3support qt4 raw readline sdl session smp socialweb spell sse sse2 sse4_1 ssl ssse3 startup-notification subversion svg t1lib tcpd theora tiff truetype udev udisks unicode upower usb vcd vdpau vorbis wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" LINGUAS="es es_ES en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-office/lyx-2.0.6 was built with the following: USE="X cups hunspell latex (multilib) nls svg -aspell -debug -dia -docbook -dot -enchant -gnumeric -html -monolithic-build -rcs -rtf (-subversion)" ABI_X86="64" LINGUAS="en es -ar -ca -cs -da -de -el -eu -fi -fr -gl -he -hu -ia -id -it -ja -nb -nn -pl -pt -ro -ru -sk -sr -sv -tr -uk -zh_CN -zh_TW"
fixed in 2.0.7.1.