|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:52 AM
Posts: 3,436,
Visits: 26,607
|
More than 3 years ago I announced 'GenoTab', a GenoPro report generator targeted at tablets and mobile phones. Back then we thought GenoProX was just around the corner so I based it on a prototype json file format. (see Introducing GenoTab 
Production of a GenoTab report was quite convoluted involving three separate & nbsp ; processes .& nbsp ; So with no sign of GenoProX any time soon I decided a few months ago to take another look a GenoTab with a view to make it easier to generate as a single process .& nbsp ; I have today published the {EN} GenoTab report skin in my latest updates to the report skins bundle . See & nbsp ; Updates to Report Skin Templates since GenoPro 2020 version 3.1.0.1& nbsp ; N . B . At present the report must be generated on familytrees . genopro . com .& nbsp ; & nbsp ; The report skin actually only publishes a json version of your GenoPro data , copies of your pictures and a small ' bootstrap ' html file ( index . htm ).& nbsp ; Pictures wider or taller than 2800 pixels are resized using IrfanView and so this must be installed on your PC . I have published the html and javascript files that form the bones of GenoTab under a user Apps& nbsp ;& nbsp ; on familytrees that I control .& nbsp ; This allows me to make corrections and improvements to the report without users having to re - publish their data .& nbsp ; The index . htm bootstrap file will pull in these files when opened in a browser . Amongst other changes I have switched from Google Maps to Leaflet with OpenStreetMap .
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:55 PM
Posts: 1,590,
Visits: 32,102
|
Generated report to familytrees from both a PC & amp ; laptop ( W10 ) and get this message Error at line 334 , position 4 ( Code \ G2toTab . js ) generating ' json . js ': Object doesn ' t support this property or method & nbsp ;& nbsp ; & nbsp ; Microsoft JScript runtime error 800A01B6 & nbsp ;& nbsp ; & nbsp ; Looked up the error number but am none the wiser ( not unusual there ) Am I missing something?
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:52 AM
Posts: 3,436,
Visits: 26,607
|
Must be me that is missing something . It's tripping out trying to process a Pictures tag that doesn't adhere to my expected format.
Could you copy the attached G2toTab . js file into your Common \ Code folder replacing the one that ' s there and try again please ? I have also included a zipped version in case your browser blocks the . js download. I ' m hoping it will report a warning in the Report log with a dump of the offending record .& nbsp ; I ' m just interested in the " Pictures ": { ......... },& nbsp ; & nbsp ; bit ( s ).
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
G2toTab.zip
(93 views,
19.98 KB)
G2toTab.js
(99 views,
78.91 KB)
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:55 PM
Posts: 1,590,
Visits: 32,102
|
Sorted and have an online report . Will have al ook at it tomorrow . It is a different beast to get to know Thanks again
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:55 PM
Posts: 1,590,
Visits: 32,102
|
Is it possible to add a progress report beyond working on two . js files ? A large report takes a long time ; in this case a minute without any note . I also can not find any images - probably my fault I have not any images here , probably due to lack of links in original program . Attached log may show what I have missed out
MsgLog.txt
(96 views,
4.60 KB)
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:52 AM
Posts: 3,436,
Visits: 26,607
|
I was surprised to see that your Pictures tag has only _Primary to indicate primary picture but no actual picture list.
I was expecting say & nbsp ; " Pictures ": { & nbsp ; & nbsp ; " _Primary ": " pic00038 ", & nbsp ; & nbsp ; " __text ": " pic00038 " & nbsp ; }, and not & nbsp ; & nbsp ; " Pictures ": { & nbsp ; & nbsp ; " _Primary ": " pic00038 " & nbsp ; }, This is probably why you see no pictures .& nbsp ; Now that I know that that format is out there I can adjust to code to take account of it . I will also try and output during the json conversion a percent complete message in say 20% increments. I'll also try and work out how many pictures are to be resized and do the same for these.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|