http://bugs.winehq.org/show_bug.cgi?id=30212
Bug #: 30212 Summary: Multiple apps need Scripting.Directory implementation (Microsoft Scripting Runtime) Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
(Like bug 29344, but different class.)
The apps Polymath, Amos, FAA Safelog, Touhou Koumajou ~ Scarlet Symphony, and various autoit scripts from bug 22199, all abort after complaining err:ole:create_server class {ee09b103-97e0-11cf-978f-00a02463e06f} not registered The friendly name for that CLSID is Scripting.Dictionary. It seems to be a popular way to do associative arrays in VB, see http://www.windowsitpro.com/article/vbscript/the-scripting-dictionary-makes-...
http://bugs.winehq.org/show_bug.cgi?id=30212
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple apps need |Multiple apps need |Scripting.Directory |Scripting.Dictionary |implementation (Microsoft |implementation (Microsoft |Scripting Runtime) |Scripting Runtime)
http://bugs.winehq.org/show_bug.cgi?id=30212
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |29632
http://bugs.winehq.org/show_bug.cgi?id=30212
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2012-06-13 14:04:35 CDT --- Do any of these apps have downloads?
http://bugs.winehq.org/show_bug.cgi?id=30212
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30212
--- Comment #2 from Dan Kegel dank@kegel.com 2012-06-13 20:55:25 CDT --- AutoIt 3 is downloadable: http://www.autoitscript.com/site/autoit/downloads/ and tiny demo scripts are inline in bug 22199. Polymath seems to have a trial: http://www.polymath-software.com/ Amos seems to have a free student version: http://amosdevelopment.com/download/
http://bugs.winehq.org/show_bug.cgi?id=30212
Knightlain pastorrub@msn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pastorrub@msn.com
https://bugs.winehq.org/show_bug.cgi?id=30212
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.autoitscript.com | |/cgi-bin/getfile.pl?autoit3 | |/autoit-v3-setup.exe CC| |focht@gmx.net Component|-unknown |scrrun Summary|Multiple apps need |Multiple apps need |Scripting.Dictionary |Scripting.Dictionary 'Add' |implementation (Microsoft |method stub implementation |Scripting Runtime) |(AutoIt 3, Polymath)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
'meta' bugs should be avoided.
There are already bugs covering specific 'Scripting.Dictionary' method stubs:
bug 30715 -> DVDFlick 1.3.x fails on startup with "automation error" (needs Scripting.Dictionary "Exists" method implementation)
bug 32476 -> DVDFlick 1.3.x fails on startup with "automation error" (needs Scripting.Dictionary "get_Item" method implementation)
Example for testing:
--- snip --- cat test.au3
$Loc = ObjCreate('Scripting.Dictionary') $Loc.Add('test',5) MsgBox(1,'Alert.',$Loc.Item('test')) $Loc.Item('test') = 33 MsgBox(1,'Alert.',$Loc.Item('test')) --- snip ---
Trace log:
--- snip --- $ wine ./AutoIt3.exe test.au3 fixme:ver:GetCurrentPackageId (0x8ef67c (nil)): stub fixme:scrrun:dictionary_Add (0x17e5b8)->(0x193048 0x193058) fixme:scrrun:dictionary_get_Item (0x17e5b8)->(0x1930d0 0x8eefc0) fixme:scrrun:dictionary_put_Item (0x17e5b8)->(0x17e7c0 0x17e7d0) fixme:scrrun:dictionary_get_Item (0x17e5b8)->(0x194988 0x8eefc0) fixme:win:LockWindowUpdate ((nil)), partial stub! --- snip ---
Selecting Scripting.Dictionary 'Add' method implementation for this bug. Refining summary.
Source: http://source.winehq.org/git/wine.git/blob/5908cda9a514f865fff62a351d6337934...
--- snip --- 189 static HRESULT WINAPI dictionary_Add(IDictionary *iface, VARIANT *Key, VARIANT *Item) 190 { 191 dictionary *This = impl_from_IDictionary(iface); 192 193 FIXME("(%p)->(%p %p)\n", This, Key, Item); 194 195 return E_NOTIMPL; 196 } --- snip ---
$ sha1sum autoit-v3-setup.exe 1d847b1f8f089c66ce26df2aba2bffbfea109f54 autoit-v3-setup.exe
$ du -sh autoit-v3-setup.exe 11M autoit-v3-setup.exe
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=30212
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #4 from Teras teras@luukku.com --- still an issue wine-1.7.36-125-g656bc70
https://bugs.winehq.org/show_bug.cgi?id=30212
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 50907 --> https://bugs.winehq.org/attachment.cgi?id=50907 patch
Attaching here as well.
https://bugs.winehq.org/show_bug.cgi?id=30212
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5f41a746e97be7f2a0fd7937bc4 | |a1a0ab6b256b0 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- This is fixed with 5f41a746e97be7f2a0fd7937bc4a1a0ab6b256b0.
https://bugs.winehq.org/show_bug.cgi?id=30212
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.38.