Jeef |
Samedi 25 Juillet 2020 à 15:25
|
Jeef
|
If you run PlayOnMac from the terminal, and try downloading a version of Wine, whilst it will fail you can then see the URL for downloading the relevant binaries. If you download the relevant .tar.gz file using any browser, expand the file and then move the folders to a correctly named folder in /Users/[USERNAME]/Library/PlayOnMac/wine/darwin-x86/ (or ...wine/darwin-amd64/ for the 64-bit versions) then it will work.
In my case, I was trying to install Steam from the PlayOnMac installer, and it was trying to create a new bottle using 32-bit wine 4.21. After downloading the file at http://www.playonmac.com/wine/binaries/phoenicis/upstream-darwin-x86/PlayOnLinux-wine-4.21-upstream-darwin-x86.tar.gz and expanding it, I copied the contents to/Users/[USERNAME]/Library/PlayOnMac/wine/darwin-x86/4.21/ and tried the PlayOnMac steam installer again.
With wine 4.21 in the correct folder it didn't need to download again, and created the new bottle and installed Steam. There are other issues with Steam (the dreaded Steam-on-wine black screen), but I will not drag this thread off topic with that discussion.
Basically you can workaround by using the terminal to reveal the correct wine binary URL and manually download it and move it into place to get PlayOnMac working until a new version comes out with a fix for whatever SHA-related issue seems to be causing the automatic downloader to fail.
|
vicpara |
Dimanche 26 Juillet 2020 à 17:41
|
vicpara
|
I've had the same problem. I'm currently running MacOs 10.11.6 and all application installation stop when trying to download the corresponding Wine version.
Having investigated how PlayOnMac/ PlayOnLinux works the issues I've found are on
/Applications/PlayOnMac.app/Contents/Resources/playonlinux/lib/wine.lib
1. Firstly WGET didn't exist on my machine and some replacement was being used. Make sure you install Wget.
2. When I manually select the Wine architecture to be amd64 the script automatically fills in `x86` in spite of $POL_ARCH being correctly detected. Line 690.
3. After selecting the corresponding wine distribution the script doesn't download the wine distribution .tar.gz file but yet it expects to compute the `shasum` . The file doesn't exist, thre's no client shasum and the script fails.
What I did is manually download the needed wine distribution and place it in the correct folder hierarchy . The list of available wine distributions can be retrieve here: https://phoenicis.playonlinux.com/index.php/wine?os=darwin . Manually pick the architecture and file from the long JSON file.
/Users/[USERNAME]/Library/PlayOnMac/wine/darwin-x86/
/Users/[USERNAME]/Library/PlayOnMac/wine/darwin-amd64/
ls /Users/[USERNAME]/Library/PlayOnMac/wine/darwin-*
darwin-amd64:
4.0.3 5.10
darwin-x86:
4.0.3
Now the instalation of the application succeeded. Hope this helps.
Edité par vicpara
|
TheSpyGorillas |
Samedi 1 Aoüt 2020 à 17:27
|
TheSpyGorillas
|
so what happened and how can we fix this?
|
Quentin PÂRIS |
Dimanche 2 Aoüt 2020 à 13:36
|
Quentin PÂRIS
|
@vicpara, This is very strange, wget should be included in PlayOnMac bundle. Can you confirm that "wget" command does not work inside PlayOnMac console?
|
mmoroz |
Dimanche 2 Aoüt 2020 à 14:39
|
mmoroz
|
I don't think the problem is with wget. I have wget, and still get the same issue. Here's a few log messages as I keep retrying:
[POL_Wine_PrefixCreate] Message: Creating prefix (1.7.11)...
[POL_Wine_PrefixCreate] Message: Prefix already exists
[POL_SetupWindow_menu] Message: menu answer: Erase (virtual drive content will be lost)
[POL_Wine_PrefixCreate] Message: Erase Prefix
[POL_Wine_PrefixCreate] Message: Using wine 1.7.11
[POL_Wine_InstallVersion] Message: Installing wine version path: 1.7.11, x86
[POL_Wine_InstallVersion] Message: Wine site: https://phoenicis.playonlinux.com/index.php/wine?os=darwin
wget --prefer-family=IPv4 -q --no-check-certificate https://phoenicis.playonlinux.com/index.php/wine?os=darwin -O-
[POL_Wine_InstallVersion] Message: Winebuild data: {
"version": "1.7.11",
"url": "http://www.playonmac.com/wine/binaries/phoenicis/upstream-darwin-x86/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz",
"sha1sum": "b6d0a0f3111e0465b9042743e00519a063da68ff",
"geckoFile": "wine_gecko-2.24-x86.msi",
"geckoUrl": "http://www.playonmac.com/wine/gecko/x86/wine_gecko-2.24-x86.msi",
"geckoMd5": "766bb034172f7f0a97443951a02a0df8",
"monoFile": "wine-mono-0.0.8.msi",
"monoUrl": "http://www.playonmac.com/wine/mono/wine-mono-0.0.8.msi",
"monoMd5": "a79eb547bcb562aea5c7096bc97fff11"
}
[POL_Wine_InstallVersion] Message: Wine address found: http://www.playonmac.com/wine/binaries/phoenicis/upstream-darwin-x86/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz
shasum: /Users/mmoroz/Library/PlayOnMac/tmp/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz:
Server sha1 : b6d0a0f3111e0465b9042743e00519a063da68ff
Client sha1 :
[POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
[POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.7.11
[POL_Wine_SetVersionEnv] Message: Wine 1.7.11 not installed. Installing it
[POL_Wine_InstallVersion] Message: Installing wine version path: 1.7.11, x86
[POL_Wine_InstallVersion] Message: Wine site: https://phoenicis.playonlinux.com/index.php/wine?os=darwin
wget --prefer-family=IPv4 -q --no-check-certificate https://phoenicis.playonlinux.com/index.php/wine?os=darwin -O-
[POL_Wine_InstallVersion] Message: Winebuild data: {
"version": "1.7.11",
"url": "http://www.playonmac.com/wine/binaries/phoenicis/upstream-darwin-x86/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz",
"sha1sum": "b6d0a0f3111e0465b9042743e00519a063da68ff",
"geckoFile": "wine_gecko-2.24-x86.msi",
"geckoUrl": "http://www.playonmac.com/wine/gecko/x86/wine_gecko-2.24-x86.msi",
"geckoMd5": "766bb034172f7f0a97443951a02a0df8",
"monoFile": "wine-mono-0.0.8.msi",
"monoUrl": "http://www.playonmac.com/wine/mono/wine-mono-0.0.8.msi",
"monoMd5": "a79eb547bcb562aea5c7096bc97fff11"
}
[POL_Wine_InstallVersion] Message: Wine address found: http://www.playonmac.com/wine/binaries/phoenicis/upstream-darwin-x86/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz
shasum: /Users/mmoroz/Library/PlayOnMac/tmp/PlayOnLinux-wine-1.7.11-upstream-darwin-x86.tar.gz:
Server sha1 : b6d0a0f3111e0465b9042743e00519a063da68ff
Client sha1 :
|
TheSpyGorillas |
Mardi 11 Aoüt 2020 à 3:23
|
TheSpyGorillas
|
so how can we fix the problem?
|
Edw |
Vendredi 18 September 2020 à 21:49
|
Edw
|
For the empty Client sha1 problem:
The line
POL_SetupWindow_download "$(eval_gettext "Downloading Wine: ")$pol_wineversion" "$TITLE" "$WINE_ADDRESS"
is missing in the wine.lib file @ Line 718 (you can compare your file with https://github.com/PlayOnLinux/POL-POM-4/blob/master/lib/wine.lib#L710)
Since nothing is downloaded, there is nothing for shasum to calculate.
For the cannot install amd64 problem:
you need to comment out the line 689
from:
[[ "$OSX_VERSION" -ge 19 ]] && site_arch="x86on64" || site_arch="x86"
to:
# [[ "$OSX_VERSION" -ge 19 ]] && site_arch="x86on64" || site_arch="x86"
or else the POL_Wine_InstallVersion function will try to download upstream-darwin-x86on64 instead of upstream-darwin-amd64
|
Zbynek A. |
Dimanche 3 Janvier 2021 à 20:17
|
Zbynek A.
|
When will it be fixed? Until the new version 4.4.2? When will it be released? Thanks
|
McGuyver |
Samedi 23 Janvier 2021 à 20:28
|
McGuyver
|
For the cannot install amd64 problem:
you need to comment out the line 689
from:
[[ "$OSX_VERSION" -ge 19 ]] && site_arch="x86on64" || site_arch="x86"
to:
# [[ "$OSX_VERSION" -ge 19 ]] && site_arch="x86on64" || site_arch="x86"
or else the POL_Wine_InstallVersion function will try to download upstream-darwin-x86on64 instead of upstream-darwin-amd64
Instead of commenting out the line I changed it to:
[[ "$OSX_VERSION" -ge 19 ]] && site_arch="amd64" || site_arch="x86"
With this change the download is performed correctly.
Edité par McGuyver
|
Quentin PÂRIS |
Dimanche 24 Janvier 2021 à 12:18
|
Quentin PÂRIS
|
Does this patch allow you to continue download x86on64 builds?
|
farzan |
Dimanche 1 Aoüt 2021 à 10:11
|
farzan
|
Hi,
Can you provide some screenshot to help debugging?
Thanks
|