[Bug 57410] New: Power BI Desktop x64 (Oct 2024) : Crash at Launch with a message box : Something wen wrong
https://bugs.winehq.org/show_bug.cgi?id=57410 Bug ID: 57410 Summary: Power BI Desktop x64 (Oct 2024) : Crash at Launch with a message box : Something wen wrong Product: Wine Version: 9.17 Hardware: arm OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: jernierdour(a)proton.me Created attachment 77395 --> https://bugs.winehq.org/attachment.cgi?id=77395 Log I successfully installed Power BI Desktop x64 v2.137.1102.0 date 28/10/2024. But when I try to launch it after install, a message box appears with title "Something went wrong" and text "Object reference not set to an instance of an object" I am on a Macbook pro (M1 pro) under Sequoia 15.1 To be sure my Wine 9.17 dev install works, I installed notepad++ 8.7.1 and I can launch it without any issue -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #1 from JD <jernierdour(a)proton.me> --- Created attachment 77396 --> https://bugs.winehq.org/attachment.cgi?id=77396 Message box -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 JD <jernierdour(a)proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Power BI Desktop x64 (Oct |Power BI Desktop x64 (Oct |2024) : Crash at Launch |2024) : Crash at Launch |with a message box : |with a message box : |Something wen wrong |Something went wrong -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 F H <francisco278herrera(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |francisco278herrera(a)gmail.c | |om --- Comment #2 from F H <francisco278herrera(a)gmail.com> --- Installing dotnet 4.7.2 using winetricks gets around this problem but the program will still fail to launch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #3 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #2)
Installing dotnet 4.7.2 using winetricks gets around this problem but the program will still fail to launch.
Installing dotnet 4.7.2, dotnet 8.0, gdiplus, gdiplus_winxp, vcrun2022, dxvk, dot net desktop 8.0, ucrt using winetricks and winbind using "sudo apt install winbind" makes the program produce only one error message instead of 2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree CC| |madewokherd(a)gmail.com --- Comment #4 from Esme Povirk <madewokherd(a)gmail.com> --- Can you get a log with WINE_MONO_TRACE=E:System.NullReferenceException ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #5 from F H <francisco278herrera(a)gmail.com> --- Created attachment 77538 --> https://bugs.winehq.org/attachment.cgi?id=77538 trace with /home/asdf/WINE_MONO_TRACE=E:System.NullReferenceException on a linux system running wine 9.22, ubuntu 24.04 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #6 from F H <francisco278herrera(a)gmail.com> --- (In reply to F H from comment #5)
Created attachment 77538 [details] trace with /home/asdf/WINE_MONO_TRACE=E:System.NullReferenceException on a linux system
running wine 9.22, ubuntu 24.04
in a clean wineprefix in an x86 system -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #7 from Esme Povirk <madewokherd(a)gmail.com> --- Is this the correct download page URL? https://www.microsoft.com/en-US/download/details.aspx?id=58494 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #8 from F H <francisco278herrera(a)gmail.com> --- (In reply to Esme Povirk from comment #7)
Is this the correct download page URL? https://www.microsoft.com/en-US/download/details.aspx?id=58494
Yes -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #9 from Esme Povirk <madewokherd(a)gmail.com> --- I think this is a marshaling bug. The application calls CoInternetGetSession like this: [DllImport("urlmon")] static extern int CoInternetGetSession(uint a,ref IInternetSession b,uint c); And it seems that IInternetSession variable is null afterwards. It doesn't appear to be possible for Wine's urlmon to set that to null and return 0, so I'm guessing that "ref IUnknown" stuff isn't marshaling correctly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://download.microsoft. | |com/download/8/8/0/880BCA75 | |-79DD-466A-927D-1ABF1F5454B | |0/PBIDesktopSetup_x64.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #10 from Esme Povirk <madewokherd(a)gmail.com> --- After hacking around that, I get this error: CLR: Managed code called FailFast, saying "mscorlib.resources couldn't be found! Large parts of the BCL won't work!" That's actually thrown by Mono code in referencesource. If I hack that out, I run into problems with the marshaling hack. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #11 from F H <francisco278herrera(a)gmail.com> --- Even if you do get it working with dotnet 4.7.2 the app when it fails to launch will show transparent error messages although I have not tried to install WebView2 from the Microsoft website which comes as a .cab file -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 Charlotte B <ppaanncchhoo507(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppaanncchhoo507(a)gmail.com --- Comment #12 from Charlotte B <ppaanncchhoo507(a)gmail.com> --- installing webview from here https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-error-launch... does not solve the transparent error message problem i followed a reddit thread on r/PowerBI titled "Power BI isn’t working, any idea?" i opened wine's regedit and went to HKEY_CURRENT_USER\Enviroment and created a value PBI_forceTracing and set it to 1, then went to /home/YOUR_USERNAME/.wine/drive_c/users/YOUR_USERNAME/AppData/Local/Microsoft/Power BI Desktop/Traces/ and opened the log which contained this: "Could not find Windows Runtime type 'Windows.Storage.StorageFile" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #13 from Charlotte B <ppaanncchhoo507(a)gmail.com> --- Created attachment 77936 --> https://bugs.winehq.org/attachment.cgi?id=77936 power bi desktop log with PBI_forceTracing set -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #14 from Charlotte B <ppaanncchhoo507(a)gmail.com> --- (In reply to Charlotte B from comment #12)
installing webview from here https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-error- launching-desktop does not solve the transparent error message problem
i followed a reddit thread on r/PowerBI titled "Power BI isn’t working, any idea?" i opened wine's regedit and went to HKEY_CURRENT_USER\Enviroment and created a value PBI_forceTracing and set it to 1, then went to
/home/YOUR_USERNAME/.wine/drive_c/users/YOUR_USERNAME/AppData/Local/ Microsoft/Power BI Desktop/Traces/ and opened the log which contained this:
"Could not find Windows Runtime type 'Windows.Storage.StorageFile"
i did it in an x86 system running ubuntu 24.04 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #15 from Charlotte B <ppaanncchhoo507(a)gmail.com> --- (In reply to Charlotte B from comment #12)
installing webview from here https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-error- launching-desktop does not solve the transparent error message problem
i followed a reddit thread on r/PowerBI titled "Power BI isn’t working, any idea?" i opened wine's regedit and went to HKEY_CURRENT_USER\Enviroment and created a value PBI_forceTracing and set it to 1, then went to
/home/YOUR_USERNAME/.wine/drive_c/users/YOUR_USERNAME/AppData/Local/ Microsoft/Power BI Desktop/Traces/ and opened the log which contained this:
"Could not find Windows Runtime type 'Windows.Storage.StorageFile"
before i tested it i had installed dot net 4.7.2 using winetricks -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57410 --- Comment #16 from Charlotte B <ppaanncchhoo507(a)gmail.com> --- It was hard to try to find the cause of the problem using WINEDEBUG because in some cases it doesn't use win32 calls and instead it uses winrt ones so the win32 calls in WINEDEBUG don't seem to make sense sometimes -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla