Could not find Wine Gecko

Questions about Wine on Linux
Locked
boron
Newbie
Newbie
Posts: 3
Joined: Thu Feb 09, 2023 1:48 pm

Could not find Wine Gecko

Post by boron »

I am installed Wine on Ubuntu 22.04 from the WineHQ apt repository per the wiki.

It is running fine (I can bring up my target application of Inno Setup), but when I try to view the documentation pages inside the application, I get the following error:

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

I looked at the Wine Gecko wiki and it implied it should be automatically downloaded and installed, but since that didn't work I tried to manually install it. That doesn't seem to cut it either. I downloaded and put the files in

~/.cache/wine/wine-gecko-2.47.3-x86_64.msi
~/.cache/wine/wine-gecko-2.47.3-x86.msi

How do I see what might be preventing the installation of the gecko functionality?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Could not find Wine Gecko

Post by jkfloris »

You can try installing the msi files manually:

Code: Select all

cd ~/.cache/wine
wine start wine-gecko-2.47.3-x86_64.msi
wine start wine-gecko-2.47.3-x86.msi
Check if the installation was successful:

Code: Select all

wine uninstaller --list
boron
Newbie
Newbie
Posts: 3
Joined: Thu Feb 09, 2023 1:48 pm

Re: Could not find Wine Gecko

Post by boron »

I used the commands you suggested and it did say it was installed

Code: Select all

~/.cache/wine$ wine uninstaller --list
Inno Setup 6_is1|||Inno Setup version 6.2.1
{385A309C-577C-40FA-AE15-ECF13722993A}|||Wine Gecko (32-bit)
{64BD8B8C-E4E5-4D1C-BEC3-DEC014596249}|||Wine Gecko (64-bit)
Unfortunately when I actually run the application and try to look at the help pages I get:

Code: Select all

Could not find Wine Gecko. HTML rendering will be disabled.
0024:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
0024:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Could not find Wine Gecko

Post by jkfloris »

As a test, can you try running the built-in Internet Explorer?

Code: Select all

WINEDEBUG=+mshtml wine iexplore
boron
Newbie
Newbie
Posts: 3
Joined: Thu Feb 09, 2023 1:48 pm

Re: Could not find Wine Gecko

Post by boron »

Sorry, to come back at this so much later. It looks like it is having a similar problem with the built in iexplore. One interesting tidbit, is that it was looking for 2.47.2 but the wine-gecko I pulled down was 2.47.3.

Here is an excerpt from the debug information.

Code: Select all

0024:trace:mshtml:check_version L"Z:\\usr\\share\\wine\\wine\\gecko\\wine-gecko-2.47.2-x86" not found
0024:trace:mshtml:check_version L"Z:\\usr\\share\\wine\\wine\\gecko\\wine-gecko-2.47.2-x86" not found
0024:trace:mshtml:check_version L"Z:\\usr\\share\\wine\\gecko\\wine-gecko-2.47.2-x86" not found
0024:trace:mshtml:check_version L"Z:\\opt\\wine\\gecko\\wine-gecko-2.47.2-x86" not found
0024:trace:mshtml:install_wine_gecko starting L"C:\\windows\\system32\\control.exe appwiz.cpl install_gecko"
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Could not find Wine Gecko. HTML rendering will be disabled.
0024:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
I downloaded the 2.47.2 version and put it in ~/.wine/cache and iexplore and the help pages come up, but the font is some kind of crazy script font, that is essentially unreadable.

If that is some other problem than just Gecko, maybe I should make a new post. But here is what it looks like
wine-forum-font.png
Last edited by boron on Fri Feb 17, 2023 6:31 pm, edited 2 times in total.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Could not find Wine Gecko

Post by jkfloris »

Which Wine version do you use?
Wine-gecko 2.47.2 is used with Wine version 6.x through 7.12. Starting with 7.13, the gecko engine is updated to version 2.47.3.
I downloaded the 2.47.2 version and put it in ~/.wine/cache and iexplore and the help pages come up, but the font is some kind of crazy script font, that is essentially unreadable.
You can probably solve this by installing corefonts with winetricks.
boron
Newbie
Newbie
Posts: 3
Joined: Thu Feb 09, 2023 1:48 pm

Re: Could not find Wine Gecko

Post by boron »

I was using the wine version for Ubuntu 22.04 which apparently needs 2.47.2

Using winetricks to install corefonts did the trick for IExplore and Help

Thanks for your help!
Locked