https://bugs.winehq.org/show_bug.cgi?id=46867
Bug ID: 46867 Summary: frmAuth_Load System.IO.DirectoryNotFoundException Product: Wine Version: 4.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tntsos5@gmail.com Distribution: ---
Created attachment 63922 --> https://bugs.winehq.org/attachment.cgi?id=63922 Error Screen
Strucalc 9.0 installs but does not run.
See attachment for the actual error screen.
https://bugs.winehq.org/show_bug.cgi?id=46867
--- Comment #1 from tntsos5@gmail.com --- Created attachment 63923 --> https://bugs.winehq.org/attachment.cgi?id=63923 Terminal output
https://bugs.winehq.org/show_bug.cgi?id=46867
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
- Does this program have a free demo? the website says version 7.0 had a free trial but couldn`t find it
- It looks like a Mono bug to me, does it work with native .NET? (I don`t know what version it needs, maybe ``winetricks dotnet472`` has the greatest chance of success...)
thanks in advance for reporting back
https://bugs.winehq.org/show_bug.cgi?id=46867
--- Comment #3 from tntsos5@gmail.com --- That changed the error at least.
It now says "This application could not be started. You must enable the .NET Framework from the Windows Features dialog box (from Control Panel, choose Programs, Turn Windows features on or off).
Do you want to view information about this issue?
Yes No"
The link from "Yes" seems to imply that it is using a .NET version older than 4.0 (i.e. 3.5-). I'll try that and see what happens.
As far as the "Free Demo" goes, I have no clue. I'm trying to get it working for a relative, who bought it some time ago (I think the installation is a trial by default though).
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=46867
--- Comment #4 from tntsos5@gmail.com --- OK.
I removed the wine prefix, and then ran `winetricks dotnet35`, and then tried installing StruCalc again.
This time, it gave me the message "Microsoft .NET Framework 3.5 SP1 needs to be installed for this installation to continue."
So it looks like it needs `winetricks dotnet35sp1`.
I ran it, and now it launches. I'll go update the app page now with the workaround.
Thanks again.
https://bugs.winehq.org/show_bug.cgi?id=46867
Anthony Jagers noonetinone@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |noonetinone@gmail.com
--- Comment #5 from Anthony Jagers noonetinone@gmail.com --- If you have a fix, close the issue.
https://bugs.winehq.org/show_bug.cgi?id=46867
tntsos5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #6 from tntsos5@gmail.com --- Fixed with `winetricks dotnet35sp1`
https://bugs.winehq.org/show_bug.cgi?id=46867
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|frmAuth_Load |StruCalc 9.x/10.x fails to |System.IO.DirectoryNotFound |run with Wine-Mono, reports |Exception |'frmAuth_Load | |System.IO.DirectoryNotFound | |Exception' Component|-unknown |mscoree Ever confirmed|0 |1 Status|RESOLVED |REOPENED Keywords| |download Resolution|FIXED |--- Hardware|x86 |x86-64 CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20190320080509/https://sof | |tpedia-secure-download.com/ | |dl/142aad77193d67eef10e73e5 | |25215908/5c91f3e1/100224341 | |/software/science/StruCalc_ | |10_0_1_5_30.msi
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
using MS .NET Framework is not a fix, it's a workaround. There is still a bug with Wine-Mono which is part of Wine. Reopening and refining summary to give Wine-Mono folks a chance to fix this.
I found some external mirror site and created a snapshot via Internet archive:
https://web.archive.org/web/20190320080509/https://softpedia-secure-download...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/StruCalc for Windows/StruCalc 10.0
$ tree --charset=ANSI . |-- C1.C1Report.2.dll |-- C1.Win.C1Command.2.dll |-- C1.Win.C1Input.2.dll |-- C1.Win.C1Report.2.dll |-- C1.Win.C1Ribbon.2.dll |-- C1.Win.C1SuperTooltip.2.dll |-- DBEditor.MDB |-- mdnsNSP.dll |-- StruCalc.exe |-- StruCalc.exe.config `-- StruCalc.png
0 directories, 11 files
$ WINE_MONO_TRACE=program,assembly,wrapper wine ./StruCalc.exe >>log2.txt 2>&1 ... [00000009: 7.75512 5] ENTER: (wrapper managed-to-native) Interop/Kernel32:GetFileAttributesExPrivate (string,Interop/Kernel32/GET_FILEEX_INFO_LEVELS,Interop/Kernel32/WIN32_FILE_ATTRIBUTE_DATA&)([STRING:014B1448:C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config], 0, [BYREF:0033EE84], ) [00000009: 7.75513 6] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_marshal_string_to_utf16 (object)([STRING:014B1448:C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config], ) [00000009: 7.75515 6] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_marshal_string_to_utf16 (object)result=014B1454 [00000009: 7.75519 5] LEAVE: (wrapper managed-to-native) Interop/Kernel32:GetFileAttributesExPrivate (string,Interop/Kernel32/GET_FILEEX_INFO_LEVELS,Interop/Kernel32/WIN32_FILE_ATTRIBUTE_DATA&)result=18546688 [00000009: 7.75520 5] ENTER: (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:GetLastWin32Error ()() [00000009: 7.75521 5] LEAVE: (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:GetLastWin32Error ()result=3 ... [00000009:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\focht\Local Settings\Application Data\StruCalc, Inc.\mscorlib.dll_StrongName_19ee5950bd45ed6f08481c742b274caea6c96a0d\user.config". EXCEPTION: catch found at clause 0 of StruCalc.frmAuth:frmAuth_Load (object,System.EventArgs) --- snip ---
$ sha1sum StruCalc_10_0_1_5_30.msi a22f526c9c2a6f45e18bfe5bb2d964fffd533281 StruCalc_10_0_1_5_30.msi
$ du -sh StruCalc_10_0_1_5_30.msi 22M StruCalc_10_0_1_5_30.msi
$ wine --version wine-4.4-90-g42683dd159
Regards
https://bugs.winehq.org/show_bug.cgi?id=46867
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-6.11 and wine-mono 6.2.0.
`winetricks -q dotnet40` works around.
https://bugs.winehq.org/show_bug.cgi?id=46867
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com