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


https://support.genopro.com/Topic39528.aspx
Print Topic | Close Window

By Jarmo - Saturday, March 16, 2019
Hello            

While generating Narrative Report, I get error msg as follows:

Luodaan web-sivu kohteeseen 'C:\Temp\Saksi\'
Kloonataan dokumentti saksi...
Avataan asetustiedosto Config.xml mallille '\{FI} Kerronnallinen Raportti\*  (2018.03.09)'...
Ladataan sanakirjatiedosto Dictionary.xml...
[0.00] Prosessoidaan mallia 'bootstrap.vbs'...
[1.34] Prosessoidaan mallia 'Code\init.htm'...
Using 'Narrative Common' scripts version 2018.10.01
 
Report Language code 'FI' Dictionary version '2018.04.04'
Virhe rivillä 291, paikassa 12 (Code\init.htm) luotaessa 'init.htm': Objekti puuttuu     --> in english: Object missing
    Suorituksenaikainen Microsoft VBScript -virhe 800A01A8

The text in line 291 is (don't know what location 12 means?):  "strWeekdays = strWeekdays & ",'" & strWeekday & "'"

I haven't touched/modified the Code/Init.htm -file.  Anyway it says "Object is missing".
I checked with WinMerge, that my Code/Init.htm -file is similar with En Narrative Report /Code/Init.htm -file.

BR, Jarmo
By genome - Sunday, March 17, 2019
My line 291 in Init.htm shows:

            strWeekday = oNode.parentNode.getAttribute("S") 

The script is expecting oNode to refer to the tag Weekdays in Dictionary.xml.

I assume you are using a Dictionary.xml without Weekdays in an attempt to use Windows settings for date formats.

Unfortunately this has never been tested to my knowledge and as your attempts show it does not work!

I can look into this and see if there is a solution. I think it is only the calendar page that uses these settings explicitly.
By Jarmo - Sunday, March 17, 2019
Hello
The reason why I tried to use Control Panel dates was that I did not get Dictionary.xml work as wanted.
If forgetting Control Panel is a solution I gladly make.  I just hope that I could get date formats more suitable for me.
Jarmo
By genome - Monday, March 18, 2019
Jarmo, 

If you describe the problem you are experiencing in trying to convert date formats to Finnish then perhaps I can help. Ermm
By Jarmo - Monday, March 18, 2019
Hello
I think that all dates could be in format: dd.mm.yyyy.
I don't see a reason why the date should be something else in my reports.
Jarmo