https://bugs.winehq.org/show_bug.cgi?id=31101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED URL|https://github.com/SubaruDi |https://codeload.github.com |eselCrew/ScoobyRom |/SubaruDieselCrew/ScoobyRom Summary|ScoobyRom fails to start |ScoobyRom v0.6.x-0.8.x |with Wine-Mono |(.NET 4.0 app) fails to |(mscoree:ConfigFileHandler_ |start with Wine-Mono |startElement: unknown | |elements) |
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
the 'ConfigFileHandler_startElement Unknown element L"add"' fixme/trace messages in console are benign and not the reason for the failure.
Content of 'ScoobyRom.exe.config':
--- snip --- <?xml version="1.0" encoding="utf-8"?> <!-- Use Windows/DOS "End of Line" here for bad editors like Windows notepad ... --> <configuration> <appSettings> <!-- gnuplot launcher/executable name/path, specific to operating system. Only the matching entry for the currently running OS is needed at runtime. gnuplot_<platform-ID> --> <add key="gnuplot_Unix" value="gnuplot"/> <add key="gnuplot_MacOSX" value="gnuplot"/> <!-- Microsoft Windows: usually full path of gnuplot.exe is needed here: Tested: Windows 8.1 x64 + gnuplot 5.0.1 x64 (gp501-win64-mingw.exe) using default install path: "C:\Program Files\gnuplot\bin\gnuplot.exe" --> <add key="gnuplot_Win32NT" value="C:\Program Files\gnuplot\bin\gnuplot.exe"/>
<!-- Whether to display icons by default. "True" or "False". --> <add key="iconsOnByDefault" value="True"/>
<!--- icon size, 64 x 48 by default if not specified --> <add key="iconWidth" value="64"/> <add key="iconHeight" value="48"/> </appSettings> </configuration> --- snip ---
Nifty one-liner to dump .NET metadata header (showing CLR version etc.):
--- snip --- $ pwd /home/focht/Downloads/ScoobyRom-0.7.0
$ find . -type f ( -iname "*.dll" -or -iname "*.exe" ) | xargs -i file {} | grep assembly | cut -f1 -d: | xargs -IX sh -c "echo "X" && (hexdump -C "X" | grep BSJB -B0 -C2)" ./LibScoobyRom.dll 000034d0 8c b5 4e 44 b2 02 ba 18 79 57 b4 b4 42 53 4a 42 |..ND....yW..BSJB| 000034e0 01 00 01 00 00 00 00 00 0c 00 00 00 76 34 2e 30 |............v4.0| 000034f0 2e 33 30 33 31 39 00 00 00 00 05 00 6c 00 00 00 |.30319......l...| ./Florence.dll 000123e0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 000123f0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 00012400 6c 00 00 00 cc ac 00 00 23 7e 00 00 38 ad 00 00 |l.......#~..8...| ./ScoobyRom.exe 00014730 45 4e 44 ae 42 60 82 00 42 53 4a 42 01 00 01 00 |END.B`..BSJB....| 00014740 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00014750 31 39 00 00 00 00 05 00 6c 00 00 00 18 4a 00 00 |19......l....J..| --- snip ---
--- snip --- $ wine ./ScoobyRom.exe 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies. File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' --- snip ---
It needs GTK# for .NET prerequisite to run Gtk#-based applications:
https://github.com/SubaruDieselCrew/ScoobyRom/blob/master/ScoobyRom/README.m...
http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.26.msi
After satisfying the dependency:
--- snip --- $ wine ./ScoobyRom.exe 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6 003e:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\windows\system32\tzres.dll", (null), 0x34ec18, 0x15c950, 0x34ec1c, 0x34ec10 003e:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\windows\system32\tzres.dll", (null), 0x34ec18, 0x15cb68, 0x34ec1c, 0x34ec10
Unhandled Exception: Florence.FlorenceException: Error: Arial font is not installed on this system at Florence.PlotSurface2D.Init () [0x00065] in <a516b78509ae415684c7295b6685646c>:0 at Florence.PlotSurface2D..ctor () [0x00024] in <a516b78509ae415684c7295b6685646c>:0 at Florence.InteractivePlotSurface2D..ctor () [0x0000b] in <a516b78509ae415684c7295b6685646c>:0 at MainWindow..ctor (System.String[] args) [0x0000b] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 at ScoobyRom.MainClass.Main (System.String[] args) [0x00063] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 [ERROR] FATAL UNHANDLED EXCEPTION: Florence.FlorenceException: Error: Arial font is not installed on this system at Florence.PlotSurface2D.Init () [0x00065] in <a516b78509ae415684c7295b6685646c>:0 at Florence.PlotSurface2D..ctor () [0x00024] in <a516b78509ae415684c7295b6685646c>:0 at Florence.InteractivePlotSurface2D..ctor () [0x0000b] in <a516b78509ae415684c7295b6685646c>:0 at MainWindow..ctor (System.String[] args) [0x0000b] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 at ScoobyRom.MainClass.Main (System.String[] args) [0x00063] in <105279bdb6e84962a2b7fbe5e7a78b58>:0 --- snip ---
Bug 32342 -> 'winetricks -q arial'
With Arial font installed the app successfully starts and shows main user interface.
$ sha1sum ScoobyRom_0_7_0.zip 08fd6f5e58412a5ce88e373df78ceed4a3c02034 ScoobyRom_0_7_0.zip
$ du -sh ScoobyRom_0_7_0.zip 156K ScoobyRom_0_7_0.zip
$ wine --version wine-4.7
Regards