Could not load wine-gecko. HTML rendering will be disabled.

Questions about Wine on Linux
Locked
rdorsch
Level 1
Level 1
Posts: 6
Joined: Sat Feb 21, 2015 4:58 pm

Could not load wine-gecko. HTML rendering will be disabled.

Post by rdorsch »

Hello,

I got the message

The explorer process failed to start.
Could not load wine-gecko. HTML rendering will be disabled.

on stdout.

I expected that wine ask to download gecko support, when the WINEPREFIX
directory is empty, but this did not happen (even after deleting and
recreating the directory).

In my current wine setup, an external application is called for redering (in my case konqueror). This does not work though for applications like sketchup, which get a location information from google maps.

I am using wine 1.7.37 on Debian jessie.

Any suggestion how I get HTML rendering working is appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by dimesio »

rdorsch wrote: I expected that wine ask to download gecko support, when the WINEPREFIX
directory is empty, but this did not happen (even after deleting and
recreating the directory).
Are you creating the directory manually, then trying to turn it into a wineprefix? That won't work. You need to let Wine create the directory.
rdorsch
Level 1
Level 1
Posts: 6
Joined: Sat Feb 21, 2015 4:58 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by rdorsch »

Hmm....even if I do not create the directory myself, wine will not query for downloading and installing wine-gecko:

Code: Select all

rd@blackbox:~$ rm -rf ~/.wineSketchup/
rd@blackbox:~$ winecfg-development 
wine: created the configuration directory '/home/rd/.wineSketchup'
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/rd/.wineSketchup' has been updated.
rd@blackbox:~$  wine-development ~/Downloads/SketchUpMake-en.exe 
rd@blackbox:~$ 
It does not make a difference if I run winecfg or if I do not run it.

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

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by dimesio »

Code: Select all

rd@blackbox:~$ winecfg-development 
Where did you get Wine from? The normal command is simply winecfg.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by spoon0042 »

Are you using the debian packages? For whatever reason the maintainer has patched out downloading gecko. If so you'll need to get gecko here and put it in /usr/share/wine-development/gecko (and similarly for mono if you need that).
rdorsch
Level 1
Level 1
Posts: 6
Joined: Sat Feb 21, 2015 4:58 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by rdorsch »

Yes, I am using the Debian packages, the -development suffix indicates that it is the unstable (1.7.x version of wine).

To me it seems that Debian tries to provide the gecko msi files through the package management files:

Code: Select all

rd@netcup:~$ apt-file search wine_gecko
libwine-gecko-2.21: /usr/share/wine-gecko/wine_gecko-2.21-x86.msi
libwine-gecko-2.21: /usr/share/wine-gecko/wine_gecko-2.21-x86_64.msi
libwine-gecko-2.24: /usr/share/wine-gecko/wine_gecko-2.24-x86.msi
libwine-gecko-2.24: /usr/share/wine-gecko/wine_gecko-2.24-x86_64.msi
libwine-gecko-dbg-2.21: /usr/share/wine-gecko/wine_gecko-2.21-x86-dbg.tar.bz2
libwine-gecko-dbg-2.24: /usr/share/wine-gecko/wine_gecko-2.24-x86-dbg.tar.bz2
wine64: /usr/share/wine/gecko/wine_gecko-2.21-x86_64.msi
wine64-development: /usr/share/wine-development/gecko/wine_gecko-2.24-x86_64.msi
rd@netcup:~$ 
Though 2.34 is missing.... I try to reach out to the Debian wine maintainers.
rdorsch
Level 1
Level 1
Posts: 6
Joined: Sat Feb 21, 2015 4:58 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by rdorsch »

Even after downloading wine-gecko manually, the problem persists:

Code: Select all

blackbox:~# mv /home/rd/tmp.nobackup/wine_gecko-2.34-x86.msi /usr/share/wine-gecko/
blackbox:~# cd /usr/share/wine/gecko/
blackbox:/usr/share/wine/gecko# ln -s ../../wine-gecko/wine_gecko-2.34-x86.msi .
blackbox:/usr/share/wine/gecko# Abgemeldet
rd@blackbox:~/tmp.nobackup$ sketchup 
wine: Call from 0x7b83a26c to unimplemented function mscoree.dll.CorIsLatestSvc, aborting
wine: Unimplemented function mscoree.dll.CorIsLatestSvc called at address 0x7b83a26c (thread 001a), starting debugger...
Application tried to create a window, but no driver could be loaded.
The explorer process failed to start.

Intrinsic Alchemy v3.7 Beta-0403 (Dynamic/Release)
Built by <unknown> on Thu Apr 3 00:00:00 2014

Could not load wine-gecko. HTML rendering will be disabled.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by dimesio »

rdorsch wrote:Yes, I am using the Debian packages, the -development suffix indicates that it is the unstable (1.7.x version of wine).
Even in the development branch, the command should be simply winecfg, no suffix. And gecko is a required part of Wine, so if it has been patched out, your build is broken. Contact the package maintainer.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by spoon0042 »

rdorsch wrote:Even after downloading wine-gecko manually, the problem persists:
It only looks in /usr/share/wine-development/gecko/ so you need to either move or link there as well. Then I think you need to either recreate the wineprefix or I think you can run the installer manually and have it work. (Something like wine-development msiexec /i whatever.msi)

And yeah, all the programs are suffixed like that and the more recent wine-geckos aren't packaged. If you have any further problems you should probably yell at the debian maintainer first.
rdorsch
Level 1
Level 1
Posts: 6
Joined: Sat Feb 21, 2015 4:58 pm

Re: Could not load wine-gecko. HTML rendering will be disabl

Post by rdorsch »

Thank you for your reply. Copying the msi into /usr/share/wine-development/gecko/ did not help, but the manual installation worked.

wine-development msiexec /i whatever.msi

I can run iexplore.exe now and it nicely opens and loads the winehq.org homepage.

If I run sketchup though, I get

Application tried to create a window, but no driver could be loaded.
The explorer process failed to start.

and konqueror (my default browser) opens the page. That does not help though, since when I select a location, it does not know what to do with a skp:/ URL.

Does anybody understand why the explorer process fails when called from within sketchup?

Thanks
Rainer
Locked