OpenOffice-2.4.0 attempts lo load several files from file:///opt/OpenOffice.org/.... which always fails as /opt/OpenOffice.org/ does not exist Reproducible: Always Steps to Reproduce: 1.emerge openoffice [ebuild R ] app-office/openoffice-2.4.0 USE="cups dbus eds firefox gnome gstreamer gtk ldap odk pam -binfilter -debug -java -kde -mono -seamonkey -webdav -xulrunner" LINGUAS="en en_GB en_US -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB 2. Start a component - tested with Calc and Writer 3. Try to open a file. 4. Dismiss the errors, then it seems to work. Actual Results: Two I/O Error messages Expected Results: Depends on what these files are used for. spike roy # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r2 i686) ================================================================= System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) XP 3200+ Timestamp of tree: Sat, 29 Mar 2008 02:45:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.3.6-r2, 2.4.4-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ds.thn.htu.se/linux/gento http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.tiscali.nl/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://darkstar.ist.utl.pt/gentoo/ http://128.213.5.34/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" LINGUAS="en en_GB en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.10.19/gentoo-portage" USE="3dnow 3dnowext X X509 Xaw3d a52 aac accessibility acl acpi alsa ao aotuv artworkextra asf asterisk bash-completion berkdb bzip2 bzlib cairo cap ccache cdda cddb cdparanoia cdr chroot cli clisp cmucl cracklib crypt css cups curl custom-cflags db2 dbus deprecated dga divx4linux dnd doc dpms dri droproot dts dvd dvdr dvdread edl eds emacs emboss encode escreen esd evo exif fam fame fb fbcon ffmpeg fftw firefox flac fmod font-server foomaticdb fortran fping ftp gb gdbm gif gimp gimpprint glitz gnome gnomedb gpm graphviz gs gstreamer gtk guidexml guile h323 hal iconv ipv6 irc isdnlog jabber javascript jikes jp2 jpeg kerberos ldap libcaca libgda libsamplerate libwww lm_sensors lzo lzw lzw-tiff mad maildir mbox md5sum midi mikmod mime mjpeg mmap mmx mmxext mng motif mp3 mpeg mpeg4 mpi mplayer mudflap mysql mythtv ncurses network networking nls no-old-linux nptl nptlonly odk ogg opengl openmp oss pam pam_timestamp pcre pda pdf perl png ppds pppd private procmail python qt3 qt3support qt4 quicktime rar readline real reflection regex rtc sblive screenshot sdl server session shorten sndfile sockets spell spl sse ssl svg sysfs sysvipc tcpd tga theora threads tiff toolbar transcode truetype unicode usb userlocales uudeview v4l v4l2 vcd vcdimager vidix vim-with-x vorbis win32codecs withsamplescripts wma123 wmf x86 xanim xbase xchattext xine xinerama xml xorg xpm xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia v4l vesa vga" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > OpenOffice-2.4.0 attempts lo load several files from > file:///opt/OpenOffice.org/.... which always fails as /opt/OpenOffice.org/ does > not exist This doesn't happen here, so my best guess is a faulty / very old user install. Try to remove ~/.ooo-2.0 and see if that helps
(In reply to comment #1) > (In reply to comment #0) > > OpenOffice-2.4.0 attempts lo load several files from > > file:///opt/OpenOffice.org/.... which always fails as /opt/OpenOffice.org/ does > > not exist > > This doesn't happen here, so my best guess is a faulty / very old user install. > Try to remove ~/.ooo-2.0 and see if that helps > Andreas, Thank you for the response, unfortunately, nothing has changed. OOo tries to load file:///opt/OpenOffice.org/share/basic/WebWizard/script.xlb and file:///opt/OpenOffice.org/share/basic/dialog/script.xlb I don't have the path /opt/OpenOffice.org and script.xlb does not exist in my install, neither does WebWizard.
OpenOffice is opening but where there should be two files script.xlb and dialog.xlb in /opt/OpenOffice.org/share/basic/WebWizard/ there are no files at all. The directory exists but its empty. Here is the error message that I am receiving. Error load BASIC of document file:///opt/OpenOffice.org/share/basic/WebWizard/script.xlb/: General Error. General input/output error. Error load BASIC of document file:///opt/OpenOffice.org/share/basic/WebWizard/dialog.xlb/: General Error. General input/output error.
(In reply to comment #2) > Andreas, > > Thank you for the response, unfortunately, nothing has changed. OOo tries to > load file:///opt/OpenOffice.org/share/basic/WebWizard/script.xlb > and file:///opt/OpenOffice.org/share/basic/dialog/script.xlb > > I don't have the path /opt/OpenOffice.org and script.xlb does not exist in my > install, neither does WebWizard. > Still this hass to be an old user install, otherwise it wouldn't check for /opt/OpenOffice.org, which is the install path we used in OOo 1.x-days. So please take another look around if there are some other hidden directories remaining from ancient OOo-release (like ~/.openoffice )
same here even after removing ~/.openoffice
I had the same problem for some time and found the solution: Both files which are named in the error messages are included in two config files in the user's OOo config directory. To fix the problem, edit these two files: ~/.ooo-2.0/user/basic/script.xlc ~/.ooo-2.0/user/basic/dialog.xlc In both files (xml format), there is a list of libraries to load and one line contains a reference to the missing file. Just remove the relevant lines in both files, save them and restart OOo. As an example, the line in ~/.ooo-2.0/user/basic/dialog.xlc looks as follows: <library:library library:name="WebWizard" xlink:href="file:///opt/OpenOffice.org/share/basic/WebWizard/dialog.xlb/" xlink:type="simple" library:link="true" library:readonly="true"/> N.B: `find' and `grep' are your friends ;-)
(In reply to comment #6) > I had the same problem for some time and found the solution: Both files which > are named in the error messages are included in two config files in the user's > OOo config directory. that's why removing ~/.ooo-2.0 was my first advice ;)
Thank you very much.
Got bit by this too. Is there something we can put in the openoffice ebuild that would detect and or fix this? I mean, it's our users who are being punished by this upgrade not being clean. AfC
Completely agree. At least something in the ebuild should point to this bug. (In reply to comment #9) > Got bit by this too. > > Is there something we can put in the openoffice ebuild that would detect and or > fix this? I mean, it's our users who are being punished by this upgrade not > being clean. > > AfC >
(In reply to comment #9) > Got bit by this too. > > Is there something we can put in the openoffice ebuild that would detect and or > fix this? I mean, it's our users who are being punished by this upgrade not > being clean. > > AfC > Actually we had such a script IIRC but this was dropped after we haven't been using /opt/OpenOffice.org in the last few years with quite a bunch of updates in between (so everyone should have gotten the fix in theory). Just for interest, as I still don't quite get why this seems to happen to more people now and not earlier: From which version of OOo did you upgrade?
It has been happening to me for a while, but I haven't bothered fixing until now.
(In reply to comment #11) > (In reply to comment #9) > > Got bit by this too. > > > > Is there something we can put in the openoffice ebuild that would detect and or > > fix this? I mean, it's our users who are being punished by this upgrade not > > being clean. > > > > AfC > > > > Actually we had such a script IIRC but this was dropped after we haven't been > using /opt/OpenOffice.org in the last few years with quite a bunch of updates > in between (so everyone should have gotten the fix in theory). Just for > interest, as I still don't quite get why this seems to happen to more people > now and not earlier: From which version of OOo did you upgrade? > Hi. I ran into this bug after upgrade from 2.4.1 to 2.2.5 Tuomas
(In reply to comment #13) > (In reply to comment #11) > > (In reply to comment #9) > > > Got bit by this too. > > > > > > Is there something we can put in the openoffice ebuild that would detect and or > > > fix this? I mean, it's our users who are being punished by this upgrade not > > > being clean. > > > > > > AfC > > > > > > > Actually we had such a script IIRC but this was dropped after we haven't been > > using /opt/OpenOffice.org in the last few years with quite a bunch of updates > > in between (so everyone should have gotten the fix in theory). Just for > > interest, as I still don't quite get why this seems to happen to more people > > now and not earlier: From which version of OOo did you upgrade? > > > Hi. > > I ran into this bug after upgrade from 2.4.1 to 2.2.5 > > Tuomas > Well, that's a hell of a long time with no upgrades. Taking in account that nearly every release in there had security fixes, you really should update more frequently anyway...