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

GenoPro Support Forum




Problem with Family Subtree Diagrams

Click to view RSS...
Author [RESOLVED] Drawings are unreadable
Posted Friday, April 25, 2014 - Post #33523
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 12 hours ago
Posts: 282, Visits: 12,490
I see in http://familytrees.genopro.com/Nand/test/  this:
http://support.genopro.com/Uploads/Images/82e699db-fa28-4ebc-aa93-d51b.jpg
I generated an English Narrative Report  with all default values set for similar genomap.
see http://familytrees.genopro.com/Alex/Test/
(Windows 7, IE9. Narrative_2014.04.10, Inkscape  v.048)
I'm getting this:
http://support.genopro.com/Uploads/Images/cdccdb28-fca6-402c-abb4-6e27.jpg
the SVG file in InkScape:
http://support.genopro.com/Uploads/Images/d792647d-e9fe-453a-9fc3-e48c.jpg
Posted Friday, April 25, 2014 - Post #33524
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 3:00 AM
Posts: 475, Visits: 3,231
Interesting!

When I opened Alex's test page http://familytrees.genopro.com/Alex/Test/ and clicked on a family sibtree, I first got following warning:



And then I got again following message:



Upon which I decided to re-install the Adobe SVG viewer just to see what happens (remember I was told that IE9 ignores the Adobe stuff).

Believe it or not, but Alex's diagram displays OK!



but mine still doesn't, although there's some improvement:



So it looks as if the problem is created upon generating time, not display time.
Posted Monday, May 5, 2014 - Post #33568
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 hours ago
Posts: 3,424, Visits: 26,476
A quick look at the test page using Chrome's Developer Tools shows an old problem has raised its head again, that is SVG requires a decimal point to be a point/full stop but your SVG coordinates Nand have commas for decimal points causing the display problems.

We have seen this in the past and I'll have to dig around for how I thought it was resolved the last time.  

Obviously a dirty work-around is to change your Windows regional settings not to use comma for decimal point, but I will look for the proper solution.

Update:  just checked skin file genomap.svg and it has this in lines 56-58
' set locale back to GenoPro's roots to avoid issues with comma instead of full stops as decimal points

strThisLocale = SetLocale("en-gb")


Don't now quite understand my own comment but setting Locale to en-gb should cause it to use full stop as decimal point.  I am confused as to why this has stopped working.  

Update: A long shot - maybe changing SetLocale("en-gb") to SetLocale(2057) could help.


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


Edited: Monday, May 5, 2014 by genome
Posted Monday, May 5, 2014 - Post #33571
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 3:00 AM
Posts: 475, Visits: 3,231
Thanks for looking into this Ron.

And no, my bookkeeper won't accept decimal points instead of commas ...

It is all getting so tricky these days.  You almost need a dedicated computer per application because there's nearly always something interfering with something else.

PS: Are you sure "en-gb" is accepted?  In my list I only see "eng", "english-uk" and "uk"


Edited: Monday, May 5, 2014 by Nand
Posted Monday, May 5, 2014 - Post #33573
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 hours ago
Posts: 3,424, Visits: 26,476
Let me know if changing to numeric LCID works i.e. using  SetLocale(2057)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, May 5, 2014 - Post #33574
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 3:00 AM
Posts: 475, Visits: 3,231
Well, I checked the "Regional and Language Options" which is as follows:



where the decimal symbol is "," and the digit grouping symbol is "."
This customisation was done on purpose to keep e.g. the names of the months in English.
But I can imagine this looks weird to you. 

Guess what?  When I invert the symbols by setting decimal symbol is "." and the digit grouping symbol is "," it works. 
The SVG picture is rendered correctly.

Is there a way to make it also work with the customized regional and language options setting (decimal point is comma)?
Else I will have to remember to change these settings each time I generate a report, and set it back afterwards.
Posted Monday, May 5, 2014 - Post #33575
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 hours ago
Posts: 3,424, Visits: 26,476
Let me know if changing to numeric LCID works i.e. using  SetLocale(2057) 

I.e. in line 58 of genomap.svg file.

I tried this with your regional settings and still no go, but strangely if I set the value to 1077 (i.e. Zulu) it works!!

Maybe VBScript thinks region is already set to 2057/en-gb so doesn't change anything, leaving your customisation in place.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, May 5, 2014 - Post #33578
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 3:00 AM
Posts: 475, Visits: 3,231
I set the regional setting back to decimal-point-is-comma as it was initially.

I then modified line 58 of the genomap.svg file in the relevant skin folder.

> With SetLocale(2057) the problem persists.  Drawings are unreadable.

> With SetLocale(1077) the problem disappears.  Drawings are rendered OK.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!