"There is not enough memory or disk space to run Word"

Questions about Wine on Linux
Locked
RogerParkinson
Level 1
Level 1
Posts: 5
Joined: Tue Oct 21, 2014 9:53 pm

"There is not enough memory or disk space to run Word"

Post by RogerParkinson »

A while ago I installed MS Word 2000 on my old 32 bit Lubuntu machine (Dell Inspiron 9400 running Lubuntu 14.04.1). It ran just fine under wine 1.6.2.
Now I want to install it on 64 bit machine running the same version of Lubuntu (though the 64 bit variant).
The installer seems to run just fine and it puts the files into Program Files (x86) which seems right 'cos it is 32 bit Word.
When I run it I get:
"There is not enough memory or disk space to run Word"
I have about 50Gig spare disk so I guess it is the memory.

I tried re-installing it under a different prefix and WINEARCH=win32 but no difference.
Is there some memory setting I can fiddle with?
Current wine version is 1.6.2
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "There is not enough memory or disk space to run Word"

Post by dimesio »

If the wineprefix has a subdirectory named Program Files (x86), then it is not 32 bit. You need to set WINEARCH=win32 when creating the wineprefix, as the architecture cannot be changed after the wineprefix is created.

You should also upgrade Wine to the latest development release; 1.6.2 is old. If the problem persists in current Wine in a 32 bit wineprefix, post terminal output. http://wiki.winehq.org/FAQ#get_log
RogerParkinson
Level 1
Level 1
Posts: 5
Joined: Tue Oct 21, 2014 9:53 pm

Re: "There is not enough memory or disk space to run Word"

Post by RogerParkinson »

Quick reply. Thanks.

Okay already try the WINEARCH=win32 on 1.6, same issue.
I upgraded to 1.7 and tried both, ie with WINEARCH=win32 and also without.
Both gave the same result, ie the same message as before: "There is not enough memory or disk space to run Word"

The output from
WINEPREFIX="$HOME/.wine32" wine WINWORD.EXE &> log.txt

is quite short:
fixme:x11drv:X11DRV_GetDeviceCaps (0x30025): CAPS1 is unimplemented, will return 0
err:ole:CoFreeUnusedLibrariesEx apartment not initialised
The installer seems to run just fine, although it seems to freeze at the very end, ie doesn't come back to the term prompt, but the window closes. I didn't notice this yesterday.

Hopefully that's useful and thanks for any help
(FWIW I'm not a luddite wanting to run an old version of Word, I'm trying to convert Mrs to Linux, and minimising the change.
She's seen me use LibreOffice and it hasn't liked it yet)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "There is not enough memory or disk space to run Word"

Post by dimesio »

You may be running into https://bugs.winehq.org/show_bug.cgi?id=29706, though that bug is about drives with more than 1TB of free space, and you reported much less. You could try installing to a smaller partition.

One other thing I thought of: did you install mfc42 to the wineprefix before installing Office 2000? It's needed.
(FWIW I'm not a luddite wanting to run an old version of Word, I'm trying to convert Mrs to Linux, and minimising the change.
She's seen me use LibreOffice and it hasn't liked it yet)
Office 2007 & 2010 work much better in Wine than older versions.
RogerParkinson
Level 1
Level 1
Posts: 5
Joined: Tue Oct 21, 2014 9:53 pm

Re: "There is not enough memory or disk space to run Word"

Post by RogerParkinson »

I had not installed mfc42, so I did, but still the same error :(
This is still running on a win32 prefix, ie same one as before.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "There is not enough memory or disk space to run Word"

Post by dimesio »

Try setting the Windows version to Windows 98 in winecfg. That sometimes helps old apps that are confused by too much free space.
RogerParkinson
Level 1
Level 1
Posts: 5
Joined: Tue Oct 21, 2014 9:53 pm

Re: "There is not enough memory or disk space to run Word"

Post by RogerParkinson »

Try setting the Windows version to Windows 98 in winecfg. That sometimes helps old apps that are confused by too much free space.
Sounded a good idea too, but it gave me the same thing.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "There is not enough memory or disk space to run Word"

Post by dimesio »

When you retested with mfc42 present, did you retest the installer, or did you simply add the dll to your existing install? If you didn't retest installing with mfc42 present, you need to try that. The wineprefix needs to be 32 bit, and use current Wine (1.7.29).

If that's not it, I'm out of ideas.
RogerParkinson
Level 1
Level 1
Posts: 5
Joined: Tue Oct 21, 2014 9:53 pm

Re: "There is not enough memory or disk space to run Word"

Post by RogerParkinson »

dimesio wrote:When you retested with mfc42 present, did you retest the installer, or did you simply add the dll to your existing install? If you didn't retest installing with mfc42 present, you need to try that. The wineprefix needs to be 32 bit, and use current Wine (1.7.29).
I think you're right there. I wound everything back and started again. The latest binary is (at the moment) 1.7.28 so I installed that and used WINEARCH=win32 WINEPREFIX="$HOME/.wine" winecfg to setup my .wine to be 32bit.
I also set the windows version to win98 and installed mfc42.
But the MS Word Setup wouldn't run, it is Word 2000, so fair enough. Moved windows version to Win2000 and it ran okay then.
However when I run Word I still get the same 'There is not enough memory or disk space to run Word' error :-(
dimesio wrote:If that's not it, I'm out of ideas.
Fair enough. I appreciate the help.
Locked