WarFoundry on OSX

Posts

[Unknown user]'s Avatar
cyberbooster
New blood
New blood
Progress to next rank:
 
60%
 
Posts: 30
Joined: 02 Nov 2011, 16:53

WarFoundry on OSX

Postby cyberbooster at 13 Nov 2011, 13:05

Hello everybody!
I tried to use WarFoundry on Mac OsX using Mono. It works pretty fine and I played with it a little.
I found some errors and some issues, so I'm reporting a log here.

In order to make WarFoundry run on OsX (10.6.8 tested) you must:

I tried to add some units (with the default game system/race), playing around a bit and I discovered:
  • Adding a unit which doesn't exists gives an error
  • When exporting to HTML it takes A LOT (60/70 secs) and it seems to hang, but in the end it works (remember to add the .html extension at the end of the filename).

Here's the complete log:
Code: Select all
INFO  [13:11:28]: FrmMainWindow..ctor() - Line: 0 - Opening FrmMainWindow
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Loading preferences
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Loading translations
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Initialising
DEBUG [13:11:29]: FrmMainWindow..ctor() - Line: 0 - Initialising complete - seeing if we can load default army or system
DEBUG [13:11:33]: FrmMainWindow.CreateNewArmy() - Line: 0 - Create new army
WARN  [13:11:33]: FrmMainWindow.FileLoadingFinished() - Line: 0 - Failed to load /Users/Miche/Downloads/WarFoundry-GTK-v0.1/WarFoundry-GTK-v0.1/data/.DS_Store: File not handled as a Race or Game System definition: /Users/Miche/Downloads/WarFoundry-GTK-v0.1/WarFoundry-GTK-v0.1/data/.DS_Store
DEBUG [13:11:34]: FrmNewArmy.OnSelectionChanged() - Line: 0 - Race selection changed
DEBUG [13:11:34]: FrmNewArmy.OnSelectionChanged() - Line: 0 - Race selection changed
DEBUG [13:11:34]: FrmNewArmy.OnSystemComboChanged() - Line: 0 - System selection changed: Sample Game System
DEBUG [13:11:36]: FrmMainWindow.AddCategoryButtons() - Line: 0 - Toolbar button count: 7. Adding 5 categories.
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Resetting tree
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Last button index: 11
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 11 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 10 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 9 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 8 state to False
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 7 state to False
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Resetting tree
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Loading in categories to tree
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Characters
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Regiments
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category War Machines
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Monsters
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Append category Allies
DEBUG [13:11:36]: FrmMainWindow.SetArmyTree() - Line: 0 - Finished loading tree categories
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Last button index: 11
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 11 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 10 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 9 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 8 state to True
DEBUG [13:11:36]: FrmMainWindow.SetCategoryButtonsSensitive() - Line: 0 - Setting button 7 state to True
DEBUG [13:11:38]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Characters
DEBUG [13:11:38]: FrmNewUnit..ctor() - Line: 0 - Listing 1 unit types in Characters
DEBUG [13:11:38]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Empire General
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Empire General has 1 stats arrays
DEBUG [13:11:40]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:40]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:40]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Empire General
DEBUG [13:11:40]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 0

(WarFoundry-GTK:1161): Gtk-WARNING **: Impossibile trovare l'icona «gtk-close». Non è stato trovato
il tema «hicolor» e potrebbe essere necessario installarlo.
È possibile recuperarne una copia presso:
   http://icon-theme.freedesktop.org/releases
DEBUG [13:11:46]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Regiments
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Listing 4 unit types in Regiments
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen Champion
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Specialists
DEBUG [13:11:46]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Heavies
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Gunnery Specialists has 1 stats arrays
DEBUG [13:11:48]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:48]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:48]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Unit of 5 Gunnery Specialists
DEBUG [13:11:48]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 1
DEBUG [13:11:52]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->5, 0%->100%
DEBUG [13:11:52]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->5, 0%->100%
DEBUG [13:11:56]: FrmAddEquipment.OkayButtonClicked() - Line: 0 - Okay clicked
DEBUG [13:11:59]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Monsters
DEBUG [13:11:59]: FrmNewUnit..ctor() - Line: 0 - Listing 0 unit types in Monsters

(WarFoundry-GTK:1161): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed

(WarFoundry-GTK:1161): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
Marshaling clicked signal
FATAL [13:11:00]: FrmMainWindow.HandleUnhandledException() - Line: 0 - (System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[IBBoard.WarFoundry.API.Objects.Unit,IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget].TryGetValue (IBBoard.WarFoundry.API.Objects.Unit key, IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget& value) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.ShowUnitWidget (IBBoard.WarFoundry.API.Objects.Unit unit) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.OnAddUnitActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
DEBUG [13:11:03]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Allies
DEBUG [13:11:03]: FrmNewUnit..ctor() - Line: 0 - Listing 0 unit types in Allies

(WarFoundry-GTK:1161): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed

(WarFoundry-GTK:1161): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
Marshaling clicked signal
FATAL [13:11:05]: FrmMainWindow.HandleUnhandledException() - Line: 0 - (System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[IBBoard.WarFoundry.API.Objects.Unit,IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget].TryGetValue (IBBoard.WarFoundry.API.Objects.Unit key, IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget& value) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.ShowUnitWidget (IBBoard.WarFoundry.API.Objects.Unit unit) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.OnAddUnitActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
DEBUG [13:11:07]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Characters
DEBUG [13:11:07]: FrmNewUnit..ctor() - Line: 0 - Listing 1 unit types in Characters
DEBUG [13:11:07]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Empire General
DEBUG [13:11:10]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Regiments
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Listing 4 unit types in Regiments
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen Champion
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Swordsmen
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Specialists
DEBUG [13:11:10]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Gunnery Heavies
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - Unit Gunnery Heavies has 1 stats arrays
DEBUG [13:11:14]: UnitDisplayWidget.CreateStatsView() - Line: 0 - Create NodeView for stats ID whDefault
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - Adding row to data table for whDefault
DEBUG [13:11:14]: UnitDisplayWidget.SetStats() - Line: 0 - TreeStore supports 1 columns
DEBUG [13:11:14]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Adding page for Unit of 5 Gunnery Heavies
DEBUG [13:11:14]: FrmMainWindow.ShowUnitWidget() - Line: 0 - Page added at index 2
DEBUG [13:11:16]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:16]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:19]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:19]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:21]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:21]: FrmAddEquipment.SetUnitEquipmentLimits() - Line: 0 - IsRatio? False. Limits: 0->3, 0%->60%
DEBUG [13:11:23]: FrmAddEquipment.OkayButtonClicked() - Line: 0 - Okay clicked

(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type

(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:49]: FrmPreferences.languageListChanged() - Line: 0 - New language: en

(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:10]: FrmMainWindow.OnMiExportAsBasicHtmlActivated() - Line: 0 - Exporting re to /Users/Miche/Desktop/testHTML as basic HTML

(WarFoundry-GTK:1161): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [13:11:31]: FrmMainWindow.Main() - Line: 0 - Application ended



It keeps asking for a hicolor icon theme here:
Code: Select all
(WarFoundry-GTK:1161): Gtk-WARNING **: Impossibile trovare l'icona «gtk-close». Non è stato trovato
il tema «hicolor» e potrebbe essere necessario installarlo.

Impossible to find gtk-close. It was not possible to find the <<hicolor>> theme, maybe you should install it.

I tried to ./configure and make hicolor, but it didn't solve the issue.



I hope it will help to improve the software!

[Unknown user]'s Avatar
IBBoard
Administrator, Commissar
Administrator
Commissar
Progress to next rank:
 
38%
 
Posts: 4222
Joined: 20 Mar 2001, 20:24
Location: Worcestershire, UK

Re: WarFoundry on OSX

Postby IBBoard at 13 Nov 2011, 19:13

The hicolor icon theme is a GTK# thing rather than a WarFoundry thing - hicolor is the default theme. The idea is that Linux has a consistent (and easy to add to) icon theming system. Wherever possible, the GTK# UI uses what are called "stock icons", which means they're loaded from the user's selected icon theme using a standard set of names (such as gtk-close) and so it all integrates nicely with the rest of their apps. OS X is Unix or BSD-based and so could follow a lot of the conventions, but I guess it doesn't have the full set of icon themes. Unfortunately, I'm used to hicolor being there by default, so I'm not quite sure what the process is to install it. It looks like it should be "./configure && make PREFIX=/usr" , possibly with "&& sudo make install" on the end (or however the Mac does super user permissions). I'd have thought there was a single "download an extract" option somewhere, though.

I'll check out the "Adding a unit which doesn't exists" issue - do you mean that you could click OK on the "Add Unit" dialog when the category had no units?

According to the logs, the export took 20s. That's a bit odd, since the army doesn't look that big. It could be that it got stuck because of the earlier "adding unit" issue. Can you try it again with a clean army (just create a new one and export without adding anything) and tell me what it does?

Thanks.
Out now: Dawn of War Texture/Skin Downloads
At v0.1: WarFoundry (open source, cross-platform, multi-system army creation application)

[Unknown user]'s Avatar
cyberbooster
New blood
New blood
Progress to next rank:
 
60%
 
Posts: 30
Joined: 02 Nov 2011, 16:53

Re: WarFoundry on OSX

Postby cyberbooster at 13 Nov 2011, 22:01

Ok with the icons, I forgot to do make install eheh.

Code: Select all
DEBUG [22:11:28]: FrmMainWindow.OnMiExportAsBasicHtmlActivated() - Line: 0 - Exporting Test to /Users/Miche/Desktop/test.html as basic HTML

(WarFoundry-GTK:2877): Gtk-WARNING **: Unable to find default local directory monitor type
DEBUG [22:11:39]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Infantry
DEBUG [22:11:39]: FrmNewUnit..ctor() - Line: 0 - Listing 15 unit types in Infantry


this is the empty army exported. It didn't took 11s, but around 45s.
If you look at the code below, you can see that the timestamps are not correctly displayed. I did the test at 22:56 (give or take), so it's not correct to have the timestamp at 22:11 and as you can see below the time is gone back!

Code: Select all
DEBUG [22:11:39]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Stormrage Veterans Section
DEBUG [22:11:12]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Armour




If I click the + in order to add a unit and then I click the "create" button without selecting any unit type, I get an unhandled exception with this log:
Code: Select all

DEBUG [23:11:25]: FrmMainWindow.OnAddUnitActivated() - Line: 0 - Show FrmNewUnit for Infantry
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Listing 15 unit types in Infantry
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Steel Warriors Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Steel Warriors Section
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Steel Warriors Platoon
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Drakkarim Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Drakkarim Section
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Drakkarim Platoon
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type ForgeGuard Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type ForgeGuard Section
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Valkyr Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Valkyr Section
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Brokkrs Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Brokkr Section
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Brokkr Platoon
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Stormrage Veterans Team
DEBUG [23:11:25]: FrmNewUnit..ctor() - Line: 0 - Adding unit type Stormrage Veterans Section

(WarFoundry-GTK:2877): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed

(WarFoundry-GTK:2877): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed
Marshaling clicked signal
FATAL [23:11:28]: FrmMainWindow.HandleUnhandledException() - Line: 0 - (System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[IBBoard.WarFoundry.API.Objects.Unit,IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget].TryGetValue (IBBoard.WarFoundry.API.Objects.Unit key, IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget& value) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.ShowUnitWidget (IBBoard.WarFoundry.API.Objects.Unit unit) [0x00000] in <filename unknown>:0
  at IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.OnAddUnitActivated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0



Anyway the software is pretty much usable, so no complaints!

[Unknown user]'s Avatar
IBBoard
Administrator, Commissar
Administrator
Commissar
Progress to next rank:
 
38%
 
Posts: 4222
Joined: 20 Mar 2001, 20:24
Location: Worcestershire, UK

Re: WarFoundry on OSX

Postby IBBoard at 14 Nov 2011, 19:27

That's bizarre that the time slips backwards. The time should come from the Log4Net library, which is presumably getting it from the system (although I don't know how). I'm not even sure how to debug it, since it is within a library that we just ship as-is.

I'll add a bug for the "Create with no selection" issue. I tend to double-click on units, so I've not noticed problems with Create :)

With the export, we'd need more debugging to work out where the delay was. Since I'm planning to drop the basic HTML exporter and use Clutch's XML-based one then I think it'll be best if we wait until we have a build that you can test.
Out now: Dawn of War Texture/Skin Downloads
At v0.1: WarFoundry (open source, cross-platform, multi-system army creation application)