lemankk / as3openni

Automatically exported from code.google.com/p/as3openni
0 stars 0 forks source link

ERROR connecting session socket: Connection refused #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.

I'm really excited about this project.k
I found the AS3OpenNI by accident and I'm trying my best to make it work so 
that I can create some projects in Flash that I've been wanting to make for 
some time now and seems that only AS3OpenNI is capable doing them.

But as I don't really have strong knowledge in Programming is a bit hard for me 
to know any errors and problems that occur during the processes that are needed.

Enough with the talking!!!

-----

I managed to install properly all drivers needed for AS3OpenNI (OpenNI, Kinect 
Drivers, Nite).

In the end of all this process I passed by any problems but I'm really stuck 
when I try to run "AS3OpenNI_Alpha_1.3.0"

The Error that occurs is this:

John-Mars-MacBook-Pro:~ macuser$ 
/users/macuser/Documents/AS3OpenNI/AS3OpenNI_Alpha_1.3.0 ; exit;
ERROR connecting session socket: Connection refused
logout

[Process completed]

Can someone please help me with this.

I know its probably something dump but I believe it will also help someone else 
having the same problem.

I have my Kinect connected of course!

And I'm running all these in MacOSX Snow Leopard.

Thank you!!

Original issue reported on code.google.com by johnma...@gmail.com on 4 Jul 2011 at 8:39

GoogleCodeExporter commented 8 years ago
Changed some things on .as file so that it has the latest version and the right 
name of AS3OpenNI   

Running the program from terminal.

And get this again

John-Mars-MacBook-Pro:~ macuser$ 
./documents/as3openni/example/AS3OpenNI_Alpha_1.3.0 -ogf -otpf -tpc 4 -tpr 1 
-odmc
AS3OpenNI :: Gesture feature turned on
AS3OpenNI :: TrackPad feature turned on
AS3OpenNI :: TrackPad Columns: 4
AS3OpenNI :: TrackPad Rows: 1
AS3OpenNI :: DepthMapCapture feature turned on
ERROR connecting session socket: Connection refused



Original comment by johnma...@gmail.com on 4 Jul 2011 at 4:23

GoogleCodeExporter commented 8 years ago
Are you running this through the terminal, if so add a -help for the help menu 
and add -aso to turn off the socket client. The reason you are getting this 
error is because there is no socket server setup on that port for the AS3OpenNI 
socket client to connect to. Did you try running the binary with the Air 
examples that will help you setup the socket server to work with the AS3OpenNI 
client.

Original comment by mosaic...@gmail.com on 5 Jul 2011 at 4:37

GoogleCodeExporter commented 8 years ago
Yes!!  Now the binary works as it should!!

But I'm not able to run either the .fxp   example or the example in Flash pro 
from
here:   http://odopod.com/blog/using-kinect-within-flash-applications/

I assume that now its just a matter of compiling the flash files

Thank you for your help!!

I believe that it would be very helpful if you could include a step by step 
tutorial for creating a very simple project in Flash Pro or Flash Builder.

thank you

Original comment by johnma...@gmail.com on 5 Jul 2011 at 4:53

GoogleCodeExporter commented 8 years ago
From the Example from odopod.com, which is the one that is easier for me to use,
i get this error when publishing.

../Example.as, Line 198 1046: Type was not found or was not a compile-time 
constant: ONICaptureEvent.

Original comment by johnma...@gmail.com on 5 Jul 2011 at 5:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry for bothering but I hope I help someone else as well!

worked with the .fxp  example!!

tried to run the NITesting.mxml   

Got this Error:

Error: Error #3219: The NativeProcess could not be started. 'launch path not 
accessible'
    at flash.desktop::NativeProcess/internalStart()
    at flash.desktop::NativeProcess/start()
    at org.as3openni::AS3OpenNI/startupBridge()[/Users/macuser/Documents/Adobe Flash Builder 4.5/AS3OpenNI_Alpha_1.3.0/src/org/as3openni/AS3OpenNI.as:461]
    at org.as3openni::AS3OpenNI/init()[/Users/macuser/Documents/Adobe Flash Builder 4.5/AS3OpenNI_Alpha_1.3.0/src/org/as3openni/AS3OpenNI.as:174]
    at NITesting/init()[/Users/macuser/Documents/Adobe Flash Builder 4.5/AS3OpenNI_Alpha_1.3.0_Examples/src/NITesting.mxml:102]
    at NITesting/___NITesting_WindowedApplication1_addedToStage()[/Users/macuser/Documents/Adobe Flash Builder 4.5/AS3OpenNI_Alpha_1.3.0_Examples/src/NITesting.mxml:11]
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/preloader_preloaderDoneHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2497]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/displayClassCompleteHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\preloaders\Preloader.as:555]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::SparkDownloadProgressBar/initCompleteHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\preloaders\SparkDownloadProgressBar.as:1078]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/dispatchAppEndEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\preloaders\Preloader.as:358]
    at mx.preloaders::Preloader/appCreationCompleteHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\preloaders\Preloader.as:563]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
    at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]

Original comment by johnma...@gmail.com on 6 Jul 2011 at 2:13