http://bugs.winehq.org/show_bug.cgi?id=30521
Bug #: 30521 Summary: Issue between JS and WMI Product: Wine Version: 1.5.2 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: fhajad@gmail.com Classification: Unclassified
When attempting to run an example Javascript that utilizes WMI, it produces error result. Did a new prefix and installed wmi and wsh57 via winetricks and get errors.
Attached is the example Javascript and the 2nd attachment is the error recieved when attempting to run it.
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #1 from CGross fhajad@gmail.com 2012-04-25 15:23:01 CDT --- Created attachment 39923 --> http://bugs.winehq.org/attachment.cgi?id=39923 Error example
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #2 from CGross fhajad@gmail.com 2012-04-25 15:24:51 CDT --- Created attachment 39924 --> http://bugs.winehq.org/attachment.cgi?id=39924 Example script
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2012-04-25 15:26:18 CDT --- WMI is not implemented, so you can't query it. It's not JS related.
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #4 from CGross fhajad@gmail.com 2012-04-25 15:31:17 CDT --- So under no circumstance currently WMI will not work? Is there plans for it to be added in the future?
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #5 from CGross fhajad@gmail.com 2012-04-25 20:17:55 CDT --- Judging by all I can find, there is no WMI support, but hopefully will be with the Summer of Code this year, correct?
If that is the case, please verify. Then this ticket may as well be closed until a further date.
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #6 from Austin English austinenglish@gmail.com 2012-04-25 23:26:48 CDT --- (In reply to comment #5)
Judging by all I can find, there is no WMI support, but hopefully will be with the Summer of Code this year, correct?
Not sure where you got that idea. The accepted applications are listed here: http://www.winehq.org/pipermail/wine-devel/2012-April/095288.html
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #7 from CGross fhajad@gmail.com 2012-04-25 23:29:33 CDT --- I got it from here: http://wiki.winehq.org/SummerOfCode
So sadly, looks like no fix in sight then.
http://bugs.winehq.org/show_bug.cgi?id=30521
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-06-23 07:25:13 CDT --- I guess you're using native jscript, right? Hans started to implement WMI recently so now there's a chance for that to work. I'm not sure how it's supposed to connect with GetObject() cause I'm clueless regarding jscript in general. But class it requests in your log apparently belongs to wbemdisp.dll, we don't even have this module currently.
So I think you should try with clean wineprefix first and open more bug reports for each problem you see.
https://bugs.winehq.org/show_bug.cgi?id=30521
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution|--- |DUPLICATE
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
the current WMI issue in example Javascript is covered by bug 35364 Resolving as dupe.
Javascript:
--- snip --- WScript.Echo("hello"); /* Translated from VB example at http://msdn.microsoft.com/en-us/library/windows/desktop/aa394373(v=vs.85).as... */ var obj = GetObject("winmgmts:root\CIMV2:Win32_Processor='cpu0'"); WScript.Echo("architecture is " + obj.Architecture); WScript.Echo("goodbye"); --- snip ---
Output:
--- snip --- ... fixme:wbemdisp:WinMGMTS_ParseDisplayName (0x13f5a8 L"winmgmts:root\CIMV2:Win32_Processor='cpu0'" 0x33ef70 0x33ef74) --- snip ---
Regards
*** This bug has been marked as a duplicate of bug 35364 ***
http://bugs.winehq.org/show_bug.cgi?id=30521
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.