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

GenoPro Support Forum




Genopro cannot generate reports on Linux platform

Click to view RSS...
Author
Posted Thursday, December 5, 2019 - Post #40203
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 @ 9:20 PM
Posts: 3,429, Visits: 26,548
If you search for wine on this forum you will find this thread http://support.genopro.com/Topic40014.aspx Smile


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, December 5, 2019 - Post #40201
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Gamma
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Thursday, December 26, 2024
Posts: 2, Visits: 2
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?
Posted Thursday, August 20, 2015 - Post #35437
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
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
Posted Tuesday, August 18, 2015 - Post #35421
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 @ 9:20 PM
Posts: 3,429, Visits: 26,548
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


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Tuesday, August 18, 2015 - Post #35420
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
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.


Edited: Tuesday, August 18, 2015 by bobc
Posted Tuesday, August 18, 2015 - Post #35419
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
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
Posted Monday, August 17, 2015 - Post #35416
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 @ 9:20 PM
Posts: 3,429, Visits: 26,548
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.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, August 17, 2015 - Post #35415
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
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
Posted Sunday, August 16, 2015 - Post #35408
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 @ 9:20 PM
Posts: 3,429, Visits: 26,548
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. Sad


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, August 16, 2015 - Post #35406
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
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


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!