https://bugs.winehq.org/show_bug.cgi?id=37607
Bug ID: 37607 Summary: MyHeritage Family Tree Builder fails to add "window" item/initialize scripting engine Product: Wine Version: 1.7.31 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: jscript Assignee: wine-bugs@winehq.org Reporter: sebastian@fds-team.de Distribution: ---
(Originally reported here: https://github.com/wine-compholio/wine-staging/issues/187)
After starting the main application first login with your account. Registration is free, but required unfortunately. Register via the website to workaround an issue with the application registration form - make sure that no '+' signs are in your email address, registration works, but login not...
Create a new project, create a new family, and click on Reports -> Ancestors.
A few message boxes will show up with content
'Unable to add "window" item' 'Unable to initialize scripting engine'
These message boxes repeat a couple of times, and afterwards an empty report shows up.
Related terminal output with WINEDEBUG=+jscript:
--- snip --- 003f:trace:jscript:DllMain (0x7cb70000 1 (nil)) 003f:trace:jscript:DllGetClassObject (CLSID_JScript {00000001-0000-0000-c000-000000000046} 0xc5de4b8) 003f:trace:jscript:ClassFactory_QueryInterface (0x7cbfeef0)->(IID_IClassFactory 0xc5de4b8) 003f:trace:jscript:ClassFactory_AddRef (0x7cbfeef0) 003f:trace:jscript:JScriptFactory_CreateInstance ((nil) {bb1a2ae1-a4f9-11cf-8f20-00805f2cd064} 0x26c9bb8) 003f:trace:jscript:JScript_QueryInterface (0xb39e270)->(IID_IActiveScript 0x26c9bb8) 003f:trace:jscript:JScript_AddRef (0xb39e270) ref=2 003f:trace:jscript:JScript_Release (0xb39e270) ref=1 003f:trace:jscript:ClassFactory_Release (0x7cbfeef0) 003f:trace:jscript:JScript_SetScriptSite (0xb39e270)->(0x26c9bc0) 003f:trace:jscript:JScript_AddNamedItem (0xb39e270)->(L"window" 2) 003f:trace:msgbox:MSGBOX_OnInit L"Unable to add "window" item\n" 003f:trace:msgbox:MSGBOX_OnInit L"Unable to initialize scripting engine" --- snip ---
JScript_AddNamedItem fails because This->ctx == NULL.
Installing native 'jscript' via 'winetricks jscript' works around this issue and the report shows up properly (wasn't able to compare it with Windows, but definitely looks better than before).
$ git describe origin/master wine-1.7.31-88-g9a68ef4
$ sha1sum family_tree_builder_7138.exe 74245c94089642d65b2fde09fd7188430df68b81 family_tree_builder_7138.exe
https://bugs.winehq.org/show_bug.cgi?id=37607
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.myheritage.com/f | |amily-tree-builder
https://bugs.winehq.org/show_bug.cgi?id=37607
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- The problem with generating the ancestors report is still present in 1.9.24 and the current version of the app (family_tree_builder_8333.exe).
I'm not sure what the "issue with the application registration form" was, but I didn't have any problems registering through the app itself.
https://bugs.winehq.org/show_bug.cgi?id=37607
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |galtgendo@o2.pl
--- Comment #2 from Jacek Caban jacek@codeweavers.com --- *** Bug 45493 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=37607
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |45493
https://bugs.winehq.org/show_bug.cgi?id=37607
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.myheritage.com/f |https://web.archive.org/web |amily-tree-builder |/20141025123929/http://a.ne | |tdna.mhcache.com/FP/FamilyT | |reeBuilder/family_tree_buil | |der_7138.exe Keywords| |download
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- This seems to work fine for me with wine-9.9. I tested with alldlls=builtin and winver set to win7. I used version 7138.
I had to create a new account, which fails because it can't connect to its server. You can try again and eventually continue the trial even though server connection failed.
Sebastian or Rosanne, could you confirm?
Adding stable download.
$ sha1sum family_tree_builder_7138.exe 74245c94089642d65b2fde09fd7188430df68b81 family_tree_builder_7138.exe
$ du -sh family_tree_builder_7138.exe 36M family_tree_builder_7138.exe