Trying to get EDIS local to run under Wine
Trying to get EDIS local to run under Wine
Hi, I'm new to Linux and even newer to WIne so please be kind!
I have a small program caled EDIS that I use for work that I'm trying to run under Linux. I think it's basically a front end for a mdb database running with dotnet.
So far I have got it running by following the various web guides to get dotnet etc. installed, but there is one feature where it produces a 'report' from the database that crashes every time.
I has a dll called FastReport.dll that is mentioned in the first line of the windows JIT dubugging report, but I can't read any further down as the WIne crash handler appears over the top pretty much straight after.
Using this as a clue I have tried:
WINEDLLOVERRIDES="FastReport=n;FastReport.Editor=n" wine "c:\Program Files\EDIS Local\EDIS.exe"
To try and get Wine to use it's own dll, but no improvement, and I don'tknow where to look next.
Attached is a backtrace file and the terminal output. Hope someone can shed some light on the next step.
I have a small program caled EDIS that I use for work that I'm trying to run under Linux. I think it's basically a front end for a mdb database running with dotnet.
So far I have got it running by following the various web guides to get dotnet etc. installed, but there is one feature where it produces a 'report' from the database that crashes every time.
I has a dll called FastReport.dll that is mentioned in the first line of the windows JIT dubugging report, but I can't read any further down as the WIne crash handler appears over the top pretty much straight after.
Using this as a clue I have tried:
WINEDLLOVERRIDES="FastReport=n;FastReport.Editor=n" wine "c:\Program Files\EDIS Local\EDIS.exe"
To try and get Wine to use it's own dll, but no improvement, and I don'tknow where to look next.
Attached is a backtrace file and the terminal output. Hope someone can shed some light on the next step.
Re: Trying to get EDIS local to run under Wine
You forgot to attach the backtrace and terminal output.
You didn't mention what Wine version you're using; if it's not the latest development release, upgrade.
You didn't mention what Wine version you're using; if it's not the latest development release, upgrade.
You are confused about how overrides work. Setting a dll to native tells Wine to use the Windows version, not the builtin version. If you want Wine to use its builtin dlls, you would set it to "b" not "n" in the command line. However, FastReport.dll is something installed by your app, and Wine does not have a builtin version of it, so setting it to builtin would just disable it.Using this as a clue I have tried:
WINEDLLOVERRIDES="FastReport=n;FastReport.Editor=n" wine "c:\Program Files\EDIS Local\EDIS.exe"
To try and get Wine to use it's own dll, but no improvement, and I don'tknow where to look next.
Re: Trying to get EDIS local to run under Wine
Sorry, didn't notice it refused the txt extension on the uploads. Not entirely sure how zipping works on Linux either so I hope the attached contains everything it's supposed to.
I downloaded and installed wine from the Ubuntu software manger last night, so presume it's the latest????
Understand your comment regarding dlls. I'd thought built in meant Wine attempted to use it's own, and native meant use the one supplied by the app, but see that this is wrong.
Let me know if the files help identify the problem, or if there's any other logs or info I can provide.
I downloaded and installed wine from the Ubuntu software manger last night, so presume it's the latest????
Understand your comment regarding dlls. I'd thought built in meant Wine attempted to use it's own, and native meant use the one supplied by the app, but see that this is wrong.
Let me know if the files help identify the problem, or if there's any other logs or info I can provide.
- Attachments
-
- backtrace.tar.gz
- (7.63 KiB) Downloaded 330 times
Re: Trying to get EDIS local to run under Wine
Not necessarily. Open a terminal and typefuzzweed wrote: I downloaded and installed wine from the Ubuntu software manger last night, so presume it's the latest????
Code: Select all
wine --version
That is what it means. Your original post said you were trying to get Wine to use its own dll, but the command you said you used would have set it to native. Perhaps that was just a typo.I'd thought built in meant Wine attempted to use it's own, and native meant use the one supplied by the app, but see that this is wrong.
That's the error message about FastReport. The obvious question is, are you sure your system has enough memory to run this app? (I suspect yes, but I have to ask.)Code: Select all
Unhandled Exception: System.TypeInitializationException: The type initializer for 'FastReport.Report' threw an exception. ---> System.OutOfMemoryException: Out of memory.
Does setting gdiplus to native make any difference?
Re: Trying to get EDIS local to run under Wine
One more thing: you said you installed dotnet. How exactly did you install it (should be with winetricks), and did you test the app at all with wine-mono before installing dotnet?
Re: Trying to get EDIS local to run under Wine
1) Have updated to wine 1.5 following these instrucitons http://www.winehq.org/download/ubuntu. Version reports correctly.
2) I think its fair to say I'm not really sure what I'm talking about when it comes to native dlls. Lets leave that to one side for now. Had a go, didn't work. Decided to ask for help.
3) The exe runs fine under win7 on the same machine so presume (?) memory limits aren't the problem. 2gig installed, although it's not a new or powerful laptop. Maybe Linux uses up more then windows????
4) Dotnet etc installed as follows.
sh winetricks mdac28
winetricks jet40
winetricks dotnet20
winetricks mono28
5) not sure how to test with wine mono rather than .net. As you can see I did install it following some web trawling, but couldn't really say if/how it's being used by wine.
6) Have entered this WINEDLLOVERRIDES="gdiplus=b" wine "c:\Program Files\EDIS Local\EDIS.exe"
7) Now EDIS isn't running at all. I previously had the main app running, but just crashed on the reporting page. Now:
wine "c:/Program Files/EDIS Local/EDIS.exe"fixme:thread:SetThreadStackGuarantee (0x32fc68): stub
fixme
URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme
URL_ParseUrl failed to parse L"System"
fixme
URL_ParseUrl failed to parse L"System.Drawing"
fixme:gdiplus:GdipGetFamilyName No support for handling of multiple languages!
fixme
URL_ParseUrl failed to parse L"EDIS.resources"
fixme
URL_ParseUrl failed to parse L"EDIS.resources"
fixme
URL_ParseUrl failed to parse L"DBUpdater"
fixme
URL_ParseUrl failed to parse L"System.Data"
fixme
URL_ParseUrl failed to parse L"Updater"
fixme
URL_ParseUrl failed to parse L"System.Transactions"
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-1AQiNy/pkcs11: No such file or directory
fixme:oledb:set_dbpropset unsupported property L"ole db services"
fixme
URL_ParseUrl failed to parse L"System.Data.resources"
fixme
URL_ParseUrl failed to parse L"System.Data.resources"
fixme:gdiplus:GdipCreateHalftonePalette stub
fixme
URL_ParseUrl failed to parse L"mscorlib.resources"
fixme
URL_ParseUrl failed to parse L"mscorlib.resources"
fixme:ole:Context_CC_ContextCallback (0x18af08/0x18af0c)->(0x79f277a5, 0x2b5cec4, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, (nil))
fixme:ole:Context_CC_ContextCallback (0x18af08/0x18af0c)->(0x79f277a5, 0x2b5ce58, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, (nil))
No error message available result code E_FAIL(0x80004005)
Thanks for the help so far. I appreciate its a pretty obscure program , so if it you run out of ideas that's fine, but happy to keep pluggin away if you think there's a fix.
2) I think its fair to say I'm not really sure what I'm talking about when it comes to native dlls. Lets leave that to one side for now. Had a go, didn't work. Decided to ask for help.
3) The exe runs fine under win7 on the same machine so presume (?) memory limits aren't the problem. 2gig installed, although it's not a new or powerful laptop. Maybe Linux uses up more then windows????
4) Dotnet etc installed as follows.
sh winetricks mdac28
winetricks jet40
winetricks dotnet20
winetricks mono28
5) not sure how to test with wine mono rather than .net. As you can see I did install it following some web trawling, but couldn't really say if/how it's being used by wine.
6) Have entered this WINEDLLOVERRIDES="gdiplus=b" wine "c:\Program Files\EDIS Local\EDIS.exe"
7) Now EDIS isn't running at all. I previously had the main app running, but just crashed on the reporting page. Now:
wine "c:/Program Files/EDIS Local/EDIS.exe"fixme:thread:SetThreadStackGuarantee (0x32fc68): stub
fixme
fixme
fixme
fixme:gdiplus:GdipGetFamilyName No support for handling of multiple languages!
fixme
fixme
fixme
fixme
fixme
fixme
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-1AQiNy/pkcs11: No such file or directory
fixme:oledb:set_dbpropset unsupported property L"ole db services"
fixme
fixme
fixme:gdiplus:GdipCreateHalftonePalette stub
fixme
fixme
fixme:ole:Context_CC_ContextCallback (0x18af08/0x18af0c)->(0x79f277a5, 0x2b5cec4, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, (nil))
fixme:ole:Context_CC_ContextCallback (0x18af08/0x18af0c)->(0x79f277a5, 0x2b5ce58, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, (nil))
No error message available result code E_FAIL(0x80004005)
Thanks for the help so far. I appreciate its a pretty obscure program , so if it you run out of ideas that's fine, but happy to keep pluggin away if you think there's a fix.
Re: Trying to get EDIS local to run under Wine
You should not install both mono and dotnet, and when testing mono, should use the wine-mono package from Ubuntu, not Windows mono installed with winetricks.fuzzweed wrote: 4) Dotnet etc installed as follows.
sh winetricks mdac28
winetricks jet40
winetricks dotnet20
winetricks mono28
That should be6) Have entered this WINEDLLOVERRIDES="gdiplus=b" wine "c:\Program Files\EDIS Local\EDIS.exe"
Code: Select all
WINEDLLOVERRIDES="gdiplus=n" wine "c:\Program Files\EDIS Local\EDIS.exe"
Re: Trying to get EDIS local to run under Wine
Thanks. I've got this far in trying again from scratch.
uninstall dotnet through wine gui
uninstall EDIS through wine gui
sudo apt-get remove wine1.5
sudo apt-get purge wine1.5
sudo apt-get remove winetricks
sudo apt-get purge winetricks
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
winetricks mono210
wine /home/jim/.wine/dosdevices/c:/EDISLocalV1.1_Setup.exe
However when the windows installer runs I get a pop up saying dotnet is not installed and would I like to download it now. How do I tell wine to use mono instead, as suggested?
uninstall dotnet through wine gui
uninstall EDIS through wine gui
sudo apt-get remove wine1.5
sudo apt-get purge wine1.5
sudo apt-get remove winetricks
sudo apt-get purge winetricks
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
winetricks mono210
wine /home/jim/.wine/dosdevices/c:/EDISLocalV1.1_Setup.exe
However when the windows installer runs I get a pop up saying dotnet is not installed and would I like to download it now. How do I tell wine to use mono instead, as suggested?
Re: Trying to get EDIS local to run under Wine
That is NOT what I asked you to do. What you need to do is:fuzzweed wrote:Thanks. I've got this far in trying again from scratch.
uninstall dotnet through wine gui
uninstall EDIS through wine gui
sudo apt-get remove wine1.5
sudo apt-get purge wine1.5
sudo apt-get remove winetricks
sudo apt-get purge winetricks
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
winetricks mono210
wine /home/jim/.wine/dosdevices/c:/EDISLocalV1.1_Setup.exe
However when the windows installer runs I get a pop up saying dotnet is not installed and would I like to download it now. How do I tell wine to use mono instead, as suggested?
1. Delete the wineprefix.
2. Install Ubuntu's wine-mono package. Do NOT install anything with winetricks.
3. Install your app.
4. Test it.
Re: Trying to get EDIS local to run under Wine
1)
cd $HOME
rm -rf .wine
2) It says it's already installed. (v.0.0.
3) Looks like it nearly installed but gives a gda-2 error this application will close from EDIS
wine "c:/Program Files/EDIS Local/EDIS.exe" gives the same error.
Not getting any thing from the terminal or wine to show you.
cd $HOME
rm -rf .wine
2) It says it's already installed. (v.0.0.

3) Looks like it nearly installed but gives a gda-2 error this application will close from EDIS
wine "c:/Program Files/EDIS Local/EDIS.exe" gives the same error.
Not getting any thing from the terminal or wine to show you.
Re: Trying to get EDIS local to run under Wine
fuzzweed wrote: 3) Looks like it nearly installed but gives a gda-2 error this application will close from EDIS
Googling "gda-2 error" turned up this: http://www.mono-project.com/OLE_DB.
You mentioned before that you had installed mdac28 and jet40; did you install them for this test? If not, do that, and see if there is any change. If that doesn't help, go ahead and install winetricks dotnet20. You don't need to uninstall wine-mono; winetricks dotnet20 should remove the registry entries for you.
Re: Trying to get EDIS local to run under Wine
I think I'm now exactly back where I started
EDIS runs, but the reporting section crashes.

- Attachments
-
- backtrace.txt.tar.gz
- (4.15 KiB) Downloaded 327 times
Re: Trying to get EDIS local to run under Wine
Yes, it's the same. File bugs for the two problems--one for the gda-2 error with wine-mono, and one for the crash with dotnet20.