GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Using GenoPro with wine on linux

Click to view RSS...
Author
Posted Wednesday, July 31, 2019 - Post #40014
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma

Customers
GenoPro version: 3.1.0.1

Last Login: Saturday, July 30, 2022
Posts: 4, Visits: 13
I've downloaded a trial of GenoPro 3.0.1.5 and I'm using it on linux. Before buying it I want to make sure that every feature works as in the windows version.

So far everything works great, but there are some problems regarding the report generation, particularly with the execution of VBScripts.

The errors are all very similar, for example, with the skin "{EN} Descendant_tree" I get

Error at line 220, position 2 (Code/GnoLib.js) duraning the creation of 'DescendantTree.rtf': Wrong number of arguments or invalid property assignment Microsoft JScript runtime error 800A01C2


With "{EN} Ancestor Report" i get:

Error at line 101, position 42 (Ancestors.htm): Object doesn't support this property or method: 'oName.Father.Session'
    Microsoft VBScript runtime error 800A01B6
 

With "{EN} Narrative Report" I get

1st time run - One time initialisation required to link to common code folder
[0.52] Failed to link to common code folder - error 0


And other such as "Birthday Listing {EN}" will just crash the application.

I've tried some tweaks like installing some packages in wine (mfc42, wsh57, vcrun6) which has worked a little, but I get these errors. Has anyone encountered these errors and maybe managed to solve them?

Tags:
Posted Wednesday, August 7, 2019 - Post #40028
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Saturday, April 20, 2024
Posts: 4,887, Visits: 22,759
This is sad.  The report generator of GenoPro was designed in the late 90's and at that time VBScript was the dominant language for web browsers, and JavaScript was unstable.  Things changes during the past 20 years, and now it is the opposite.  Ron is working on a new report generator using JavaScript and AJAX for our new JSON file format of GenoProX.
Posted Friday, August 9, 2019 - Post #40032
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
Haven't used Linux much myself but did try GenoPro under Wine many  years back and had similar issues running the Report Generator.


However I dug out my old Samsung NC10 netbook that has Debian 8 Linux installed so I another look.  I noted in the error diagnostics that the error appeared to emanate from oleaut32.dll, and so googling a few Articles on Wine and oleaut32 I discovered that it was possible to override use of Wine's version of oleaut32.dll and use the native Windows version.


My 1st attempt faile miserably but guessed it was because the Windows version was not available, so then I installed vb6 runtime code using winetricks

./winetricks vb6run

and then run GenoPro again with the dll overide

WINEDLLOVERRIDES="oleaut32=n" wine "c:\Program Files\GenoPro\genopro.exe"

and discovered I could now run Birthday Listing and {EN} Export to Gedcom reports !  w00t

and yes {EN} Narrative Report as well.  With the later when it is first run the script attempts to createa folder Code under {EN} Narrative Report and a 'junction point' linking to the Code folder under the ''Narrative Common' folder.  This does not seem to work under Linux so I suggest you create this linked Code folder as a symbolic link or simply copy the Narrative Common\Code folder into {EN} Narrative Report folder.

Note that I have not yet sorted out how to run the Parameter Configuration Dialogue as this relies on an HTA application.  So at the moment ensure you tick the checkbox under the Options tab of the Generate Report Dialogue to set 'do not display the dialog to customize the report parameters'





'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Friday, August 9, 2019 - Post #40035
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma

Customers
GenoPro version: 3.1.0.1

Last Login: Saturday, July 30, 2022
Posts: 4, Visits: 13
Thanks!

I managed to override the library oleaut32 with winecfg and now most (some) of the reports work. However, even after copying the code folder and installing vbrun6 the narrative report still does not work

Errore alla linea 26, positione 4 (Code\init.htm) durante la creazione 'init.htm': ActiveX component can't create object: 'ADODB.Stream' Microsoft VBScript runtime error 800A01AD


Thank you anyway for the effort! Highly appreciated!
Posted Friday, August 9, 2019 - Post #40036
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
JUst checked it was 4 years ago I played with GenoPro under Wine so memory a bit hazy but I vaguely recall installing extra bits to get ado working.. Here's the stuff I have installed with winetricks

genome@Jessie:~$ ./winetricks list-installed
ie7
mdac27
mdac28
msls31
msvcirt
msxml6
npp
pngfilt
vb6run
vcrun6sp6
vcrun6
wininet
wsh56js
wsh56vb
wsh57
xmllite

I think it must be mdac28 to get adodb working.

Earlier today I tried installing ie7 to try and get .hta files to work.

I added this command

wine reg.exe ADD HKCU\\Software\\Wine\\DllOverrides /v "mshta.exe" /t REG_SZ /d "native,builtin"

and the Parameter Config dialog starts but then has a whole bunch of script errors but I cant see the details.

Probably need mshta.exe from at least ie9 but I don't think it is installable under Wine.  When I get a moment I'll try  installing the latest version of wine and have another go.

If you need different parameters you can edit the defaults in Code\ConfigMsgBase.xml or if brave/reckless enough, set values in registry where they are saved. (probably need to dump registry bits from running GenoPro on Windows for this)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse