0035:err:ole:CoGetContextToken apartment not initialised

Questions about Wine on Linux
Locked
cjmsousa
Newbie
Newbie
Posts: 1
Joined: Wed Jun 06, 2018 4:11 am

0035:err:ole:CoGetContextToken apartment not initialised

Post by cjmsousa »

I'm trying to run OutSystems Development Environment in Ubuntu 18.04 LTS.

This is what I didi so far:

Enable support for 32 bits architecture:

Code: Select all

 sudo dpkg --add-architecture i386 

Install Wine:

Code: Select all

    rm Release.key
    wget -nc https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
    sudo apt-get update
    sudo apt-get install --install-recommends wine-stable
 

Build a 32 bits wine prefix:

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/$USER/.wine32 winecfg
Enable support for extracting Microsoft Cabinet Files:

Code: Select all

sudo apt-get install cabextract
Install dotnet462 using winetricks:

Code: Select all

    wget raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O winetricks && chmod +x winetricks && sudo mv winetricks /usr/bin
    sudo sed -i 's/WINEDLLOVERRIDES=fusion=b "$WINE" "$file_package" ${W_OPT_UNATTENDED:+$unattended_args}/WINEDLLOVERRIDES=fusion=b "$WINE" "$file_package" \/sfxlang:1027 ${W_OPT_UNATTENDED:+$unattended_args}/g' '/usr/bin/winetricks'
    WINEPREFIX="$HOME/wine32" WINEARCH=win32 winetricks -q dotnet462
Install Microsoft C++ 2012 Rutime Libs, using winetricks:

Code: Select all

 WINEPREFIX="$HOME/wine32" WINEARCH=win32 winetricks vcrun2012
Install the application using wine:

Code: Select all

 #WINEPREFIX="$HOME/wine32" WINEARCH=win32 wine DevelopmentEnvironment-10.0.822.0.exe
Run installed application:

Code: Select all

WINEPREFIX="$HOME/wine32" WINEARCH=win32 WINEDEBUG=warn+all wine ~/wine32/drive_c/Program\ Files/OutSystems/Development\ Environment\ 10.0/Service\ Studio/ServiceStudio.exe
When running I can see the app splash screen and nothing else:

Here's the output:

Code: Select all

    0035:err:ole:CoGetContextToken apartment not initialised
    0009:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
    0009:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
    0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    [0606/100151:ERROR:network_change_notifier_win.cc(160)] WSALookupServiceBegin failed with: 8
    [0606/100151:ERROR:network_change_notifier_win.cc(160)] WSALookupServiceBegin failed with: 8
    0009:err:eventlog:ReportEventW L"Application: ServiceStudio.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n   at System.Environment.FailFast(System.String)\n   at MS.Internal.Invariant.F"...
Here (https://drive.google.com/file/d/1ZgY5UD ... sp=sharing) is the full log when wine is ran with the full debug setting (`WINEDEBUG=warn+all`)

Have no idea how to start troubleshooting this one.

Can anyone help?

Thank you very much.

Carlos.
Locked