Jump to content

Help! - MB Kinect Crashing Immediately on Windows 8.1


Faceman09

Recommended Posts

Cynful

Okay @@chef here we go

 

Downloaded new MBKSetup.exe

Installed

First Run

Install LED Filters - Unhandled exception has occurred in your application. : The specified executable is not a valid application for this OS platform.

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

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Core.libUSB.MetroButton4_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs 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.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: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Media Browser Kinect
    Assembly Version: 2.0.0.4
    Win32 Version: 2.0.0.4
    CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/Media%20Browser%20Kinect.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
MetroControls
    Assembly Version: 1.2.1.0
    Win32 Version: 1.2.1.0
    CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MetroControls.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
----------------------------------------
MediaBrowser.ApiInteraction
    Assembly Version: 3.0.5229.41328
    Win32 Version: 3.0.5229.41328
    CodeBase: file:///C:/ProgramData/Media%20Browser%20Kinect/MediaBrowser.ApiInteraction.DLL
----------------------------------------
MediaBrowser.Model
    Assembly Version: 3.0.5231.22157
    Win32 Version: 3.0.5231.22157
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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.17929 built by: FX45RTMREL
    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
----------------------------------------

************** 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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.

Continue

Same error.

Continue

Same error.

Quit.

 

Hope that helps some. It is Greek to me.

  • Like 1
Link to comment
Share on other sites

chef

It tested that version with a standard filter.exe.

 

It looks as though I have to change it back in the installer.

 

I will he back soon.

Link to comment
Share on other sites

chef

Count down to the weekend. Then I will have the time to fix this cursive thing.

  • Like 1
Link to comment
Share on other sites

chef

@@Cynful

 

Without further a due, 2.6.3 remakes the filter.exe back to the 32bit OS. If the LED doesn't change,  you should be able to train the Speech recognizer, and the face recognizer.

 

If the Speech Recognizer doesn't pick up your voice well, then try opening Recording Devices (from the little speaker in the WIndows taskbar), choose configure with the Microphone array selected, then choose "Level". Put the level of the microphone all the way up to 100.

 

There is one other thing to look into, and that is accents.

 

I am currently trying to allow for culture info to be selected by the user. i believe that English US and also English Great Britan may allow for certain accents to be acknowledged better by the speech recognizer. 

 

 

https://dl.dropboxusercontent.com/u/46151346/MBK32bit.zip

Link to comment
Share on other sites

Cynful

@@chef

 

Downloaded and installed

 

First Run

Couldn't find Application.xml

Continue

Form 1 - Unhandled exception: The RPC server is unavailable (Exception from HRESULT: 0x800706BA).

Continue

Install Filters - RED AND YELLOW! *Happy Dance*

Speech Screen Glitched out and froze

 

Redo

 

First Run a second time

Install Filters

Speech Screen users!

Training Done.

Face Recog!!

Finished!!!

 

Red Kinect Light

Set device

Set designation

Adjusted microphone array levels

 

Red Light, red light, red light.

Audio Tracking correct but not listening?

  • Like 1
Link to comment
Share on other sites

chef

Very very happy to hear that it made it through first run with 32bit filters and face recognition.

 

Now back to the speech code to make it work.

 

I am not sure what RPC server is.

 

Are you running the kinect app on the same computer that the media browser server is on?

 

Also, are you using MBC?

 

I am very happy that first run completed, I literally said:"whoo hoo" and my wife thinks I am crazy.

 

I will be in touch.

Link to comment
Share on other sites

Cynful

I've isolated the system from the network so everything is runing on one computer only so as to avoid external complications.

 

MediaBrowser Classic yes. I prefer it for some reason.

 

Also, I've found wives tend to think that regardless of what you say :)

  • Like 1
Link to comment
Share on other sites

Cynful

@@chef

 

Still playing with it :)

 

Fresh Install to give better feedback: - Led Filter works wonderfully now.

 

On Speech Recognition Training page (while trying to find/create users?) - Unhandled exception

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Core.FirstRunSpeechProfileTraining.VB$StateMachine_54_FirstRunSpeechProfileTraining_Load.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Running setup again has profiles. Why it can't create first time around I have NO idea.

 

***In Interface***

 

Attempting speech training from GUI give: The systtem cannot find the file specified.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Core.SpeechProperties.TimeOutOptionsSelected(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(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.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)

Opening Designation Screen means you must set system name again before you can leave the page even if you do not select set system name or if it has been set previously.

Self-note. Don't press.

************** Exception Text **************
System.ArgumentException: Balloon tip text must have a non-empty value.
   at System.Windows.Forms.NotifyIcon.ShowBalloonTip(Int32 timeout, String tipTitle, String tipText, ToolTipIcon tipIcon)
   at System.Windows.Forms.NotifyIcon.ShowBalloonTip(Int32 timeout)
   at Core.SetDesignationName.CLoseOptionsSelected(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(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.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)
  • Like 1
Link to comment
Share on other sites

chef

Nice great catch. This version, handles those two errors mentioned above (Speech training in the UI, and the balloon tip icon error):

 

 

https://dl.dropboxusercontent.com/u/46151346/MBK32bit.exe

 

 

Hopefully I should be able to get the speech recognizer browsing media in Media Browser today.

 

Very exciting, thank you @@Cynful.

 

Seems as though the NULL object error during First Run on the Speech Training page happens, because a stable connection to the server isn't being created.

 

I'll have to look closer at this. 

Edited by chef
  • Like 1
Link to comment
Share on other sites

Cynful

@@chef Looks like it got brokeded.

 

First time First run throws up Could not find part of the path C:\ProgramData\Media Broswer Kinect\settings\global\Application Settings.xml

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Media Browser Kinect\settings\global\Application Settings.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
   at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
   at Core.MediaBrowserClientFactory.VB$StateMachine_41_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_52_Form1_Load.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Before LED Filter installation I get (though this could be just MY system being a problem here) RPC server unavailable (Execption from HRESULT: 0x800706BA)

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Media Browser Kinect\settings\global\Application Settings.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
   at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
   at Core.MediaBrowserClientFactory.VB$StateMachine_41_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_52_Form1_Load.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Continue

Running LED Filter returns : specified executable is not a valid application for this OS platform.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Core.libUSB.MetroButton4_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs 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.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)

Sorry Chef. Cannot get further on setup with this build.

 

  • Like 1
Link to comment
Share on other sites

chef

Weird. I didn't change the LED stuff.

 

I will looking to the"application settings.xml".

Edited by chef
Link to comment
Share on other sites

chef

Hold the phone! I found the XML error, and can reproduce it.

 

One moment....

Link to comment
Share on other sites

Cynful

Happy to help @@chef

 

INstalled

First Run - still recieving RPC error message though it doesn't break the setup

 

Led installs fine

 

Unhandled on Speech page still; though finds profiles the second time run.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Core.FirstRunSpeechProfileTraining.VB$StateMachine_54_FirstRunSpeechProfileTraining_Load.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Second Time through runs all the way

 

 

In Interface:

 

Designation tab (not set system name button) still deletes designation name as soon as you click on it though now you can close it without filling in a designation. However the system loses designation according to information on left panel and by the text to speech conversion dialogue You can now refer to me by my new name ______.

(Damn I'm already sick of Anna :P Silly Win7)

 

Still red light on kinect regardless of array levels, standing next to it, saying the designation name in a wide variety of funny ways with differing emphasis, and loudly shouting abuse at it.

 

Windows Speech Recog still allows basic parameter movement in MBC when turned on.

Edited by Cynful
  • Like 1
Link to comment
Share on other sites

chef

@@Cynful

 

We have to check something out here. On your machine could you check and see if this Registry Node exists:

 

Open "Regedit.exe"

 

Browse to this node:

 

"HKEY_CURRENT_USER\Software\Microsoft\Speech\RecoProfiles"

 

under that registry entry, it should contain a folder called "Tokens"

 

in that folder should contain Ids that match the user Ids in media browser.

 

If you select one of the folders, you should see on the right hand side of regedit:

 

Name: (Default)  Data: {your Media Browser User Name}

 

if this doesn't exist, then this would cause major issues with the recognizer not hearing you.

Link to comment
Share on other sites

Cynful

checked @@chef.

 

It's there

 

Default          Reg_sz              Media One

409               Reg_sz              Media One

Link to comment
Share on other sites

chef

Good. Under the settings folder for the app, is there an XML file under "users\media one" that contains user information?

 

It should have things like your geo-location, weather the app considers you male or female etc.

 

If the user name doesn't return a solid idea on weather the name is male or female, this could cause issues with the speech recognizer building itself. A name like "Media One" would return an in concise idea on gender. If this node in the user XML is empty, then I can change the code to ignore it if it isn't sure of gender.

 

I will be smacking myself in the head if the Mis recognitions are because of this code... ;)

Link to comment
Share on other sites

Cynful

@@chef Looks like it's returning a null value:

 

Profile-Media One.xml

<?xml version="1.0" encoding="utf-8"?>
<Item>
  <User>Media One</User>
  <Gender>
    <Class>none</Class>
    <Confidence>0</Confidence>
  </Gender>
  <Geo_Location>
    <Country>Australia</Country>
    <Region />
    <City />
  </Geo_Location>
</Item>
Link to comment
Share on other sites

Cynful

@@chef Thought I'd help out a touch.

 

Made new user "Luke" in MB server

 

Reinstalled MBKinect

First run errors

Second run

Set up for User 'Luke'

Finalised

 

Running Program

 

Nullable object must have a value

************** Exception Text **************
System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Nullable`1.get_Value()
   at Core.Neurosphere.User.UserData.Current.VB$StateMachine_48_UserLastSeen.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.ApplicationMainForm.VB$StateMachine_57_CurrentUserNameChanged.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

Not sure if this is becuase I hadn't run MBC as user 'Luke' ...

 

 

Anyyyywho. Settings created for profile

<?xml version="1.0" encoding="utf-8"?>
<Item>
  <User>Luke</User>
  <Gender>
    <Class>male</Class>
    <Confidence>90</Confidence>
  </Gender>
  <Geo_Location>
    <Country>Australia</Country>
    <Region />
    <City />
  </Geo_Location>
</Item>

Still no love on kinect red light.

Because it hates me.

Edited by Cynful
Link to comment
Share on other sites

chef

Thank you. The error is indeed because the user profile for Luke had never been run before.

 

I will have to get some error handling around the "Last Seen" Function.

 

I am working on speech recognition culture info.

 

I think the recogniEr is having issues recognizing accents with the culture info set to "en-US".

 

I try speaking to it with a couple of my really bad imitation accents, and it wouldn't listen.

 

So, luckily, Microsoft has loaded a bunch of extra cultures in windows.

 

I may use the Geo-Location data to load the particular culture I to the speech recognizer.

 

But, for testing I am going to add the ability to choose it during first run.

 

Australia doesn't show up in the culture list, although Great Britian does and I think (even though the accents are totally different) choosing that culture to load into the speech recognizer will help it understand accents different from Canada/US. We talk like cowboys. Haha...

Edited by chef
  • Like 1
Link to comment
Share on other sites

travelmanics

Hi chef. Sounds like you are making progress. Let me know when you have a 64 bit version to test and more than happy to help. Uk based

 

Regards

Travelmanics

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...