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

GenoPro Support Forum




2.2b error in Report Generatot

Click to view RSS...
Author
Posted Thursday, November 30, 2006 - Post #14830
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.0

Last Login: 2 hours ago
Posts: 1,595, Visits: 32,482
I have just run a report, using a newly created Customised report and received the following error report

[1.28] LanguageDictionary.Lookup("PhCT_'other religuous ceremony'") failed!
Posted Thursday, November 30, 2006 - Post #14831
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

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

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Received similar error report by using the English Narrative Report (not modified).

[1.34] LanguageDictionary.Lookup("PhCT_Taufe") failed!
[1.34] LanguageDictionary.Lookup("PhCT_'keine kirchliche Feier'") failed!

Why is it looking up a German word even though I am using the original English dictionary file?
I think there is a conflict between custom tags "PhCT_" and cremony type "PhCT_", but I might be wrong? Well I think I was wrong. Found that when under Birth dialog box > Religous records > Ceremony type the record is set to "none" the error as above appears and the narrative phrase looks like
"Name" was born on "date", in "place" and his 'no religious ceremony'.

Does not sound proper to me.


Edited: Thursday, November 30, 2006 by maru-san
Posted Friday, December 1, 2006 - Post #14852
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: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Yes I've found the culprit. There was an enhancement to show 'birth ceremony/baptism' date on Individual index. I have forgotten to use the .ID suffix so it was using the dictionary text instead. Change Lang.vbs line 710
from
 Report.WritePhraseDic "FmtBirth", i.Birth.Date.Year, Dic("PhCT_" & i.Birth.CeremonyType), i.Birth.Baptism.Date.Year
to
 Report.WritePhraseDic "FmtBirth", i.Birth.Date.Year, Dic("PhCT_" & i.Birth.CeremonyType.ID), i.Birth.Baptism.Date.Year
I will put this in the next release.

And Yes, you are correct maru-san, there is a potential conflict between Custom Tag phrases and Birth Ceremony Type ones. I will change to abbreviation to PhBC for Birth Ceremony instead.


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


Edited: Friday, December 1, 2006 by Ron


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse