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

GenoPro Support Forum




Narrative & Descendant Report 2.0.1.6 Release Candidates

Click to view RSS...
Author Updated report skins for testing
Posted Sunday, August 03, 2008 - Post #22300
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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

Last Login: 2 days ago @ 10:36 PM
Posts: 2,510, Visits: 17,767
Attached are revised Narrative & Descendant Report skins that I am suggesting are included in the next release of GenoPro 2007. Any testing and feedback appreciated.

The Narrative Report has the automatic thumbnail and PDF Genomap generation features mentioned elsewhere. One change from those posts is that thumbnails for Svg & Pdf images can now be larger than the original, i.e. stretched to fit the label. This allow for say a background picture. Also automatic defaulting if either Inkscape or Irfanview are not installed. (e.g. no PDFs and/or no thumbnails)

The Descendants Report has more minor changes, apart from those outlined below. Primarily the reporting for single parents has been improved.

Both Reports now have a facility to localize the Configuration Parameters dialog and also the messages displayed to the message area and log during the report generation. So these can now be in a different language to the report output.

This has been achieved by moving all messages that are displayed during generation from Dictionary.xml to a new section, GenerationMessages, Config.xml. This is all but three of the Error messages, all warning and parameter messages and a few others. The three error messages remain because they can be generated before the Config file is opened.

You can now provide a translation of Config.xml in your custom skin, e.g. ConfigFR.xml and the script will then take the Config Params descriptions and messages from this file. To do this the script needs to know the the language translation you are using for GenoPro itself. Unfortunately there is currently no in-built way of determining this and so you will need to create and set a Document Custom Tag, BaseLanguage, in your .gno file. e.g. set to FR to use ConfigFR.xml. Note however that the skin titles for dropdown list of skins available will still be taken from Config.xml. Hopefully GenoPro Gamma will support both of these requirements.

With the above feature for example, if you use the French translation of GenoPro can have display the Config Dialog in French and any errors, warnings and comments whilst the Report itself can be in a different language, English, Spanish etc.

I have also put in place documentation of changes for Config.xml and Dictionary.xml. This consists of an XML attribute of the form V="a.b.c.d?" for each changed item, where a.b.c.d is version and ? is type of change, + being insertion, x deletion, ± replacement/amendment and ~ relocation up or down the file. On this occasion I have added the annotation after the event, and so cannot guarantee 100% accuracy. As well as the marked changes there is also the movement of text from Dictionary to Config as mentioned earlier. I hope this will make it easier for translators to keep track of changes.

Update 2008/08/03  Updated Descendants to fix missing messages
Update 2008/08/04  Fix offline thumbnails and picture date check in non English locale
Update 2008/08/27 corrections, enhancements etc see related post
Update 2008/08/31 corrections, enhancements etc see related post
Update 2008/09/02 Minor update to Dictionary & Config.xml
Update 2008/09/05 Minor update adding PhContactTxt and removing extra blank lines from Descendants Report
Update 2008/09/10 Updates to fix issues raised by JCG in two posts
Update 2008/09/12 a few more minor fixes notified by JCG


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


Edited: Sunday, September 14, 2008 by Ron
Posted Sunday, August 03, 2008 - Post #22303
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
Translator
GenoPro version: 3.0.0.7

Last Login: Wednesday, September 20, 2017
Posts: 4,363, Visits: 21,485
Great work.  I compiled a version with the two updated skins at http://www.genopro.com/download/InstallGenoPro.2.0.1.6.exe.  This way, you won't have to manually download and install the .zip files.

There a few things to tweak, as I get the following dialog on my machine when generating a Descendant Report.

Posted Sunday, August 03, 2008 - Post #22304
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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

Last Login: 2 days ago @ 10:36 PM
Posts: 2,510, Visits: 17,767
I have tweaked Descendants Report (now RC2) in attachment to 1st post to clear problem with messages not being accessed correctly. (I should have retested after some changes)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, August 03, 2008 - Post #22311
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
Translator
GenoPro version: 3.0.0.7

Last Login: Wednesday, September 20, 2017
Posts: 4,363, Visits: 21,485
The file http://www.genopro.com/download/InstallGenoPro.2.0.1.6.exe includes the latest changes.
Posted Sunday, August 03, 2008 - Post #22312
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.0.1.0

Last Login: Yesterday @ 3:57 PM
Posts: 251, Visits: 7,609
New GenoPro.2.0.1.6.
English Narrative Report (EN) and
Narrative_2.0.1.6RC1 (EN)

I can not create Narrative Report for HarryPotter.gno file when my PC online and offline.
Online:
Cloning document HarryPotter...
Opening configuration file Config.xml for skin 'English Narrative Report'...
(and for skin Narrative_2.0.1.6RC1)
Loading Dictionary.xml...
[0.00] Processing template 'init.htm'...
To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog.
Please wait while IE form initializes
Error at line 201, position 1 (Code/Util.vbs): Discrepancy of the type: 'DateValue'
Error of the execution Microsoft VBScript 800A000D

Offline:
Cloning document HarryPotter...
Opening configuration file Config.xml for skin 'English Narrative Report'...
(and for skin Narrative_2.0.1.6RC1)
Loading Dictionary.xml...
[0.00] Processing template 'init.htm'...
To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog.
Please wait while IE form initializes
[16.62] LanguageDictionary.Lookup('ErrorConfigMessageNotFound') failed!
[16.62] : ErrorFetchHeader
Updating thumbnail for http://familytrees.genopro.com/Harry-Potter/pictures/Albus-Dumbledore.jpg
[16.64] Error 5: (Cannot retrieve picture http://familytrees.genopro.com/Harry-Potter/pictures/Albus-Dumbledore.jpg)
Error at line 670, position 5 (init.htm): File is not found
Error of the execution Microsoft VBScript 800A0035

If delete pictures in HarryPotter.gno file - no errors.
For my .gno files with GenoPro.2.0.1.6. and all new skins - no errors.
Posted Monday, August 04, 2008 - Post #22320
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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

Last Login: 2 days ago @ 10:36 PM
Posts: 2,510, Visits: 17,767
Thanks for testing and your report Alex. The first problem as you may have guessed was due to your Russion locale setting. I've now clamped the script to "en-gb" just for the purpose of date conversion for the timestamp check so I would be grateful if you could retest.

I obviously had not tested pictures not being available so hence the second error. Hopefully both are fixed in the updated RC2 skin attached to the 1st post.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, August 04, 2008 - Post #22325
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.0.1.0

Last Login: Yesterday @ 3:57 PM
Posts: 251, Visits: 7,609
It's OK now.
Thank you Ron.
Posted Tuesday, August 05, 2008 - Post #22341
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 2.5.4.1

Last Login: Sunday, May 19, 2013
Posts: 84, Visits: 281
I get error messages when extracting the files. Are the updated versions included in the exe-file now, so I can use that link?
Posted Wednesday, August 06, 2008 - Post #22348
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.4.1

Last Login: Monday, July 10, 2017
Posts: 39, Visits: 2,815
When compiling my html files with the new RC files from http://www.genopro.com/download/InstallGenoPro.2.0.1.6.exe it produces an error with the Individuals count on the left frame in the home page. The error being a dupilcate number count on the family name ie. Smith (2 2 individuals) where it should read Smith (2 individuals) with two members of that family name. It is correct when there is only one person, but anything other than this it dupilicates.

Hope this helps,

/Stuart

Posted Wednesday, August 06, 2008 - Post #22350
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

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

Last Login: 2 days ago @ 10:36 PM
Posts: 2,510, Visits: 17,767
Thanks Stuart, I had not spotted that. I made a change to cater for Hebrew but it is obviously not working properly.

There appears to be a bug in the GenoPro ReportGenerator Dic.Plurial (key, count) method. According to the SDK documentation, it should return the plural of the word according to the count. But for a count greater than one it appears to return the count in front of the plural word, thus it then works the same Dic.PlurialCount, which it should not. This only happens when there is no 'P' attribute present for the Dic key specified (Individual is this case), even though it determines the correct plural form using the Dic _FmtPlural rule. So I can work around it by just adding the P attribute, but Dic.Plurial also needs to be fixed by GenoPro. I am putting together some other changes and so I will republish when I have completed these.

It has also been mentioned previously that Plurial should in fact be Plural. Hopefully this can be fixed in GenoPro Gamma


'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