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

GenoPro Support Forum




'No drawing objects' in genomap.svg

Click to view RSS...
Author
Posted Wednesday, January 18, 2006 - Post #9981
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
John B B (1/18/2006)
Looks like corruption in the .GNO.

Gee.  This is bad news.  What error do you get from the .gno file?  I wonder what could have caused file corruption.  This is a serious issue, if you can help, I would appreciate.  Thanks.

Posted Wednesday, January 18, 2006 - Post #9980
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.0.1.4

Last Login: Saturday, August 11, 2007
Posts: 12, Visits: 40
Just to let you know that I have got round this problem by exporting to XML, then opening the XML file. This appears to work without losing any data, and the report now works as expected.

Looks like corruption in the .GNO.

Regards
John
Posted Tuesday, January 17, 2006 - Post #9969
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

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
Posted Tuesday, January 17, 2006 - Post #9968
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

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
Posted Tuesday, January 17, 2006 - Post #9967
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
... 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?

Posted Tuesday, January 17, 2006 - Post #9966
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

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
Posted Tuesday, January 17, 2006 - Post #9965
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
Can you send me a sample file by email?  I will take a look at the issue.

Edited: Tuesday, January 17, 2006 by GenoProSupport
Posted Tuesday, January 17, 2006 - Post #9964
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
94555 (1/17/2006)
Hmmm....

Those [color] tabs were supposed to make it more legible - guess there's a problem with the forum somewhere...

John

I changed them to [code]

Posted Tuesday, January 17, 2006 - Post #9963
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

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
Posted Tuesday, January 17, 2006 - Post #9962
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

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


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse