Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120574 - OpenOffice 2 Writer won't save.
Summary: OpenOffice 2 Writer won't save.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 15:08 UTC by nunogt
Modified: 2006-01-29 04:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nunogt 2006-01-27 15:08:49 UTC
OpenOffice Writer won't save documents in its native format .odt . Instead of saving, the save dialog keeps reappearing. Saving in other formats (like .doc) works, though.

Ebuild and USE flags:

[ebuild   R   ] app-office/openoffice-2.0.1  -binfilter +curl +eds -gnome -gtk +java +kde -ldap -mozilla +xml2 +zlib 0 kB

Equery depgraph:

* dependency graph for app-office/openoffice-2.0.1
`-- app-office/openoffice-2.0.1
 `-- x11-base/xorg-x11-6.8.2-r6 (virtual/x11) [ !app-office/openoffice-bin ]
  `-- sys-libs/zlib-1.2.3
   `-- sys-devel/patch-2.5.9 [ !bootstrap ]
  `-- sys-devel/flex-2.5.4a-r6
  `-- dev-libs/expat-1.95.8
  `-- media-libs/freetype-2.1.9-r1
   `-- sys-libs/glibc-2.3.5-r2 (virtual/libc)
    `-- sys-devel/gettext-0.14.4 [ nls ]
    `-- sys-devel/gcc-3.4.4-r1
     `-- sys-devel/gcc-config-1.3.12-r6
     `-- x11-libs/gtk+-2.8.8 [ !build gcj ]
     `-- media-libs/libart_lgpl-2.3.17 [ !build ]
      `-- dev-util/pkgconfig-0.20
      `-- sys-apps/sed-4.1.4
     `-- sys-libs/ncurses-5.4-r6
      `-- sys-libs/gpm-1.20.1-r4 [ gpm ]
    `-- sys-kernel/linux-headers-2.6.11-r2 [ nptl ]
    `-- sys-devel/binutils-2.16.1
     `-- sys-devel/binutils-config-1.8-r6
     `-- sys-devel/gnuconfig-20051223
  `-- media-libs/fontconfig-2.2.3
  `-- x11-base/opengl-update-2.2.1 [ opengl ]
   `-- app-arch/bzip2-1.0.3-r5
  `-- x11-apps/ttmkfdir-3.0.9-r3 [ !nocxx ]
   `-- sys-devel/libtool-1.5.22
    `-- sys-devel/autoconf-2.59-r6
     `-- sys-apps/texinfo-4.8-r2
     `-- sys-devel/autoconf-wrapper-3-r1
      `-- sys-devel/autoconf-2.13
       `-- sys-devel/m4-1.4.3
       `-- dev-lang/perl-5.8.7-r3
        `-- sys-devel/libperl-5.8.7
         `-- sys-libs/db-4.2.52_p2-r1 [ berkdb ]
          `-- dev-lang/tcl-8.4.9 [ tcltk ]
          `-- dev-java/sun-jdk-1.5.0.06-r2 (virtual/jre) [ java ]
           `-- media-libs/alsa-lib-1.0.10 [ alsa ]
            `-- sys-kernel/gentoo-sources-2.6.13-r5 (virtual/alsa)
             `-- sys-devel/make-3.80-r2 [ !build ]
             `-- sys-fs/udev-079-r1 (virtual/dev-manager)
              `-- sys-apps/hotplug-base-20040401
              `-- sys-apps/baselayout-1.11.14-r3
               `-- sys-apps/sysvinit-2.86-r3
               `-- sys-libs/readline-5.0-r2 [ !build !bootstrap ]
                `-- app-shells/bash-3.0-r12
               `-- sys-apps/coreutils-5.2.1-r7 [ !build !bootstrap ]
                `-- sys-apps/portage-2.0.54
                 `-- dev-python/python-fchksum-1.7.1 [ !build ]
                  `-- dev-lang/python-2.4.2
                   `-- dev-lang/tk-8.4.9 [ !dev-python/cjkcodecs X tcltk ]
                   `-- sys-libs/gdbm-1.8.3-r2 [ !dev-python/cjkcodecs gdbm ]
                   `-- dev-libs/openssl-0.9.7e-r2 [ !dev-python/cjkcodecs ssl ]
                    `-- sys-apps/diffutils-2.8.7-r1
                    `-- sys-devel/bc-1.06-r6 [ !test ]
                 `-- sys-apps/debianutils-2.14.1-r1 [ !build userland_GNU ]
                 `-- app-misc/pax-utils-0.1.4 [ !userland_Darwin ]
                 `-- sys-apps/sandbox-1.2.12 [ !userland_Darwin ]
                `-- sys-devel/automake-1.8.5-r3
                 `-- sys-devel/automake-wrapper-1-r1
                  `-- sys-devel/automake-1.4_p6
                  `-- sys-devel/automake-1.5
                  `-- sys-devel/automake-1.6.3
                  `-- sys-devel/automake-1.7.9-r1
                  `-- sys-devel/automake-1.9.6-r1
                   `-- sys-apps/help2man-1.33.1 [ !app-text/dgs ]
                    `-- dev-perl/Locale-gettext-1.05 [ nls ]
                     `-- perl-core/Test-Simple-0.62
            `-- media-sound/alsa-headers-1.0.10
           `-- app-arch/unzip-5.52 [ jce ]
           `-- dev-java/java-config-1.2.11-r1
           `-- sys-apps/findutils-4.1.20-r2
         `-- sys-apps/groff-1.19.1-r2 [ !elibc_uclibc ]
  `-- media-libs/libpng-1.2.8
  `-- sys-apps/util-linux-2.12r-r2 [ userland_GNU ]
   `-- sys-fs/e2fsprogs-1.38
    `-- sys-libs/com_err-1.38
    `-- sys-libs/ss-1.38
   `-- sys-apps/pam-login-3.17 [ pam ]
    `-- sys-libs/pam-0.78-r3
     `-- sys-libs/cracklib-2.8.5
     `-- sys-libs/pwdb-0.62 [ pwdb ]
    `-- sys-apps/shadow-4.0.7-r4
   `-- app-crypt/hashalot-0.3-r1 [ crypt ]
 `-- gnome-base/gnome-vfs-2.12.2 [ gnome ]
  `-- gnome-base/libbonobo-2.10.1
   `-- dev-libs/glib-2.8.5
   `-- gnome-base/orbit-2.12.4
    `-- dev-libs/popt-1.7-r1
    `-- dev-libs/libIDL-0.8.6
     `-- sys-devel/bison-1.875d
   `-- dev-libs/libxml2-2.6.23
   `-- dev-util/intltool-0.34.1 [ !gnome-base/bonobo-activation ]
    `-- dev-perl/XML-Parser-2.34
  `-- gnome-base/gconf-2.12.1
  `-- app-admin/fam-2.7.0-r2 (virtual/fam)
   `-- net-nds/portmap-5b-r9
    `-- sys-apps/tcp-wrappers-7.6-r8 [ tcpd ]
  `-- gnome-base/gnome-mime-data-2.4.2
  `-- x11-misc/shared-mime-info-0.16
  `-- net-fs/samba-3.0.14a-r2 [ samba ]
   `-- net-print/cups-1.1.23-r7 [ cups ]
    `-- net-libs/gnutls-1.2.3 [ ssl gnutls ]
     `-- dev-libs/libgcrypt-1.2.2-r1
      `-- dev-libs/libgpg-error-1.0-r1
     `-- app-crypt/opencdk-0.5.5
     `-- dev-libs/lzo-1.08-r1
      `-- dev-lang/nasm-0.98.39-r1 [ x86 ]
       `-- app-text/ghostscript-esp-7.07.1-r8 (virtual/ghostscript) [ doc ]
        `-- media-libs/jpeg-6b-r5
        `-- media-fonts/gnu-gs-fonts-std-8.11
     `-- dev-libs/libtasn1-0.2.13
     `-- sys-apps/gawk-3.1.4-r4
     `-- sys-apps/grep-2.5.1-r8
    `-- media-libs/tiff-3.7.3
   `-- dev-db/mysql-4.1.14 [ mysql ]
    `-- sys-apps/ed-0.2-r6 [ bdb ]
    `-- sys-process/procps-3.2.5-r1 [ userland_GNU ]
  `-- sys-apps/hal-0.5.5.1-r3 [ ssl !gnome-extra/gnome-vfs-sftp gnutls !ssl hal ]
   `-- sys-apps/dbus-0.50-r2
   `-- dev-libs/libusb-0.1.10a
   `-- sys-apps/hotplug-20040923-r1
    `-- sys-apps/pciutils-2.2.0-r1
    `-- sys-apps/usbutils-0.11-r5
  `-- sys-apps/pmount-0.9.6 [ ssl !gnome-extra/gnome-vfs-sftp gnutls !ssl hal ]
   `-- sys-fs/sysfsutils-1.3.0-r1
   `-- sys-fs/cryptsetup-luks-1.0.1-r1 [ crypt ]
    `-- sys-fs/device-mapper-1.01.03
 `-- gnome-extra/evolution-data-server-1.4.2.1 [ eds ]
  `-- gnome-base/libgnomeui-2.12.0
   `-- gnome-base/libgnome-2.12.0.1
    `-- media-libs/audiofile-0.2.6-r1 [ esd ]
   `-- gnome-base/libgnomecanvas-2.12.0
    `-- gnome-base/libglade-2.5.1
     `-- dev-libs/atk-1.10.3
    `-- x11-libs/pango-1.10.2
   `-- gnome-base/libbonoboui-2.10.1-r1
   `-- gnome-base/gnome-keyring-0.4.6
  `-- net-libs/libsoup-2.2.7
  `-- dev-libs/nspr-4.4.1-r2 [ ssl ]
  `-- dev-libs/nss-3.9.2-r2 [ ssl ]
   `-- app-arch/zip-2.3-r4
 `-- kde-base/kdelibs-3.5.0-r2 [ kde ]
  `-- x11-libs/qt-3.3.4-r8
  `-- kde-base/arts-3.5.0-r1 [ arts ]
   `-- media-libs/libogg-1.1.2 [ vorbis ]
   `-- media-libs/libvorbis-1.1.0 [ vorbis ]
   `-- media-libs/libmad-0.15.1b [ mp3 ]
   `-- kde-base/kde-env-3-r4
  `-- dev-libs/libxslt-1.1.15
  `-- dev-libs/libpcre-6.3
  `-- net-dns/libidn-0.5.15
  `-- sys-apps/utempter-0.5.5.6 (virtual/utempter)
   `-- app-arch/rpm2targz-9.0-r3
    `-- app-arch/cpio-2.6-r5
    `-- sys-apps/file-4.13
    `-- sys-apps/which-2.16
  `-- media-libs/jasper-1.701.0 [ jpeg2k ]
  `-- app-text/aspell-0.50.5-r4 [ spell ]
 `-- x11-libs/startup-notification-0.8
[ app-office/openoffice-2.0.1 stats: packages (159), max depth (21) ]

Emerge --info:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/"
LANG="pt_PT@euro"
LINGUAS="pt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.gil.di.uminho.pt/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdda cdr crypt cups curl dbus dts eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer hal idn imagemagick imlib java jpeg kde lcms libcaca libg++ libwww mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sdl speex spell sse ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xv xvid zlib linguas_pt userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-28 08:05:15 UTC
Can't reproduce this, works fine here (both with kde and gnome file selectors). In the file type selection, are the Open Document-Formats listed? Also you could try to delete (or move) your user install dir, redo it (just start again) and see if that helps.
Comment 2 nunogt 2006-01-28 10:07:02 UTC
Hi, thanks for replying. Yes, all the possible document formats are listed, including the old OpenOffice format (.sxw, .stw). I took a screenshot of the Save As dialog (translated to "Gravar Como" in pt_PT) and uploaded it to imageshack: http://img208.imageshack.us/my.php?image=oowriter8ka.png [imageshack.us]. 
From my experience, it seems to save *only* if the format is not absolutelly compatible with openoffice and after displaying a warning notifying the user he might lose his formatting if he proceeds.
Eg.: 

Case 1) Saving in .odt .ott .swx .stw -> No formatting warning -> Save failure

Case 2) Saving in .doc .rtf .pbd -> Formatting warning -> Save successful

I've also uploaded a screenshot of the mentioned warning: http://img374.imageshack.us/my.php?image=oowarning0yu.png

If I click "No" in the warning, it won't save either. The Save As dialog reappears again.

I'm not sure what you mean by moving my user install dir. Are you referring to my home dir?

Thanks again.

(In reply to comment #1)
> Can't reproduce this, works fine here (both with kde and gnome file selectors).
> In the file type selection, are the Open Document-Formats listed? Also you
> could try to delete (or move) your user install dir, redo it (just start again)
> and see if that helps.
> 

Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-28 10:40:31 UTC
(In reply to comment #2)
> Hi, thanks for replying. Yes, all the possible document formats are listed,
> including the old OpenOffice format (.sxw, .stw). I took a screenshot of the
> Save As dialog (translated to "Gravar Como" in pt_PT) and uploaded it to
> imageshack: http://img208.imageshack.us/my.php?image=oowriter8ka.png
> [imageshack.us].

Looks like they are there, the only noteworthy thing I can see here, is that the description for the OpenDocument-file-types are missing, but maybe they are just not translated into Portuguese. Also I wonder why your OOo interface is not translated, it should be according to your LINGUAS-setting.

> I've also uploaded a screenshot of the mentioned warning:
> http://img374.imageshack.us/my.php?image=oowarning0yu.png

That's the expected behaviour when saving in non-native file formats.

> I'm not sure what you mean by moving my user install dir. Are you referring to
> my home dir?

When started the first time, OOo creates a user install-dir (~/.ooo-2.0) in your home-directory You could try to delete or move this dir away, so that you get a "fresh" user install the next time you start OOo.
Comment 4 nunogt 2006-01-28 11:15:27 UTC

(In reply to comment #3)
> Looks like they are there, the only noteworthy thing I can see here, is that
> the description for the OpenDocument-file-types are missing, but maybe they are
> just not translated into Portuguese. Also I wonder why your OOo interface is
> not translated, it should be according to your LINGUAS-setting.
> 

About that.. I believe it's because there's yet no official translation for the 2.x series of openoffice for my native language. The only translated strings are probably the ones that didn't change from the 1.9 series which were fully translated. Just guessing, though.

> When started the first time, OOo creates a user install-dir (~/.ooo-2.0) in
> your home-directory You could try to delete or move this dir away, so that you
> get a "fresh" user install the next time you start OOo.
> 

Ok, just did that. I moved the hidden folder .ooo-2.0 in my home dir to the Trash and then started OOo. It forgot some settings I setup previously, so I assume it worked, and it's still unable to save. This is a multi-user environment, and this behaviour also happens in other accounts. It was my girlfriend in her account who find out, actually.

Maybe this is a bug in the source code of OOo itself?
Comment 5 nunogt 2006-01-28 11:30:43 UTC
Minor correction to the previous post:
The fully translated version of OOo for pt_PT is actually 1.1.3, and not the 1.9 series.
Comment 6 nunogt 2006-01-28 15:21:25 UTC
Further development in the following thread http://forums.gentoo.org/viewtopic-p-3065008.html has led me to recompile openoffice without the LINGUAS flag. Once it's done, I'll report here.
Comment 7 nunogt 2006-01-29 03:56:28 UTC
Problem solved. LINGUAS="pt" was causing the problem.
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-29 04:13:19 UTC
I've removed pt from the supported languages now, so we can close this. Thanks for testing!