chef 3745 Posted June 23, 2014 Share Posted June 23, 2014 (edited) @@Spaceboy (please read at the bottom of this post as well) @@Cynful @@travelmanics @@wraslor your gonig to want to read this.... Good news, I found the culprit for why the Speech Recognizer is not listening. It happens when the program first starts and the Device Options page opens up for the user to choose a default device to control. Whenever a menu page opens the Speech Recognizer it haulted. In most cases when the menu pages closes the speech recognizer is either rebuilt or restarted. Except in the case of the Device Options Page. For some reason I hadn't entered code to restart the speech recognizer. This in effect stopped the speech recognizer from ever starting. BIG MISTAKE ON MY END! It had been a while since I had started the code from scratch so this issue went completely unnoiticed, while I checked, and re checked the main code for issues with the speech recognizer. Needless to say, it was a stupid bug which rendered the entire application useless. Now, however, I have added a page to first run which allows the user to choose a device to control. This stops the device list from opening during the execution of the main application, and hence starting the speech recognizer right away. BUG SQUASHED! however I feel kind of stupid, for the fact that it was something so trival which had major reprocutions in the application. Next, I have to figure out why, some of the 64bit operating systems are able to run the LED filters and some are not. I will go back from the begnning of the code and proceed with the same process I used to squash the Speech Recognizer bug, and find the reason why the LEDs are not changing. Edit: I have also squashed the "Wave.Lib" bug as well, that travelmanics found in the prior post. I believe I have also fixed the RPC error which would cause the entire application to become unresponsive once thrown. I have a fixed version! i will be i touch! Spaceboy - What OS are you running 7 or 8? and also what type of OS 32 or 64bit? i have a feeling you are running 64bit. Unfortunatley the filters we use to change the LEDs colour are not a part of the SDK. I really have to get a teamviewer session going with someone who has a 32bit system and some who is running a 64bit system to double check the LED filters. I have a utility which will tell me right away what it wrong. Edited June 23, 2014 by chef 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted June 25, 2014 Share Posted June 25, 2014 (edited) 1. The "Object not set to an instance of an object" error which was reported by cynful during the openning of the "First run Speech Training" page, has been squashed. The only way to stop this error, is to double check that a proper client object has interfaced with the Media Browser Server before requesting information. And... to be honest, this should be common practice throughout the entire application, and for anyone looking to create a client application for Media Browser. 2. Logging has now been added to the application. This does slow down some of parts of the app, because the log file is continuously open, and when ever an entry is made, it asyncroniously flushes the data to the open log file. What this means is that you can open the log file to see what is happening or what has happened, but can not delete the file while the application is open. 3. Application Setting XML errors will be flushed to the log. Any time the Application Setting XML file opened it will be recorded to the log, and when ever it is changed it will also be recorded to the log file. When the Application Settings file is saved, I have created my own Asyncronous Function Task, which then checks to make sure all the proper nodes exist in the XML file and returns a Task(Of Boolean), before proceeding with the application. If there is an error in writting the Application Settings XML, we'll know where it happened, and when it happened. 4. We can kepp Wake on LAN capibilities after all. if the computer doesn't handle WOL, then the node for the MAC address in the application Settings XML will rread "unavailable". Edited June 25, 2014 by chef 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted June 28, 2014 Share Posted June 28, 2014 Alright! Here we go again! Lets hope I fixed the RPC error. However if you are running applications that set up their own firewalls this could end up being an issue. Also, Let's hope I actually got the bugs mentioned above! I have my fingers crossed!. 64bit installer: https://dl.dropboxusercontent.com/u/46151346/MBK64bit.zip 32bit installer: https://dl.dropboxusercontent.com/u/46151346/MBK32bit.zip @@Cynful 1 Link to comment Share on other sites More sharing options...
Sean Forester 1 Posted June 28, 2014 Share Posted June 28, 2014 Still have two errors. The first still happens as soon as the program launches, and the second happens when it gets to speech engine training. ************** Exception Text ************** System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at System.Management.ThreadDispatch.Start() at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at Core.Neurosphere.Tasks.Environment.Network.GetMBServerMACAddress.GetAddress(String MediaBrowserServerProtocolAddress) at Core.MediaBrowserClientFactory.VB$StateMachine_34_GetServerInformationAsync.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Core.BeginFirstRunSetup.VB$StateMachine_2_InitalizeApplication.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Media Browser Kinect Assembly Version: 2.0.6.5 Win32 Version: 2.0.6.5 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/Media%20Browser%20Kinect.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- Microsoft.Kinect Assembly Version: 1.7.0.0 Win32 Version: 1.7.0.529 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Kinect/v4.0_1.7.0.0__31bf3856ad364e35/Microsoft.Kinect.dll ---------------------------------------- MetroControls Assembly Version: 1.2.1.0 Win32 Version: 1.2.1.0 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MetroControls.DLL ---------------------------------------- MediaBrowser.ApiInteraction Assembly Version: 3.0.5277.17982 Win32 Version: 3.0.5277.17982 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.ApiInteraction.DLL ---------------------------------------- MediaBrowser.Model Assembly Version: 3.0.5282.32911 Win32 Version: 3.0.5282.32911 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.Model.DLL ---------------------------------------- MediaBrowser.Kinect.ResponseDictionary Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.Kinect.ResponseDictionary.DLL ---------------------------------------- System.Speech Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll ---------------------------------------- System.Net.Http.WebRequest Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http.WebRequest/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.WebRequest.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- ************** JIT Debugging ************** ############################ ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Core.FirstRunSpeechProfileTraining.VB$StateMachine_8_FirstRunSpeechProfileTraining_Load.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Media Browser Kinect Assembly Version: 2.0.6.5 Win32 Version: 2.0.6.5 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/Media%20Browser%20Kinect.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- Microsoft.Kinect Assembly Version: 1.7.0.0 Win32 Version: 1.7.0.529 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Kinect/v4.0_1.7.0.0__31bf3856ad364e35/Microsoft.Kinect.dll ---------------------------------------- MetroControls Assembly Version: 1.2.1.0 Win32 Version: 1.2.1.0 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MetroControls.DLL ---------------------------------------- MediaBrowser.ApiInteraction Assembly Version: 3.0.5277.17982 Win32 Version: 3.0.5277.17982 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.ApiInteraction.DLL ---------------------------------------- MediaBrowser.Model Assembly Version: 3.0.5282.32911 Win32 Version: 3.0.5282.32911 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.Model.DLL ---------------------------------------- MediaBrowser.Kinect.ResponseDictionary Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.Kinect.ResponseDictionary.DLL ---------------------------------------- System.Speech Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll ---------------------------------------- System.Net.Http.WebRequest Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http.WebRequest/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.WebRequest.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- ************** JIT Debugging ************** Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
chef 3745 Posted June 28, 2014 Share Posted June 28, 2014 (edited) Okay. I am going to wrap that "GetMACAddress" function in a "try and catch" statement. I am using some unmanaged code to request the MAC address. I thought that because the kinect is requesting permissions with windows fire wall settings it would allow me to request protected information like the MAC address, but it would seem otherwise. Could you please look in the "global/logs" folder and post what is written there, here so I can see what it says? That function is throwing the whole thing off. I tried to have it return an empty string, but if it fails, then it will cause the second error to happen during first run speech training. Edited June 28, 2014 by chef Link to comment Share on other sites More sharing options...
Cynful 30 Posted June 29, 2014 Share Posted June 29, 2014 Installation: Standard RPC error on startup LEDS install fine Object Instance on Speech Training Profile ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Core.FirstRunSpeechProfileTraining.VB$StateMachine_8_FirstRunSpeechProfileTraining_Load.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state) Program halts Rerun setup .NET Framework error on startup: Object not set to an instance ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Core.Logger.AllApplicationSettingsXMLNodesExist() at Core.Logger.WriteEntry(String Message, EventType EventType, Boolean CheckApplicationSettingsXML) at Core.MediaBrowserClientFactory.VB$StateMachine_34_GetServerInformationAsync.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Core.BeginFirstRunSetup.VB$StateMachine_2_InitalizeApplication.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state) Install leds Repeat of Speech Training error. Sorry Chef. Installer is broken for me. Whatever you've changed to stop that file being created/referenced has made it non passable. Cyn Link to comment Share on other sites More sharing options...
chef 3745 Posted June 29, 2014 Share Posted June 29, 2014 @@Sean Forester @@Cynful Okay I have removed all WOL (MAC address) lines of code from the app. I am afraid that this is why there are RPC errors and why clients objects aren't being created properly. I stripped the code down to only necessary line, in hopes that it starts working properly. 32bit installer https://dl.dropboxusercontent.com/u/46151346/MBK32bit.zip 64bit installer https://dl.dropboxusercontent.com/u/46151346/MBK64bit.zip Link to comment Share on other sites More sharing options...
Spaceboy 2493 Posted June 29, 2014 Share Posted June 29, 2014 i'm on win 8.1 64bit Link to comment Share on other sites More sharing options...
chef 3745 Posted June 29, 2014 Share Posted June 29, 2014 i'm on win 8.1 64bit The 64bit installer should work for you @@Spaceboy. Link to comment Share on other sites More sharing options...
travelmanics 17 Posted June 29, 2014 Share Posted June 29, 2014 hi chef 1 attempt - firewall and anti virus diabled 1. program installs ok 2. biometrics folder is not created so created so created manually 3. load app for first time all works without erorr but LEDs still blink green only 4. app aouto starts and I get an error dialog, which says this is a known error - just need to restart the app and I wont see it again log file 29/06/2014 21:44:31: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:44:31: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:53:04: Success Core.FirstRunDevices, Text: FirstRunDevicesC:\ProgramData\Media Browser Kinect\settings\users\travelmanics\Media BrowserDevice Settings.xml is open for writting 29/06/2014 21:53:04: Success FirstRunDevices: HTPC/travelmanics 29/06/2014 21:53:04: Success FirstRunDevices: MB-Classic 29/06/2014 21:53:04: Success FirstRunDevices: 001F1F323262 29/06/2014 21:53:53: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 21:53:53: 0 Global Speech Grammar folder created 29/06/2014 21:53:53: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:53:54: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:53:54: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 21:57:28: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 21:57:28: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:57:29: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:57:29: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 22:09:18: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 22:09:18: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 22:09:19: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 22:09:19: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 22:16:14: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 22:16:14: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 22:16:15: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 22:16:15: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 6. reopen the app this time says setting speech properties, which it did not say on the first occasion 7. app says WAITING try saying Kinect - Start Listening but nothing happens 8. click speech link and get attached error below 9. close and reopen app try chnaging designation to Neil but this does not make any difference i can only assume this is due tot the led filters Is there any specific you would like me to try? Link to comment Share on other sites More sharing options...
Cynful 30 Posted June 30, 2014 Share Posted June 30, 2014 @@chef New install works without a hitch. Leds installed perfectly, blinking, blinking, blinking. Speech Training Profile doesn't break Biometrics completed and accurately saved to folder in settings\global Runs without errors - Though biometrics not picking up presence. Might be bad photos. Says correct user in top right of GUI anyway ... Red light on Kinect - Waiting under Speech Recognised. Not listening to a damned word I say. Levels adjusted. Speech Profile double checked and trained. Still not listening. Change Designation from "Kinect" to "Media" - Still not listening Reapply all required settings. Still not listening. Opening speech tab does not break program for me. Change voice and levels again just to be sure. Still ignoring me like I'm a ginger-haired stepchild. LOG: 30/06/2014 5:04:34 PM: Success Microsoft.Kinect.KinectSensor Connected30/06/2014 5:04:34 PM: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML30/06/2014 5:05:32 PM: Success Core.FirstRunDevices, Text: FirstRunDevicesC:\ProgramData\Media Browser Kinect\settings\users\Luke\Media BrowserDevice Settings.xml is open for writting30/06/2014 5:05:32 PM: Success FirstRunDevices: MEDIAONE/Media One30/06/2014 5:05:32 PM: Success FirstRunDevices: MB-Classic30/06/2014 5:05:32 PM: Success FirstRunDevices: 10a9b22768a5270cffb24fc44ad6986030/06/2014 5:06:27 PM: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer30/06/2014 5:06:27 PM: 0 Global Speech Grammar folder created30/06/2014 5:06:27 PM: Success Microsoft.Kinect.KinectSensor Connected30/06/2014 5:06:28 PM: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML30/06/2014 5:06:28 PM: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 10.1.1.330/06/2014 5:06:28 PM: Success Core.MediaBrowserClientFactory: Port Address Saved - 809630/06/2014 5:06:28 PM: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist30/06/2014 5:06:28 PM: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient30/06/2014 5:09:20 PM: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer30/06/2014 5:09:20 PM: Success Microsoft.Kinect.KinectSensor Connected30/06/2014 5:09:21 PM: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML30/06/2014 5:09:21 PM: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 10.1.1.330/06/2014 5:09:21 PM: Success Core.MediaBrowserClientFactory: Port Address Saved - 809630/06/2014 5:09:21 PM: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist30/06/2014 5:09:21 PM: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient Link to comment Share on other sites More sharing options...
chef 3745 Posted June 30, 2014 Share Posted June 30, 2014 @@Cynful Haha! That is excellent. I figured it was the WMI unmanaged code I used to gather information about the server computer. I took it out and now things are moving along I will now continue with the speech recognizer. Note: the face recognition may not pick you up quickly enough, I will make the amount of time the sensor searches for faces customizable for the user. I am very glad that the app can move forward. 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted June 30, 2014 Share Posted June 30, 2014 hi chef 1 attempt - firewall and anti virus diabled 1. program installs ok 2. biometrics folder is not created so created so created manually 3. load app for first time all works without erorr but LEDs still blink green only 4. app aouto starts and I get an error dialog, which says this is a known error - just need to restart the app and I wont see it again log file 29/06/2014 21:44:31: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:44:31: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:44:31: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:53:04: Success Core.FirstRunDevices, Text: FirstRunDevicesC:\ProgramData\Media Browser Kinect\settings\users\travelmanics\Media BrowserDevice Settings.xml is open for writting 29/06/2014 21:53:04: Success FirstRunDevices: HTPC/travelmanics 29/06/2014 21:53:04: Success FirstRunDevices: MB-Classic 29/06/2014 21:53:04: Success FirstRunDevices: 001F1F323262 29/06/2014 21:53:53: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 21:53:53: 0 Global Speech Grammar folder created 29/06/2014 21:53:53: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:53:54: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:53:54: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:53:54: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 21:57:28: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 21:57:28: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 21:57:29: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 21:57:29: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 21:57:29: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 22:09:18: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 22:09:18: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 22:09:19: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 22:09:19: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 22:09:19: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 29/06/2014 22:16:14: Success Core.SpeechSynthesisEngineBuilder: System.Speech.Synthesis.SpeechSynthesizer 29/06/2014 22:16:14: Success Microsoft.Kinect.KinectSensor Connected 29/06/2014 22:16:15: 0 Core.MediaBrowserClientFactory: Openning Application Settings XML 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: Protocol Address Saved - 192.168.0.6 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: Port Address Saved - 8096 29/06/2014 22:16:15: Success Core.MediaBrowserClientFactory: All Application Settings Nodes Exist 29/06/2014 22:16:15: Success Core.ApplicationMainForm, Text: MB Kinect and Control: MediaBrowser.ApiInteraction.ApiClient 6. reopen the app this time says setting speech properties, which it did not say on the first occasion 7. app says WAITING try saying Kinect - Start Listening but nothing happens 8. click speech link and get attached error below 9. close and reopen app try chnaging designation to Neil but this does not make any difference i can only assume this is due tot the led filters Is there any specific you would like me to try? @@travelmanics I am on the Recording devices error here. Are you using Windows 8? Also when you mentioned at the top of your post that the "Bio metrics Folder" didn't exist, did you receive an error, or could you elaborate on that a bit more. So far we have come a little ways towards making an extremely complicated app work. Glad you're still on board. Thank you Link to comment Share on other sites More sharing options...
travelmanics 17 Posted July 3, 2014 Share Posted July 3, 2014 Hi @@chef, No I am using windows 7 service pack 1 In regards to the biometrics folder. I have been checking whether existed at installation and if recreating it before I do a first run install. This was to prevent me getting errors. I will try again this evening - will not create the folder and see if I get an error. Will feedback ASAP Link to comment Share on other sites More sharing options...
travelmanics 17 Posted July 3, 2014 Share Posted July 3, 2014 Hi @@chef, Ignore my previous post regarding biometrics. I was probably carrying this over from earlier tests when this used to error. Just done a fresh install. Biometrics folder does not exist after the initial install but after first run config it gets created created and no error is thrown. Regards Link to comment Share on other sites More sharing options...
chef 3745 Posted July 4, 2014 Share Posted July 4, 2014 (edited) I have followed the path of the user based speech recognizer through my application, then used logging to figure out when the object is being created. It turns out that when the app was starting, Two recognizer engine objects where being created. It get a bit complicated, but the app syncs windows speech profiles with media browser user accounts. When this happens there are some really long running tasks which happen asynchronously. So, I am depending on one particular event to fire in the main thread of the app. The event is the loaded user name to appear on the main form in a label. When that happens, a speech recognition engine object is created with that profile account name loaded. But, there was an instance where the user name was loaded on to the main form twice. Why? I am still not sure... This caused a second speech engine to be created with no profile loaded, and hence odd recognition results, like none. We'll see if this fixes speech problems with a new test release this weekend. EDIT: I am an idiot! the user name is not loaded twice! The labels "textchanged" event fires twice because i change the color of the label text! The "TextChange Event" fires when the size/color/text has changed in the label. So this is why it is firing twice. This is one of those bugs that doesn't directly throw an , but does wreck the app. I have to fix this! Edited July 4, 2014 by chef 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted July 5, 2014 Share Posted July 5, 2014 @@Cynful @@travelmanics We have to start a new thread, this one is getting pretty big, se we have to move! Sorry guys! I have set up a new testing thread: http://mediabrowser.tv/community/index.php?/topic/8559-x360-kinect%E2%84%A2-remote-control-new-testingthread/ Link to comment Share on other sites More sharing options...
Recommended Posts