By NagyAlbert - Tuesday, August 4, 2015
|
On Linux Mint platform... The last executed action was the init.htm processing and the report log was this:
Kimutatás készítése ide: 'C:\usersagy\Dokumentumok\GenoPro Reports\csfa1\' csfa1 dokumentum másolatának készítése... A(z) '\Customized English Narrative Report\* (English Narrative Report)' bőr Config.xml konfigurációs állományának megnyitása... Kép gyorsítótár érvényesítése... Dictionary.xml betöltése... [0.00] 'init.htm' minta feldolgozása... [GenoPro Version: 2.5.4.1, Skin Version: 2007.01.07]
What can I do? Thak you for aswer.
|
By GenoProSupport - Tuesday, August 4, 2015
|
Have you tried with GenoPro 2016 at http://www.genopro.com/download/InstallGenoPro2016.exe . By the way, our new GenoProX (under development) uses JavaScript instead of VBScript which is most likely to work on all platforms.
|
By NagyAlbert - Thursday, August 6, 2015
|
Is it possible to use javascript with Genopro2011, or this go with 2016 version?
|
By genome - Thursday, August 6, 2015
|
The GenoPro Report Generator in both 2011 and 2016 uses Microsoft's Windows Script Engine. The Report skin templates are written in either VBScript or JScript (Microsoft's Javascript implementation). The 'Export to Gedcom' Report Skin is written in JScript so it might be worth testing that under Linux.
Also some Report Template skins invoke HTA's (or HTML Applications) to generate a dialog for Configuration Parameters. This requires Microsoft's mshta.exe. Some older skins also launch IE as an ActiveX control for the same purpose. You can prevent the Configuration Parameters dialog from being invoked using the setting under the Options tab of the Generate Report dialog. GenoProX will export data in JSON format and reports will be generated from it using HTML5 & javascript.
|
By bobc - Sunday, August 16, 2015
|
For information I have installed Genopro 2016 on Debian Jessie (8.1) and AFAICS all reports fail at some point. This, for instance, is what I get when trying to run the English Narrative report :
Generating report to 'C:\users\bobc\My Documents\GenoPro Reports\TEST\' Cloning document Crabtree and Heyworth of Rossendale... Opening configuration file Config.xml for skin '\{EN} Narrative Report\* (2015.07.07)'... Loading Dictionary.xml... [0.00] Processing template 'bootstrap.vbs'... 1st time run - One time initialisation required to link to common code folder [0.08] Failed to link to common code folder - error -1 [0.09] Processing template 'Code\init.htm'... Error in Config.xml at line 63: Unable to open template file 'Code\init.htm' from skin
I have disabled Parameter Configuration dialogue in the options.though the result is the same even if I don't.
It appears this is somehow related to the common code folder path which appears to be the "Narrative Common" folder not being initialised by the bootstrap.vbs script.
I have loaded the wsh56vb (VBscript) package and also wsh56js (Javascript).
BobC
|
By genome - Sunday, August 16, 2015
|
You can get past that point by first copying folder Code from Narrative Common over to {EN} Narrative Report. The bootstrap.vbs is just trying to run junction.exe to create a link to it but instead you can create a copy. Of course it may well fail later on.
|
By bobc - Monday, August 17, 2015
|
Well prophesied - I set up the symbolic link manually and this is what happened :
Generating report to 'C:\users\bobc\My Documents\GenoPro Reports\TEST\' Cloning document Crabtree and Heyworth of Rossendale... Opening configuration file Config.xml for skin '\{EN} Narrative Report\* (2015.07.07)'... Loading Dictionary.xml... [0.00] Processing template 'bootstrap.vbs'... [0.09] Processing template 'Code\init.htm'... Error at line 24, position 4 (Code\init.htm) generating 'init.htm': ActiveX component can't create object: 'ADODB.Stream' Microsoft VBScript runtime error 800A01AD
It looks like there are too many things to fix for the Report Generator to run under Linux +Wine. I'll be sticking with Genopro on Windows for now until Genopro X comes out which promises to run under Linux.
As I mentioned earlier this is for information rather than expecting a solution.
BobC
|
By genome - Monday, August 17, 2015
|
I did look further into this out of interest and discovered that adodb.stream is only used in rare circumstances, firstly when a thumbnail image is prepared from web based image (http:// path) instead of a local file, secondly when preparing the toc.xsl (table of contents) file for use in conversion to PDF by wkhtmltopdf.exe.
Therefore the code could be changed to only declare the adodb activex object when it is actually going to be used. But instead if you wanted to take it stage further in testing try removing or commenting out the lines Set oBinaryStream = CreateObject("ADODB.Stream") oBinaryStream.Type = 1 ' binary oBinaryStream.Mode = 3 ' read/write oBinaryStream.Open from Init.htm and genomap.svg files the Narrative Coomon/Code folder.
|
By bobc - Tuesday, August 18, 2015
|
I'll give this a try and report back - it might be useful to know just what bits don't work under Linux. I suppose using "junction" to create a symblink on an EXT4 filesystem is probably expecting too much.
BobC
|
By bobc - Tuesday, August 18, 2015
|
I made the changes suggested and now this is what I get :
Generating report to 'C:\users\bobc\My Documents\GenoPro Reports\TEST\' Cloning document Crabtree and Heyworth of Rossendale... Opening configuration file Config.xml for skin '\{EN} Narrative Report\* (2015.07.07)'... Loading Dictionary.xml... [0.00] Processing template 'bootstrap.vbs'... [0.01] Processing template 'Code\init.htm'... Error at line 164, position 2 (Code\init.htm) generating 'init.htm': Type mismatch: 'Util.FormatPhrase' Microsoft VBScript runtime error 800A000D
Line 164 reads :
Report.LogComment Util.FormatPhrase(ConfigMsg("CommentVersion", "Report Skin version {0} [{?1} *** with modifications ***]", "2013.07.30±") ,Session("SkinVersion"), Session("SkinModified"), ExitCode), Util.IfElse(ExitCode = 0, "#000080" , "#FF8040")
BobC
EDITED to correct line number.
|
By genome - Tuesday, August 18, 2015
|
That line can be chopped as it is just for my benefit so that I know if skin has been modified when bug reported. I guess Linux doesn't loot MS fciv.exe that does the checksum match
|
By bobc - Thursday, August 20, 2015
|
I've commented out that line and all the other similar ones that were failing and now I get to line 411 before things fail :
Generating report to 'C:\users\bobc\My Documents\GenoPro Reports\TEST\' Cloning document Crabtree and Heyworth of Rossendale... Opening configuration file Config.xml for skin '\{EN} Narrative Report\* (2015.07.07)'... Loading Dictionary.xml... [0.00] Processing template 'bootstrap.vbs'... [0.01] Processing template 'Code\init.htm'... To enable display of parameter settings, untick the box under 'Options' tab of this dialog. Error at line 411, position 12 (Code\init.htm) generating 'init.htm': 80004005
If I enable the display of parameters this is what I see :
Generating report to 'C:\users\bobc\My Documents\GenoPro Reports\TEST\' Cloning document Crabtree and Heyworth of Rossendale... Opening configuration file Config.xml for skin '\{EN} Narrative Report\* (2015.07.07)'... Loading Dictionary.xml... [0.00] Processing template 'bootstrap.vbs'... [0.01] Processing template 'Code\init.htm'... To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog. [1.56] Report generation cancelled by user during Configuration Parameters dialog
I do have IE8 added via Winetricks.
Overall either I need some more modules loaded into Wine or any hope of getting this going under Linux/Wine is going to be a major re-write which clearly isn't something that would make sense with the development of GenoproX which I gather should run under Linux.
In addition my 2016 reg key is fast running out - It's not a real issue as I have one for Genopro 2011 which is my main "production" system anyway but the "crowdfunding" page isn't up yet to allow me to buy a new key and as far as I can see if I install 2016 on my Windows machine it overwrites the 2011 version. If the 2016 Report generator is identical with the 2011 then I can use my other Linux box which does have 2011 on it.
As I explained earlier I'm only tracking this through in the hope it will provide you with more information that may be useful.
BobC
|
By 2107076 - Thursday, December 5, 2019
|
So, there's still no solution for Error in Config.xml at line 63: Unable to open template file 'Code\init.htm' from skin
on linux?
|
By genome - Thursday, December 5, 2019
|
If you search for wine on this forum you will find this thread http://support.genopro.com/Topic40014.aspx
|