I dun goofed...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

I dun goofed...

Post by JoeTurte »

So. I was having problems with WineTricks, and after fudging around with settings and whatnot, re-downloading it, trying to run it from the Terminal...I decided to uninstall both Wine and WineTricks. So I opened up the "Ubuntu Software Center", found both wine and winetricks and hit "remove".

To my disappointment, it didn't actually remove it. (It seemed to "re-install' more than it did "remove"). After trying this again, I went into the Synaptic Package Manager, searched for wine and hit "Complete Removal". That did seem to work...but I noticed that there was still a ".wine" folder in my home folder. Seeing as I didn't need it anymore, I deleted it.

Now, I try to reinstall wine...which I can do...but nothing happens. When I open wine from the "Applications" menu...nothing runs. Nothing associated to wine runs. And all the programs that I deleted from the ".wine" folder still show up. (But I get an error message saying it can't be found or something...).

All I want right now is to have a clean re-install of the Wine software. Apparently after the "complete removal" some data was still left behind. (All the program names and their "would be" locations are an example). Except, I don't think this can be done automatically using the Synaptic Package Manager...so I'm assuming manual uninstall-ation is required.

I'm using Ubuntu 11.04. And would like to install the latest stable version of Wine without any problems. I previously had the unstable beta version. If you need more information, do not hesitate to ask. (whether it be a clarification of what I said or want, or more system information).

Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: I dun goofed...

Post by dimesio »

JoeTurte wrote: Now, I try to reinstall wine...which I can do...but nothing happens. When I open wine from the "Applications" menu...nothing runs. Nothing associated to wine runs. And all the programs that I deleted from the ".wine" folder still show up. (But I get an error message saying it can't be found or something...). !
Deleting ~/.wine doesn't delete menu items; you have to do that manually.
http://wiki.winehq.org/FAQ#head-8a17a13 ... aaf043d581
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

Thanks...that removed the unwanted deleted programs.
But I still can't get wine to work. When I click on an .exe file, it seems to start loading the program...then it "crashes" (well, more like window opens for 5 seconds then closes with no explanation).

And I can't access any of the winetricks / configure wine menus. They just won't open for me. :( Any help with these problems?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

JoeTurte wrote: And I can't access any of the winetricks / configure wine menus. They just won't open for me. :( Any help with these problems?
What happens when you run

Code: Select all

winecfg
from a terminal?
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

I get the message "wine: virtual memory exhausted".
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

JoeTurte wrote:I get the message "wine: virtual memory exhausted".
I haven't encountered that one before. Googling turned up two threads on the Ubuntu forum. Both are marked solved, but they have completely different solutions. Maybe one is applicable to you.

http://ubuntuforums.org/showthread.php?t=1627558
http://ubuntuforums.org/showthread.php?t=1757681
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

Well. I googled "wine: virtual memory exhausted" and that solved most of my problems. (Wine starts programs and I can open configure wine and winetricks)

But, I have yet to get WineTricks to work properly. When I open it, I get the normal screen. But when I click on an option, I get a screen with no options. Could you help me fix that problem?

The following is the screen that I see after choosing "Install and App"
http://oi55.tinypic.com/2qnuwyg.jpg
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

I dun goofed...

Post by dardack »

On Tue, Oct 4, 2011 at 10:38 PM, JoeTurte <[email protected]> wrote:
Well. I googled "wine: virtual memory exhausted" and that solved most of my problems. (Wine starts programs and I can open configure wine and winetricks)

But, I have yet to get WineTricks to work properly. When I open it, I get the normal screen. But when I click on an option, I get a screen with no options. Could you help me fix that problem?

The following is the screen that I see after choosing "Install and App"
http://oi55.tinypic.com/2qnuwyg.jpg





Which package do you want to install? Just open a terminal and do:

WINEPREFIX="path/to/wineprefix" ./winetricks <package to install>




--
Sincerely,

MacNean C. Tyrrell
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

@dimesio
Thank you for all your help thus far. And your threads were quite helpful, and it probably would've saved you the trouble of finding them if I had posted a few minutes sooner.

@dardack
Thank you. That method does work correctly, but it would still be nice to be able to use the nice GUI instead of having to do everything from command line for the rest of my use with winetricks. :p So any help in fixing that would be much appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

JoeTurte wrote:Well. I googled "wine: virtual memory exhausted" and that solved most of my problems. (Wine starts programs and I can open configure wine and winetricks)
What was the solution? (In case it comes up again.)
But, I have yet to get WineTricks to work properly. When I open it, I get the normal screen. But when I click on an option, I get a screen with no options.
I assume you're using the winetricks packaged by Ubuntu. Try downloading it directly from http://winetricks.org/winetricks.
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

To solve the problem, I went to System Setting>Users and Groups. Then I clicked on "Advanced Settings" and enabled "Use audio devices" and "Use virtualbox Virtualization solution". Then I made sure I was part of the audio group, logged out and back in again. Then I tried wine, and it loaded. So I was pleased with the results.

And I did download winetricks from the alternate source, and it comes up the same.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

JoeTurte wrote: And I did download winetricks from the alternate source, and it comes up the same.
Any messages in the terminal?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Please try
wget http://winetricks.org/winetricks
sh -x winetricks > winetricks.log 2>&1
and get the problem to happen, then email me the log.
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

@dimesio
It opens without any terminal messages. But when I click on "install app" or anything like that, I get the following message in the terminal:


.: 16677: progname=zenity;: not found
.: 16677: RGBA=on: not found
.: 16677: Can't open apps/*.vars

@DanKegel
By email, do you mean PM? Or do you want me to actually use email?
If you do want me to email you, I'm guess your email is the same as the one provided here: http://wiki.winehq.org/DanKegel. (And do you include the "SPAMFREE" part...? I would guess no...but you can never tell these days...)
John Drescher

I dun goofed...

Post by John Drescher »

@dimesio
It opens without any terminal messages. But when I click on "install app" or anything like that, I get the following message in the terminal:
How about running it from the terminal?

http://wiki.winehq.org/FAQ#get_log

John
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

JoeTurte wrote: .: 16677: progname=zenity;: not found
I think that's at least part of your problem. Winetricks uses zenity to display the menu. It can also use kdialog, but if you're not on KDE you wouldn't have that installed either. Try installing zenity.
JoeTurte
Level 1
Level 1
Posts: 8
Joined: Tue Oct 04, 2011 4:05 pm

Post by JoeTurte »

@dimesio
Yeah. That is the first thing I checked when I saw that error. But...I already have Zenity installed. (According to the Synaptic Package Manager, at least...)

@John Drescher (I know someone that has that name. xD)
...that's what I did. I ran "sh winetricks" from the terminal and winetricks opened normally. Then I clicked "install app" and that is when the terminal error messages occur.
Locked