http://bugs.winehq.org/show_bug.cgi?id=13822
Summary: Excel 2002 can't save some random files. A "Disk full" error message appears. Product: Wine Version: 1.0-rc4 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: alexandre@linuxfr.eu
Created an attachment (id=13869) --> (http://bugs.winehq.org/attachment.cgi?id=13869) This file cannot be saved using wine 1.0rc4 on Ubuntu Hardy
Hi Wine,
First things first, here are some information about my system :
I'm using Ubuntu Hardy,
# wine --version wine-1.0-rc4
# uname -a Linux minimal 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686 GNU/Linux
I'm using "Microsoft Office 2002 (10.6501.6626) SP3".
I'm launching the software with the gnome launcher : `env WINEPREFIX="/home/user/.wine" wine "C:\Program Files\Microsoft Office\Office10\EXCEL.EXE"`
Here is the bug and how to reproduce it : 1) Launch Excel 2002 2) An error message appears once the software is loaded : "Erreur d'accès de fichier. La connexion réseau a peut-être été perdue." which can be loosely translated into "Error accessing the file. Network connection has perhaps been lost." 3) Ignore the error by clicking "Ok" 4) Open a specific file (I couldn't find some common stuff between the files that cannot be saved, even some highly complex files could be saved while some very simple couldn't) 5) Try to save the file 6) An error message appears : "Disk full" 7) Click "Ok" 8) Another error message appears : "Document not saved" ("Document non enregistré.") 9) That's it : _some_ documents are just impossible to save, which is a bit pointless :>
You'll find a file that can't be saved using wine-1.0-rc4 (the bug was also present is rc3). For the information, it's possible to open and save the same file with cxoffice 6.2.0-1.
One last thing : I have 13GB free on / and 167GB free on /home, the permissions are ok in every directories I tried to save the files in.
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #1 from Alexandre alexandre@linuxfr.eu 2008-06-10 05:38:41 --- Created an attachment (id=13870) --> (http://bugs.winehq.org/attachment.cgi?id=13870) Here are the 100 last lines of the output of "WINEDEBUG=+relay wine the_app.exe"
I could attach the full log (64MB of uncompressed text, 1,4MB compressed) if needed.
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-10 07:48:54 --- (In reply to comment #1)
Created an attachment (id=13870)
--> (http://bugs.winehq.org/attachment.cgi?id=13870) [details]
Here are the 100 last lines of the output of "WINEDEBUG=+relay wine the_app.exe"
How about attaching just a plain log no debug options? Also include exact command line with current work directory.
Which file system is this file on?
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #3 from Alexandre alexandre@linuxfr.eu 2008-06-10 09:44:40 --- The command line was : $ pwd /home/acid $ env WINEPREFIX="/home/acid/.wine" wine "C:\Program Files\Microsoft Office\Office10\EXCEL.EXE"
I just followed the guide (http://www.winehq.org/site/docs/wineusr-guide/bug-reporting) using the option WINEDEBUG=+relay for the previous log.
You'll find attached another log (without debug mode on).
The file system I'm trying to save on is "reiserfs", not ntfs (I'm already aware of the bug preventing from saving on ntfs partition).
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #4 from Alexandre alexandre@linuxfr.eu 2008-06-10 09:48:00 --- Created an attachment (id=13885) --> (http://bugs.winehq.org/attachment.cgi?id=13885) Log without debug option
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #5 from Alexandre alexandre@linuxfr.eu 2008-06-12 08:55:01 --- Excel 2003 is affected by the same bug as well.
http://bugs.winehq.org/show_bug.cgi?id=13822
Alexandre alexandre@linuxfr.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Excel 2002 can't save some |Excel 2002/2003 can't save |random files. A "Disk full" |some random files. A "Disk |error message appears. |full" error message appears. Version|1.0-rc4 |1.0.0
George Brower browerg@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Alexandre alexandre@linuxfr.eu 2008-06-18 07:34:34 --- The bug is also present in wine version rc5 and 1.0.0.
It's affecting Excel 2002 (named XP) and Excel 2003.
I've seen some other report of that bug on numerous forums, shouldn't that bug status changed ? (eg. : http://ubuntuforums.org/showthread.php?t=714887)
I'm not sure if the severity level is high enough, because without the saving option, the application is totally useless (except perhaps to just look at existing document without changing it..).
--- Comment #7 from George Brower browerg@verizon.net 2008-06-20 11:11:06 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=13822
George Brower browerg@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |browerg@verizon.net
--- Comment #8 from George Brower browerg@verizon.net 2008-06-20 11:15:24 --- I am running Ubuntu 8.04 and upgraded to wine-1.0 yesterday. I did not try to install Excel with the previous version (0.9 something).
After upgrading to wine 1.0, I installed MSO Excel 2003 and some shared components (not Word or any other apps) from a CD, activated it, and have the same problem.
I started Excel 2003 from the desktop: Wine > Programs > Microsoft Office > Microsoft Office Excel 2003
Excel opens normally
Opened a file from a USB memory stick, tried to save it under a different name, and got the same error.
Today I tried the fix Alexandre suggested on the Ubuntu forum (http://ubuntuforums.org/showthread.php?p=5210994). It worked, but I agree that it would be a PITA.
I have not attached logs, etc. because my experience is so similar to Alexandre's, but I can if it would help.
George
http://bugs.winehq.org/show_bug.cgi?id=13822
John Halubek jhalubek@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jhalubek@yahoo.com
--- Comment #9 from John Halubek jhalubek@yahoo.com 2008-07-12 10:56:38 --- I'm having the same problem with MS Excel 97 on Debian Etch (Wine 1.0 RC1) and Debian Lenny (Wine 1.0). Despite the fact that MS Excel complains that the "Disk is full," the problem has absolutely nothing to do with available storage space.
In my case, I can work around the problem (sometimes) by saving the spreadsheet as a "MS Excel 5.0/95 Workbook"
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #10 from John Halubek jhalubek@yahoo.com 2008-07-13 03:23:30 --- ======= ====== === Problem SOLVED !!! ======= ====== ===
Just to follow up on my earlier post ... I think I have found a way to overcome this bug. So far I have only tested it on Debian Lenny (my Debian Etch computer is at the office), but I'm fairly certain it will work on that computer too.
First, some background: I moved my ~/.wine/ directory to a different location (for backup). Next, I installed MS Office 97 into a fresh ~/.wine/ directory. That failed to solve the problem, so I deleted the whole ~/.wine/ directory and downgraded my version of Wine to 0.9.25 (the version in Debian Etch). Once again, I installed MS Office 97 (into the fresh ~/.wine/ directory). That still failed to solve the problem.
So once again, I deleted my ~/.wine/ directory. Next, I took an installation of IEs4Linux and copied the contents of the ~/.ies4linux/ie6/ directory into a fresh ~/.wine/ directory and installed MS Office 97 one more time. That _solved the problem_ !!!
To test my solution, I opened a few spreadsheets created by MS Excel 2003 (running on MS Windows XP), modified them and saved them with MS Excel 97 running in Wine 0.9.25 without any problems. Those tests included one 2.3 MB spreadsheet and I also reopened them and resaved them without any problems. Next, I upgraded my version of Wine to 1.0 (the version currently in Debian Lenny) and effortlessly opened, edited and saved the original MS Excel 2003 spreadsheets.
Lesson #1: Although we happened to discover this bug very recently, the fact that it also occurs in Wine 0.9.25 indicates that it has (in reality) been a problem for a very long time.
Lesson #2: The fact MS Excel can save files when installed into a ~/.wine/ directory with MS Internet Explorer 6 indicates that the bug is caused by a faulty replacement for one of Microsoft's own DLL files.
Why does MS Internet Explorer 6 solve the problem? MS Internet Explorer provides some of the most critical DLL files. (In fact, removing it from an installation of MS Windows will kill Redmond's operating system). So replacing some of Wine's DLLs with Microsoft's own DLLs provides the libraries MS Excel needs to properly save a file.
I hope this helps!
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #11 from Lei Zhang thestig@google.com 2008-07-15 17:31:59 --- Using native dlls is a workaround. You should figure out which native dll solves the problem, so we can narrow down where the bug lies and fix it in Wine.
http://bugs.winehq.org/show_bug.cgi?id=13822
Liam black1282@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |black1282@gmail.com
--- Comment #12 from Liam black1282@gmail.com 2008-09-10 09:58:44 --- This bug still exists in Office 2007, wine 1.1.4 no overrides and a clean wine install, the error message is similar to this one:
Microsoft Office Excel cannot access the file .... there are several possible reasons:
- The file name or path does not exist - The file is being used by another program - The workbook you are trying to save has the same name as a currently open workbook.
As the log is only two lines I will post it here:
fixme:storage:StgCreateStorageEx Stub: calling StgCreateDocfile, but ignoring pStgOptions and grfAttrs fixme:storage:StgCreateDocfile Storage share mode not implemented.
As an additional note John Halubeks solution didn't work.
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #13 from Liam black1282@gmail.com 2008-09-10 10:32:19 --- (In reply to comment #12)
This bug still exists in Office 2007, wine 1.1.4 no overrides and a clean wine install, the error message is similar to this one:
Microsoft Office Excel cannot access the file .... there are several possible reasons:
- The file name or path does not exist
- The file is being used by another program
- The workbook you are trying to save has the same name as a
currently open workbook.
As the log is only two lines I will post it here:
fixme:storage:StgCreateStorageEx Stub: calling StgCreateDocfile, but ignoring pStgOptions and grfAttrs fixme:storage:StgCreateDocfile Storage share mode not implemented.
As an additional note John Halubeks solution didn't work.
Sorry to double post but this does not happen with xlsx files, don't know if that sheds any more light on the issue.
http://bugs.winehq.org/show_bug.cgi?id=13822
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Excel 2002/2003 can't save |Excel 2002/2003/2007 can't |some random files. A "Disk |save some random files. A |full" error message appears.|"Disk full" error message | |appears.
http://bugs.winehq.org/show_bug.cgi?id=13822
dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #14 from dimesio@earthlink.net 2008-09-10 16:31:35 --- I can confirm the problem exists in Excel 2003 and 2007 in 1.1.4, openSUSE 10.3. As others have reported, Excel 2003 gives a "disk is full" error message, while Excel 2007 gives a message about being unable to access the file.
The problem is not random--it is limited to xls files saved by Open Office, then opened in Excel under Wine. It might be a good idea to change the bug summary to reflect this.
http://bugs.winehq.org/show_bug.cgi?id=13822
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Summary|Excel 2002/2003/2007 can't |Excel 2002/2003/2007 can't |save some random files. A |save over OpenOffice created |"Disk full" error message |files. A "Disk full" error |appears. |message appears.
--- Comment #15 from Austin English austinenglish@gmail.com 2008-09-13 15:52:19 --- Still present in git/Office 2007.
http://bugs.winehq.org/show_bug.cgi?id=13822
Alexandre alexandre@linuxfr.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.0.0 |1.1.4
http://bugs.winehq.org/show_bug.cgi?id=13822
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.4 |1.0.0
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-16 05:03:33 --- Please don't change an originally reported version.
http://bugs.winehq.org/show_bug.cgi?id=13822
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ole32
--- Comment #17 from Lei Zhang thestig@google.com 2008-09-17 21:38:44 --- As a workaround, run:
winetricks dcom98
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #18 from Jon Halle jon@jonhalle.com 2008-09-19 06:31:58 --- (In reply to comment #17) this workaround works for me (Ubuntu HH, wine 1.0.0-1ubuntu4, excel 2003)
http://bugs.winehq.org/show_bug.cgi?id=13822
dan sawyer dansawyer@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dansawyer@earthlink.net
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #19 from Mclaud2000 mclaud2000@tutopia.com 2008-12-23 23:39:33 --- Bug still present in wine 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=13822
Rodrigo Valenzuela rvalenzuela@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rvalenzuela@gmail.com
--- Comment #20 from Rodrigo Valenzuela rvalenzuela@gmail.com 2009-01-23 12:20:24 --- (In reply to comment #17)
As a workaround, run:
winetricks dcom98
What I was actually as follows: (Debian 5, wine-1.0.1 )
~/cabextract dcom98.exe ~/cp ole32.dll ~/.wine/drive_c/windows/system32
then I added WINEDLLOVERRIDES="ole32=n" in the command section in my desktop shortcut
if run from command line it goes like this: env WINEPREFIX="/home/user/.wine" WINEDLLOVERRIDES="ole32=n" wine "C:\Archivos de programa\Microsoft Office\OFFICE11\EXCEL.EXE"
OR
use the Wine Configuration and in teh library tab choose to use ole32 as native, it works for me.
http://bugs.winehq.org/show_bug.cgi?id=13822
Danila Sentiabov dsent.zen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dsent.zen@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13822
roysh913@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roysh913@hotmail.com
--- Comment #21 from roysh913@hotmail.com 2009-09-21 02:33:43 --- (In reply to comment #17)
As a workaround, run:
winetricks dcom98
works perfectly on ubuntu 8.04 hardy, wine 1.0.0-1ubuntu4~hardy1, office 2003
many thanks!
http://bugs.winehq.org/show_bug.cgi?id=13822
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #22 from Andrew Eikum aeikum@codeweavers.com 2009-10-06 12:54:08 --- I believe this is finally fixed by this commit in latest git:
commit 8672289c6e36ed88ae992d7616360e8ae1ce5158 Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Oct 5 16:13:55 2009 -0500
ole32: Use snbExclude in StorageImpl::CopyTo.
Please retest to confirm.
http://bugs.winehq.org/show_bug.cgi?id=13822
--- Comment #23 from Rosanne DiMesio dimesio@earthlink.net 2009-10-15 10:51:31 --- I tested the attached file in 1.1.31 in both Excel 2003 and 2007, and had no problem saving it. This bug appears to be fixed.
http://bugs.winehq.org/show_bug.cgi?id=13822
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Rob Shearman robertshearman@gmail.com 2009-11-08 17:14:19 --- Reported fixed, therefore closing.
http://bugs.winehq.org/show_bug.cgi?id=13822
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:00 --- Closing bugs fixed in 1.1.33.