* Ancestral Sources under Wine...

AS allows faster and more convenient creation of source records for Family Historian.
Post Reply
avatar
zed
Silver
Posts: 8
Joined: 16 Nov 2002 19:24
Family Historian: V6.2
Location: New Zealand

Ancestral Sources under Wine...

Post by zed » 25 Apr 2012 10:47

My OS is LMDE (LInux Mint Debian Edition) and I am using Family Historian v.4.13 through Wine and have just downloaded and installed Ancestral Sources32bit v3_0_0.

Tried to run it and got an error message that I had to install Mono. Installed Mono-2.10.8-gtksharp-3.12.11-win31-1.exe

Clicking on the Ancestral Sources icon results in a momentary flash of the program loading and then it stops.

Trying to run through the command line, I get the following output:

-----------------------------------------------------------------------------------------
zed@lmde ~ $ env WINEPREFIX='/home/zed/.wine' wine 'C:Program
FilesAncestral SourcesAncestral Sources.exe'
wine: cannot find L'C:\windows\system32\plugplay.exe'
System.MissingMemberException: Cannot find the requested class member.
at Microsoft.VisualBasic.CompilerServices.LateBinder.BindToMethod
(BindingFlags bindingAttr, System.Reflection.MethodBase[] match,
System.Object[]& args, System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] names,
System.Object& state) [0x00000] in :0
at System.MonoType.InvokeMember (System.String name, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object target,
System.Object[] args, System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] namedParameters)
[0x00000] in :0
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet
(System.Object o, System.Type objType, System.String name, System.Object[]
args, System.String[] paramnames, System.Boolean[] CopyBack) [0x00000] in
:0
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet
(System.Object Instance, System.Type Type, System.String MemberName,
System.Object[] Arguments, System.String[] ArgumentNames, System.Type[]
TypeArguments, System.Boolean[] CopyBack) [0x00000] in :0
at AncestralSources.modSourceBaptismRoutines.DrawTabColor (System.Object
sender, System.Windows.Forms.DrawItemEventArgs e, Color FocusedBackColor,
Color FocusedForeColor, Color NonFocusedBackColor, Color
NonFocusedForeColor, Color FormBackColor) [0x00000] in :0
at AncestralSources.frmMain.TabMainDetails_DrawItem (System.Object sender,
System.Windows.Forms.DrawItemEventArgs e) [0x00000] in :0
at System.Windows.Forms.TabControl.OnDrawItem
(System.Windows.Forms.DrawItemEventArgs e) [0x00000] in :0

at System.Windows.Forms.TabControl.OnDrawItemInternal
(System.Windows.Forms.DrawItemEventArgs e) [0x00000] in :0

at (wrapper remoting-invoke-with-check)
System.Windows.Forms.TabControl:OnDrawItemInternal
(System.Windows.Forms.DrawItemEventArgs)
at System.Windows.Forms.Theming.Default.TabControlPainter.DrawTab
(System.Drawing.Graphics dc, System.Windows.Forms.TabPage page,
System.Windows.Forms.TabControl tab, Rectangle bounds, Boolean is_selected)
[0x00000] in :0
at System.Windows.Forms.Theming.Default.TabControlPainter.Draw
(System.Drawing.Graphics dc, Rectangle area, System.Windows.Forms.TabControl
tab) [0x00000] in :0
at System.Windows.Forms.ThemeWin32Classic.DrawTabControl
(System.Drawing.Graphics dc, Rectangle area, System.Windows.Forms.TabControl
tab) [0x00000] in :0
at System.Windows.Forms.TabControl.Draw (System.Drawing.Graphics dc,
Rectangle clip) [0x00000] in :0
at System.Windows.Forms.TabControl.OnPaintInternal
(System.Windows.Forms.PaintEventArgs pe) [0x00000] in :0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00000] in :0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] in :0
at System.Windows.Forms.TabControl.WndProc (System.Windows.Forms.Message&
m) [0x00000] in :0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in :0
---------------------------------------------------------------------------------

followed again by a momentary glimpse of the Ancestral Sources screen and
then nothing.

Nick hasn't come across this problem and is not able to assist so, at the suggestion of a member I am posting it here, in the hope that someone can help me to solve the problem.

Zed


ID:6185

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Ancestral Sources under Wine...

Post by NickWalker » 25 Apr 2012 12:42

Actally I suggested you post it here as I know of at least one user who uses Wine to run Ancestral Sources. Not totally glitch free but it does run.

Ancestral Sources uses the .Net framework and therefore, as I understand it, Linux requires the Mono platform which is a linux implementation of .Net.

Not looked at this for a while so I may get the detail wrong here, but I believe the standard tabbed dialogue in .NET doesn't allow the colour of tabs to be set satsifactorily so I'm using a work-around to paint some colours onto those tabs. to match the rest of the control. The error suggests that Mono is having some problems with that.

I can potentially work with Zed by sending him a version with that code removed and if this fixes the problem I could add an option to AS to miss this out. However, before doing that I'd like to see if any users of AS on linux have any suggestions as to why Zed is seeing this problem when they're not.

Nick
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

avatar
gbrowne
Diamond
Posts: 72
Joined: 22 Apr 2008 12:45
Family Historian: None

Ancestral Sources under Wine...

Post by gbrowne » 26 Apr 2012 12:01

Hi Zed,

I had some success with AS using Wine on Ubuntu 11.04 though I haven't tried Mint. From memory, I think I just installed .net from the M$ installer and didn't have to do a lot of tweaking.

There were various minor issues, but it did run and I was able to enter census details etc. I think probably the most annoying thing is that approximately every other time you run it you get an crash error report.

Hope that gives you some hope, though I have to admit that as a Linux-only user, I still use good old GC under Wine for all serious work !

Cheers,
Geoff.[smile]

Post Reply