Hi,
I just have downloaded the source and compiled it (on Windows). Naturally I have set the address of the HG in Program.cs (Gene - could you please correct the description on the web page? It is line 33 in Program.cs, not line 19 in SmartControl.cs). I have entered address as 127.0.0.1:81, as HG is listening on port 81 of my RPi B+.
Couple of seconds after starting the SC (the gui shows on the screen) I am getting the below errors and SC ends. Any advise/help? For compiling I am using Visual Studio Community Edition on Windows.
(mono:12345): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-can-change-accels after class was initialised
(mono:12345): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popup-delay after class was initialised
(mono:12345): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popdown-delay after class was initialised
slf4net: The factory resolver AppConfigFactoryResolver returned null from GetFactory(). The fallback no operation logger factory will be used instead.
Application information:
Application domain: HgSmartControl.exe
Application path: /home/pi/HomeGenie-SmartControl-master-2/HgSmartControl/bin/Debug/
Machine name: viper-pi
Unhandled Exception:
System.ArgumentNullException: Argument cannot be null.
Parameter name: value
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value) [0x00000] in <filename unknown>:0
at HgSmartControl.Widgets.GraphPlotter.<UpdateStatistics>b__7_0 (System.String data) [0x00000] in <filename unknown>:0
at HomeGenie.Client.ControlApi+<>c__DisplayClass17_0.<ServiceCall>b__0 (System.Object sender, System.Net.DownloadStringCompletedEventArgs e) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OnDownloadStringCompleted (System.Net.DownloadStringCompletedEventArgs e) [0x00000] in <filename unknown>:0
at System.Net.WebClient.<DownloadStringAsync>m__2 (System.Object state) [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Argument cannot be null.
Parameter name: value
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value) [0x00000] in <filename unknown>:0
at HgSmartControl.Widgets.GraphPlotter.<UpdateStatistics>b__7_0 (System.String data) [0x00000] in <filename unknown>:0
at HomeGenie.Client.ControlApi+<>c__DisplayClass17_0.<ServiceCall>b__0 (System.Object sender, System.Net.DownloadStringCompletedEventArgs e) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OnDownloadStringCompleted (System.Net.DownloadStringCompletedEventArgs e) [0x00000] in <filename unknown>:0
at System.Net.WebClient.<DownloadStringAsync>m__2 (System.Object state) [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0