StatusException when creating Context object

May 19, 2011 at 1:47 AM

 Hi Josh,

I'm installing MotionFX on a different machine and I'm getting an error at the line where the Context object is created in HandPointGenerator.

OpenNI.StatusException: Xiron OS failed to create a process!

 


   at OpenNI.WrapperUtils.CheckEnumeration(Int32 status, EnumerationErrors errors)
   at OpenNI.Context.InitFromXml(String xmlFile)
   at OpenNI.Context..ctor(String xmlFile)
   at InfoStrat.MotionFx.HandPointGenerator.VerifyInit() in C:\Projects\InfoStrat.MotionFx.v0.2\InfoStrat.MotionFx\HandPointGenerator.cs:line 271

I'm using the Xtion Pro and it's setup properly as I'm able to run all the NITE samples. 

My config file is as follows. (I've removed the Image Node):

<OpenNI>
 <Licenses>
  <License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdYr="/>
 </Licenses>
 <Log writeToConsole="true" writeToFile="false">
  <!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
  <LogLevel value="3"/>
  <Masks>
   <Mask name="ALL" on="false"/>
  </Masks>
  <Dumps>
  </Dumps>
 </Log>
 <ProductionNodes>
  <Node type="Depth" name="Depth1">
   <Configuration>
    <MapOutputMode xRes="640" yRes="480" FPS="30"/>
    <Mirror on="true"/>
   </Configuration>
  </Node>
  <Node type="Gesture" />
  <Node type="Hands" />
 </ProductionNodes>
</OpenNI> 

Cheers,

Jeff

 

 

Coordinator
May 19, 2011 at 1:57 AM

Hi Jeff,

Might be a path or openni installation issue. Check this thread:

http://groups.google.com/group/openni-dev/browse_thread/thread/63691d23f631e80a/243c9105dfd0f3fa

 

May 19, 2011 at 2:21 AM

Hi Josh,

I re-installed OpenNI and NITE with the 32 bit version and it works.  For whatever reason, the 64 bit versions aren't working for me (even though I've got a 64 bit machine.

Cheers,

Jeff

Coordinator
May 19, 2011 at 2:23 AM

Great, thanks for sharing the resolution.