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

GenoPro Support Forum




Author Code\init.htm -error
Posted Saturday, March 16, 2019 - Post #39528
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
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

Edited: Sunday, March 17, 2019 by Jarmo
Posted Sunday, March 17, 2019 - Post #39529
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:42 PM
Posts: 3,325, Visits: 25,525
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.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, March 17, 2019 - Post #39530
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
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
Posted Monday, March 18, 2019 - Post #39532
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:42 PM
Posts: 3,325, Visits: 25,525
Jarmo, 

If you describe the problem you are experiencing in trying to convert date formats to Finnish then perhaps I can helpErmm


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, March 18, 2019 - Post #39533
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
GenoPro version: 3.1.0.1

Last Login: Monday, March 11, 2024
Posts: 221, Visits: 1,599
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


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse