Forums

POL starting the wrong wine

(I guess)

Auteur Réponses
cronotk Dimanche 21 Mars 2010 à 13:22
cronotkAnonymous

Hi!

I'm trying to run Morrowind. It worked well a few days ago, then I install a different version of wine through the "manage wine versions" dialog. Morrowind is set to version 1.1.16 because that one works best.
When it didn't start I noticed the following strange things in the POL debugger:

When not doing anything at all, the PATH already has a version of wine in it:
PlayOnLinux Console
-------------------

PlayOnLinux: ~/.PlayOnLinux > echo $PATH
/home/tim/.PlayOnLinux/WineVersions/1.1.39/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/bin:/usr/local/games/ioquake3:/home/tim/bin
PlayOnLinux: ~/.PlayOnLinux >
Is that all right? I thought the PATH should be set by the script?


Then after running the script directly there was the following output:
PlayOnLinux: ~/.PlayOnLinux > ./configurations/installed/The\\ Elder\\ Scrolls\\ 3\\ -\\ Morrowind 
wine client error:0: version mismatch 381/395.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
PlayOnLinux: ~/.PlayOnLinux >

I found that very strange, so I set the PATH from the script manually in the debugger and tested the versions:
PlayOnLinux: ~/.PlayOnLinux > PATH="/home/tim/.PlayOnLinux/WineVersions/1.1.16/usr/bin/:$PATH"
PlayOnLinux: ~/.PlayOnLinux > which wineserver
/home/tim/.PlayOnLinux/WineVersions/1.1.16/usr/bin//wineserver
PlayOnLinux: ~/.PlayOnLinux > which wine
/home/tim/.PlayOnLinux/WineVersions/1.1.16/usr/bin//wine
PlayOnLinux: ~/.PlayOnLinux > wineserver --version
Wine 1.1.16
PlayOnLinux: ~/.PlayOnLinux > wine --version
wine-1.1.39
PlayOnLinux: ~/.PlayOnLinux > 

As you can see the wrong version of wine is used, even though it selects the executable from the 1.1.16 branch. Then I changed the script to use wine with an absolute path:
/home/tim/.PlayOnLinux/WineVersions/1.1.16/usr/bin/wine "Morrowind Launcher.exe"  $@
wine client error:0: version mismatch 381/395.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

Huh?

I checked the version of that in bash:
tim@Lain:~ % cd /home/tim/.PlayOnLinux/WineVersions/1.1.16/usr/bin/
tim@Lain:1.1.16/usr/bin % ./wine --version
wine-1.1.16

So it seems that POL will use wine version 1.1.39 NO MATTER WHAT.
NSLW Lundi 22 Mars 2010 à 10:03
NSLW

Check what you've got under Settings->Environment->Default Wine version ....
cronotk Lundi 22 Mars 2010 à 10:25
cronotkAnonymous

It was 1.1.39...
I thought that version would be assigned when you install software manually - didn't expect that it forces the use of a specific version...
Bug in documentation or user interface ;o)

Anyway thanks, it works again now :)