|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
I was trying to work out why some of my svg files were missing and had realised it was to do with the drawing objects when I noticed there was a new version (15d) out. Installing this and running the report again told me there were no drawing objects in the genomap - which I had already worked out.
So if somebody out there is aware of the problem, can you please tell me the fix?
Thanks
John
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
Do you have a custom template, or you are having problems with the built-in template. Can you tell me which version you were using before?
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
I was on 15c, and had the problem in the standard 'English' template. I copied this and was playing with the code when I noticed the new version and installed it. As this already had an error message built in, I assumed somebody was aware of the problem.
If I select all the objects on a problem genomap and 'move to' a new genomap, this then works OK so I suspect the problem may be in the .gno file. Creating new individuals within the problem maps does not have any effect - genopro works fine but the report generator doesn't like it.
As a clue to what's happening, here's what I was doing before. Within the genomap.svg I had added 4 report.logerror lines -
' Create an SVG file for each GenoMap. Report.LogError(GenoMaps.Count) ' If the GenoMap has not drawing objects, skip it. For Each g In GenoMaps Report.LogError(g.Index) Set collDrawingObjects = g.DrawingObjects.ToGenoCollection ' Get the collection of drawing objects for the GenoMap Report.LogError("Count = " & collDrawingObjects.Count) If (collDrawingObjects.Count > 0) Then strFileSvg = Util.FormatString("genomap{}.svg", g.Index) Report.LogError(strFileSvg) |
This gave the following:
Processing template 'genomap.svg'... 10 0 Count = 27 genomap0.svg 1 Count = 0 2 3 Count = 41 genomap3.svg
|
which means I have 10 genomaps, map 0 has 27 objects and is processed, map 1 has 0 objects and is (correctly) not processed, but map 2 fails to return a count (g.DrawingObjects.ToGenoCollection returns 'null' perhaps?). Map 3 then works correctly.
As I say, this may be a GenoPro problem rather than report generator; if so, please move my posting somewhere more appropriate.
Regards John
Edited: Tuesday, January 17, 2006 by
GenoProSupport
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
Hmmm....
Those [color] tabs were supposed to make it more legible - guess there's a problem with the forum somewhere...
John
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
94555 (1/17/2006) Hmmm....
Those [color] tabs were supposed to make it more legible - guess there's a problem with the forum somewhere...
JohnI changed them to [code]
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
Can you send me a sample file by email? I will take a look at the issue.
Edited: Tuesday, January 17, 2006 by
GenoProSupport
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
It gets better...
I tried to move objects to a new genomap, and this worked OK, so I deleted the empty problem maps - and one of the maps which was previously working OK suddenly stopped working.
I am going to try copying everything into a new file - see if that works.
Regards
John
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
... so I deleted the empty problem maps - and one of the maps which was previously working OK suddenly stopped working. What you mean by suddenly stopped working? Do you mean a crash or the "application must be closed" message?
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
As expected, if I copy and paste all the maps into a new .gno file, it works correctly - but of course it loses all the hyperlinks en route. Would export / import retain hyperlinks?
Too late to try it today - I will have a play tomorrow night.
Regards
John
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.0.1.4
Last Login: Saturday, August 11, 2007
Posts: 12,
Visits: 40
|
Nothing as exciting as it crashing (your applications are too well written for that!) - just came up with the 'no drawing objects' message when generating the report.
John
|