I was able to reproduce it with this scaled-down document (I'm not
sending the original problem documents because they're unpublished
papers that shouldn't be available publicly yet). All documents work on
my other computer. I think the problem may be that for some reason
Ubuntu has created 1MB /tmp directory that has nothing to do with the
actual space on my hard drive. I'm trying unsuccessfully to get that
solved now.

But I think for the moment that the problem is not with LibreOffice
(although it may be nice to have a more specific error message, such as
that /tmp has no room on it, to help diagnose the problem, since
messages about lacking permission, file locking, and file corruption may
have nothing to do with the actual problem). I'll update if I get the
/tmp fixed and can determine whether that's the problem.

** Attachment added: "Problem document.odt"
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/960076/+attachment/2903197/+files/Problem%20document.odt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/960076

Title:
  LibreOffice saves my files, next time I attempt to open them it says
  they're corrupt

Status in “libreoffice” package in Ubuntu:
  Incomplete

Bug description:
  Last night I was working on several files, closed them, then attempted
  to reopen them and got a dialog saying:

  <<
  The file 'x.odt' is corrupt and therefore cannot be opened. LibreOffice can 
attempt to repair the file.

  The corrupt document could be the result of document manipulation or of 
structural document damage due to data transmission.
  ...
  Should LibreOffice repair the file?
  [Yes] [No]
  >>

  If I select "Yes," I get another dialog saying "The file 'x.odt' could
  not be repaired and therefore cannot be opened." I click "Ok" and
  another window appears saying "General Error."

  If I attempt to open the same file again, I get an error message
  saying:

  <<
  The document 'x.odt' is locked for editing by:

  Unknown User

  Open document read-only or open a copy of the document for editing.
  >>

  If I select either of these options, it goes back into the "The file .
  . . is corrupt. . . ."

  I can open the files just fine on AbiWord. I was also able to edit
  things in LibreOffice by opening them in AbiWord then copying them
  into an empty document in LibreOffice, but then when I saved, closed,
  and tried to open again I got the same problem.

  I also found that when I was trying to save these documents last
  night, it would tell me that (I didn't write this down so I'm
  constructing it from memory) it couldn't write the data due to
  insufficient user privileges and that it couldn't write some xml file.
  I tried to save in another folder and it worked without problems. Then
  I moved it from that folder into the original folder without problems.
  So there is no write permissions problem here. (I thought maybe this
  was because I was writing in an Ubuntu One synched folder, but this
  was only a problem some of the time and only with LibreOffice, not
  other programs.)

  I just upgraded to the new LibreOffice and am having the same
  problems. So I'm working with AbiWord for today and hoping I can open
  my files with LibreOffice eventually.

  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libreoffice 1:3.5.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
  Uname: Linux 3.2.0-19-generic i686
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: i386
  Date: Tue Mar 20 12:18:16 2012
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: Upgraded to precise on 2012-03-19 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/960076/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to