Could not find Wine Gecko. HTML rendering will be disabled.

Questions about Wine on Linux
Locked
BETLOG
Level 2
Level 2
Posts: 11
Joined: Thu Jul 26, 2012 7:09 am

Could not find Wine Gecko. HTML rendering will be disabled.

Post by BETLOG »

I'm trying to get procon running, have had it working a year or two ago but now that I try to install it again it fails.

ie: it does not render the central elements of the window. (create account/ connect)

the error that always appears, and seems relevant is :
Could not find Wine Gecko. HTML rendering will be disabled.
The 32bit and 64bit bottle gives the same error.

Code: Select all

ln -s \
/media/user/steamdata/TOOLS/wine-gecko-2.47.2-x86_64.msi \
/media/user/steamdata/TOOLS/wine-gecko-2.47.2-x86.msi \
/media/user/steamdata/TOOLS/wine-mono-7.0.0-x86.msi \
/home/user/.cache/wine/

Code: Select all

rm -rf ~/.wine32
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wine wineboot
WINEPREFIX="$HOME/.wine32" wine msiexec /i wine-gecko-2.47.2-x86.msi
WINEPREFIX="$HOME/.wine32" wine msiexec /i wine-mono-7.0.0-x86.msi
WINEPREFIX="$HOME/.wine32" wine uninstaller

NOTE: I am installing mono and not a dotnet because it seems to be required (and dotnet does not satisfy this/stop the error - mono does):
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Code: Select all

WINEPREFIX=/home/user/.wine wine /media/user/steamdata/procon/PRoCon.exe
Could not find Wine Gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
Attachments
2021-12-19--23-21-20_betlogbeast_AddRemovePrograms.png
2021-12-19--23-07-49_betlogbeast_ProconFrostbite.png
2021-12-19--23-07-49_betlogbeast_ProconFrostbite.png (6.58 KiB) Viewed 20695 times
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Could not find Wine Gecko. HTML rendering will be disabled.

Post by jkfloris »

What wine version are you using and where did the wine version come from?
When creating a new wineprefix, wine-gecko and wine-mono are automatically installed if the msi files are in ~/.cache/wine. It should not be necessary to install them manually.
BETLOG
Level 2
Level 2
Posts: 11
Joined: Thu Jul 26, 2012 7:09 am

Re: Could not find Wine Gecko. HTML rendering will be disabled.

Post by BETLOG »

jkfloris wrote: Tue Dec 21, 2021 6:11 am wine version

Code: Select all

user@betlogbeast:~$ env WINEPREFIX=/home/user/.wine32 wine --version
wine-5.0 (Ubuntu 5.0-3ubuntu1)
Presumably from the kubuntu repos, but I'm not positive (on this machine).
jkfloris wrote: Tue Dec 21, 2021 6:11 am It should not be necessary to install them manually.
Not in my recent experience.

Code: Select all

user@betlogbeast:~$ ls -al /home/user/.cache/wine
total 20
drwxrwxr-x  2 user user 4096 Jan  2 14:30 .
drwxrwxr-x 39 user user 4096 Jan  2 13:43 ..
-rw-------  1 user user   81 Dec 19 17:24 .directory
lrwxrwxrwx  1 user user   66 Dec 19 17:29 NDP452-KB2901907-x86-x64-AllOS-ENU.exe -> /media/user/steamdata/TOOLS/NDP452-KB2901907-x86-x64-AllOS-ENU.exe
lrwxrwxrwx  1 user user   65 Dec 19 17:29 NDP47-KB3186497-x86-x64-AllOS-ENU.exe -> /media/user/steamdata/TOOLS/NDP47-KB3186497-x86-x64-AllOS-ENU.exe
lrwxrwxrwx  1 user user   56 Dec 19 17:29 wine-gecko-2.47.2-x86_64.msi -> /media/user/steamdata/TOOLS/wine-gecko-2.47.2-x86_64.msi
lrwxrwxrwx  1 user user   53 Dec 19 17:29 wine-gecko-2.47.2-x86.msi -> /media/user/steamdata/TOOLS/wine-gecko-2.47.2-x86.msi
lrwxrwxrwx  1 user user   51 Dec 19 17:29 wine-mono-7.0.0-x86.msi -> /media/user/steamdata/TOOLS/wine-mono-7.0.0-x86.msi

user@betlogbeast:~$ rm -rf ~/.wine32

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wine wineboot
wine: created the configuration directory '/home/user/.wine32'
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/user/.wine32" has been updated.

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine uninstaller
user@betlogbeast:~$ # SHOWS NO APPLICATIONS INSTALLED

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine msiexec /i wine-gecko-2.47.2-x86.msi
user@betlogbeast:~$ # SILENTLY FAILS, DESPITE DIRECTORY LISTING ABOVE

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine uninstaller
user@betlogbeast:~$ # STILL SHOWS NO APPLICATIONS INSTALLED

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine msiexec /i /media/user/steamdata/TOOLS/wine-gecko-2.47.2-x86.msi
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine uninstaller
user@betlogbeast:~$ # SHOWS WINE GEKO 32 BIT - INSTALLED

user@betlogbeast:~$ WINEPREFIX="$HOME/.wine32" wine wineboot -u
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/user/.wine32" has been updated.
BETLOG
Level 2
Level 2
Posts: 11
Joined: Thu Jul 26, 2012 7:09 am

Re: Could not find Wine Gecko. HTML rendering will be disabled.

Post by BETLOG »

jkfloris wrote: Tue Dec 21, 2021 6:11 am where did the wine version come from?
ok, notes are handy
# viewtopic.php?f=8&t=35423&p=133523&hili ... d.#p133523
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine32
BETLOG
Level 2
Level 2
Posts: 11
Joined: Thu Jul 26, 2012 7:09 am

Re: Could not find Wine Gecko. HTML rendering will be disabled.

Post by BETLOG »

Note that if I then add:

Code: Select all

WINEPREFIX="$HOME/.wine32" winetricks ie8
ie8 throws a fatal looking error but then proceeds to install anyway.

Code: Select all

env WINEPREFIX=/home/user/.wine32 wine /media/user/steamdata/procon/PRoCon.exe /q  2>&1 /dev/null
Procon then also correctly displays its' inner window elements
BETLOG
Level 2
Level 2
Posts: 11
Joined: Thu Jul 26, 2012 7:09 am

Re: Could not find Wine Gecko. HTML rendering will be disabled.

Post by BETLOG »

Damn it.
Turns out I was using mismatched versions of wine/gecko.
I could have sworn I got that right when i downloaded gecko. Evidently not.
Locked