* Error Message

Homeless Posts from the old forum system
Locked
User avatar
PyreneesPirate
Famous
Posts: 144
Joined: 06 Feb 2009 20:30
Family Historian: V7
Location: Montamat, SW France

Error Message

Post by PyreneesPirate » 31 Oct 2010 14:36

Hello there,

I have just installed AS today and started to use with a new family for testing purposes, but after entering the head and spouse, I tried to enter new sibling, child and parent and after each of these, I get the following error....have I done something wrong??  It is a test family. I used to use Gedcom Census...Is it a clash of these programs?

Would really appreciate some feedback please.

Many thanks
PP [cry]



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ApplicationException: Invalid GEDCOM Error on line 22: 0 @F1@ FAM
There is another family with ID 1
  at AncestralSources.GEDCOMTree.FamilyAdd(GEDCOMNode& newnode)
  at AncestralSources.GEDCOMTree.CopyUnlinkedRecordsToTree(Int32 NewRecordPos)
  at AncestralSources.modNewRecords.CopyUnlinkedRecordsToTree()
  at AncestralSources.frmMain.CallFrmNewIndividual()
  at AncestralSources.frmMain.LnkAddParent_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
  at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
  at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.Label.WndProc(Message& m)
  at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ancestral Sources
   Assembly Version: 1.1.0.0
   Win32 Version: 1.1.0.0
   CodeBase: file:///C:/Program%20Files/Ancestral%20Sources/Ancestral%20Sources.exe
----------------------------------------
Microsoft.VisualBasic
   Assembly Version: 8.0.0.0
   Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


   


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




ID:4846

avatar
nsw

Error Message

Post by nsw » 31 Oct 2010 17:42

Hi

No it's nothing to do with Gedcom Census. Actually this is the first error I've had reported with this version of Ancestral Sources!

I've been able to repeat this error, following your information so thanks for that.

Apologies for this problem. I'll post more details when I've investigated further.

See if you get the same errors if you work with a copy of your usual file - it might relate to it being small file with few families and/or source records already in it.

Nick

avatar
nsw

Error Message

Post by nsw » 31 Oct 2010 20:49

The error was caused by a silly typing mistake in my coding - literally one word change fixes the problem.

You won't get this error if your file has at least 1 family record AND 1 source record before you add any new individuals to your file in Ancestral Sources.

This error will be fixed in the next version so thanks for reporting it.

Nick

Locked