New to Wine and trying to get Paprika Recipe Manager to wor

Questions about Wine on Linux
Locked
Smith_oo4
Level 1
Level 1
Posts: 6
Joined: Sat Mar 05, 2016 11:46 pm

New to Wine and trying to get Paprika Recipe Manager to wor

Post by Smith_oo4 »

Bear with me as this is my first attempt at using Wine and I am not quite sure I know what I am doing.

I am trying to get Paprika Recipe Manager (https://paprikaapp.com/windows/) to run under Wine on Linux. Side note I was not able to find this application in the AppDB on WineHQ.

I am testing this on a fresh install of Ubuntu 15.10 64bit in VirtualBox. I have installed Wine using the instructions on WineHQ (https://wiki.winehq.org/Ubuntu) and installed wine_geko and wine-mono when I was prompted to do so when creating a wineprefix.

I have run the Paprika.exe installer for the trial version and once I changed the “Windows Version” to “Window 7” it looks to have run correct. However when I try to lunch the application noting seems to happen. When I try and to lunch the application from a terminal I get the following output:

Code: Select all

fixme:mscoree:ConfigFileHandler_startElement Unknown element L"configSections" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"sectionGroup" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"section" in state 6
fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5" not implemented
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"entityFramework" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"providers" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"provider" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.data" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"DbProviderFactories" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"remove" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"connectionStrings" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"dependentAssembly" in state 0
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"assemblyIdentity" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"bindingRedirect" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"userSettings" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"Paprika.Properties.Settings" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"setting" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"value" in state 6
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
The entry point method could not be loaded
I am not quite sure what to make of this. Paprika requires .NET Framework 4.5 or later is this issue around this. I believe I have wine-mono installed which as I understand it should cover this. Is there a why to confirm wine-mono is installed? Should I try installing the try native .NET?

Thank you for your help
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Bob Wya »

@Smith_oo4

I had a crack by installing MS .NET Framework 4.5. Unsurprisingly the program still gives a segmentation fault. I think your application is probably a bit of lost cause to run under Wine (the newer .NET Frameworks are especially problematic)...

Sorry! :cry:

Bob
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by lahmbi5678 »

Still it might make sense to file a bug. It might not be resolved quickly, but sooner or later wine's support for .NET 4.5 will improve.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Bob Wya »

lahmbi5678 wrote:Still it might make sense to file a bug. It might not be resolved quickly, but sooner or later wine's support for .NET 4.5 will improve.
Definitely!! 8)
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by qwertymnb »

I`ve got the Paprika-demo app running here. I filed a bug and a wine-developer already made a fix for a crucial crash in windowscodecs: see https://bugs.winehq.org/show_bug.cgi?id=40273 When that fix makes it into main tree you should be able to get it running in a few minutes too.
Smith_oo4
Level 1
Level 1
Posts: 6
Joined: Sat Mar 05, 2016 11:46 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Smith_oo4 »

Thank you for filing the bug and to the project for coming up with a fix so fast. I have made a donation to the Wine project to show my appreciation.

I have a few questions which are probably dumb:

Is this fix to get this app working with wine-mono or the native .NET Framework 4.5? If it needs .NET Framework 4.5 can someone point me to so good info on how to install it? I am sure I can find it by googling but well I am here I thought I would ask.

When or how will I know that this fix made it into the main tree; i.e. when should I try to install again?
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by qwertymnb »

Hi
Is this fix to get this app working with wine-mono or the native .NET Framework 4.5?
The native .NET Framework 4.5
If it needs .NET Framework 4.5 can someone point me to so good info on how to install it?
Always use winetricks to install additional windowsstuff. The required command is ``winetricks dotnet45``

``When or how will I know that this fix made it into the main tree; i.e. when should I try to install again?``

It looks like this fix is already present in wine-staging https://github.com/wine-compholio/wine- ... 9e921d7634

So as far as i can tell your app should start now with latest wine-staging, after winetricks dotnet45, (in case you don`t know, wine-staging is kind of experimental wine /bleeding edge) For ``normal`` wine it could take a bit longer before fix gets in.
Regards
Smith_oo4
Level 1
Level 1
Posts: 6
Joined: Sat Mar 05, 2016 11:46 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Smith_oo4 »

I have installed wine-staging, .NET Framework (4.5 and tried 4.5.2) and the Paprika application. I am getting a little further as now when the application launches it opens a window and fill it. However Wine soon after gives an error and shuts it down. Attached is the backtrace.txt file the error gave.

Am I doing something wrong on the install or is this another bug?

I am testing this on a fresh install of Ubuntu 15.10 64bit in VirtualBox. Below are the steps I took for the install:

Code: Select all

sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging
mkdir tmp
cd tmp
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin
sudo apt-get install cabextract
WINEARCH=win32 WINEPREFIX=~/.win32 winetricks -q msxml3 dotnet452 corefonts
WINEARCH=win32 WINEPREFIX=~/.win32 winecfg
•	Change “Windows Version” to “Windows 7”
•	Keep everything else at default
•	Click OK
wget https://www.paprikaapp.com/downloads/windows/latest/PaprikaSetup.exe
WINEARCH=win32 WINEPREFIX=~/.win32 wine PaprikaSetup.exe
cd ~/
rm -R ~/tmp
Thank you for your help
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Bob Wya »

qwertymnb wrote: So as far as i can tell your app should start now with latest wine-staging, after winetricks dotnet45, (in case you don`t know, wine-staging is kind of experimental wine /bleeding edge) For ``normal`` wine it could take a bit longer before fix gets in.
Regards
The commit will be released in Wine Staging 1.9.6 (due any day now)...

However I had the application (Paprika Recipe Manager) still installed so I tested building Wine Staging Git @EGIT_COMMIT="8d7c66f500718f2e52816e77f8d685f891f9cc0c" just now...

The application still fails to run on my system... The backtrace I get is failing in my libnvidia-glcore.so.361.18 library.

I've the application installed in a 32-bit Wineprefix ...

Code: Select all

winetricks list-installed
corefonts
dotnet20sp1
dotnet20
dotnet30sp1
dotnet35
dotnet40
dotnet452
dotnet45
msxml3
vcrun2010
Not sure what's going wrong now!!

Code: Select all

~/.wine/drive_c/Program Files/Paprika Recipe Manager $  wine Paprika.exe &> Paprika_Recipe_Manager_console.log
Paprika_Recipe_Manager_console.log

I guess I'll file another bug report... Unless you've got any idea what could cause this problem??!!

Bob
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by qwertymnb »

System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F50
I got the same crash using native windowscodecs.dll. Make sure you set windowscodecs.dll to ``builtin`` in winecfg.

Regards
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: New to Wine and trying to get Paprika Recipe Manager to

Post by Bob Wya »

qwertymnb wrote:
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F50
I got the same crash using native windowscodecs.dll. Make sure you set windowscodecs.dll to ``builtin`` in winecfg.

Regards
Even manually setting windowscodecs & windowscodecsex to builtin makes no difference... ??!!

Bob
Locked