unable to connect session server!

25 views
Skip to first unread message

Louis

unread,
Sep 17, 2011, 4:01:39 AM9/17/11
to AS3OpenNI
I can run the sample under OpenNI and PrimeSense now, but not work
with AS3OpenNI_Alpha_1.3.0 with your example. And I got the error
message when run the file "unable to connect session server!" Setting
resolution to VGA


Window 7 and latest unstable OpenNI 1.3.2 installed

Greg

unread,
Sep 17, 2011, 5:00:14 AM9/17/11
to AS3OpenNI
Have you tried waving in front of it? When I wave it says AS3OpenNI ::
Session Progress
then if you continue Session Started.
So its seems to work, but now the problem is that it doesn't talk to
the AIR application.
Whould be good to know how to make it send the packets to the app.

Louis

unread,
Sep 17, 2011, 5:15:17 AM9/17/11
to AS3OpenNI
yes, I have wave my hand and see the message
AS3OpenNI :: Session Pogress
AS3OpenNI :: Session Started


but still not work with the example ...
any idea ??

Gergely Nagy

unread,
Sep 17, 2011, 5:18:01 AM9/17/11
to as3o...@googlegroups.com
I have the same problem :/ at the moment!!
I hope someone will be able to tell us how to get through this

2011/9/17 Louis <loui...@gmail.com>:

Louis

unread,
Sep 17, 2011, 5:31:46 AM9/17/11
to AS3OpenNI
Is that not work in flex 4.5.1 ?



On Sep 17, 5:18 pm, Gergely Nagy <gergelynag...@gmail.com> wrote:
> I have the same problem :/ at the moment!!
> I hope someone will be able to tell us how to get through this
>
> 2011/9/17 Louis <louis2...@gmail.com>:

Gergely Nagy

unread,
Sep 17, 2011, 5:37:42 AM9/17/11
to as3o...@googlegroups.com
I don't know if it is a flex related problem or not. I am trying to
get it work with a pure AS3 project with FlashDevelop

2011/9/17 Louis <loui...@gmail.com>:

Louis

unread,
Sep 17, 2011, 5:45:51 AM9/17/11
to AS3OpenNI
I also want run with as3 project, even I don't know too much on Flex.
I was as3kinect wrapper that is work, but I feel asOpenNI class much
better.
really want to fix the problem.

I'd appreciated if you share your result to me.

Louis


On Sep 17, 5:37 pm, Gergely Nagy <gergelynag...@gmail.com> wrote:
> I don't know if it is a flex related problem or not. I am trying to
> get it work with a pure AS3 project with FlashDevelop
>
> 2011/9/17 Louis <louis2...@gmail.com>:

jblatta

unread,
Sep 17, 2011, 9:00:50 AM9/17/11
to AS3OpenNI
I think I recall you need to add the following to the project's xml
config file inside your project: <supportedProfiles>extendedDesktop</
supportedProfiles>

I have been building all my projects in pure as3 projects with no
problems, good luck.

Greg

unread,
Sep 17, 2011, 3:57:01 PM9/17/11
to AS3OpenNI
I got it working!

As jblatta said (thanks a lot by the way), you must put that entry in
the application.xml, or any other config file you have for your
application.
Then the other important thing is that you don't start the
AS3OpenNI_Alpha_1.3.0.exe yourself!
Look at the exmple code and where you see:
as3OpenNI.binaryPath = ""; // here you put the path to that exe file,
including the filename! for ex. bin/AS3OpenNI_Alpha_1.3.0.exe

Then you launch your app and it will start up everything
automatically. If you see this when starting your app:
[Fault] exception, information=ArgumentError: Error #3214:
NativeProcessStartupInfo.executable does not specify a valid
executable file.

this means that the executable is not found, so you must correct the
path or filename.

Greg

Louis

unread,
Sep 17, 2011, 11:22:18 PM9/17/11
to AS3OpenNI
Is sound great,I really want to make it work. I'm running on Window7 ,
Flash 5.5 and upgrade to Air2.7
is it make it difficult to work ? anyway , thanks you and jblatta
remind the key point. !
I'll keep trying ! thanks

Gergely Nagy

unread,
Sep 18, 2011, 3:11:18 AM9/18/11
to as3o...@googlegroups.com
Hi Louis,
What is Flash 5.5? Is it CS5?
I use FlashDevelop for my projects and if you do pure AS3, it is much
better than CS5.
Don't worry, it will work for you too, just don't forget to make an
Adobe AIR project so you can set the application settings as jblatta
said. If you don't do AIR, you won't be able to set that.

By the way are you french speaking? Just in case you need more help,
you can write me a PM in french too.

Greg

2011/9/18 Louis <loui...@gmail.com>:

Louis

unread,
Sep 18, 2011, 7:18:29 AM9/18/11
to AS3OpenNI
Hi Greg,

Nice to meet you here, sorry I'm not french. I'm Chinese and live in
Hong Kong.
I was try over 5 hour today but still not work.
I just can get the session with hand wave. Can't get depth and
skeleton data.

Would you mind I zip my file and send you by email?
I using flash cs5 with Flash builder for coding.
Hope you may find what's problem.

Louis



On Sep 18, 3:11 pm, Gergely Nagy <gergelynag...@gmail.com> wrote:
> Hi Louis,
> What is Flash 5.5? Is it CS5?
> I use FlashDevelop for my projects and if you do pure AS3, it is much
> better than CS5.
> Don't worry, it will work for you too, just don't forget to make an
> Adobe AIR project so you can set the application settings as jblatta
> said. If you don't do AIR, you won't be able to set that.
>
> By the way are you french speaking? Just in case you need more help,
> you can write me a PM in french too.
>
> Greg
>
> 2011/9/18 Louis <louis2...@gmail.com>:

Gergely Nagy

unread,
Sep 18, 2011, 9:11:20 AM9/18/11
to as3o...@googlegroups.com
Hi Louis,

I would look into your file, but the problem is that I have only Flash
CS4 and I don't have flash builder. Even more, I don't know flex. I
always coded pure AS3 with FlashDevelop. So if you can send me a
FlashDevelop project, I will be able to look into that.

Greg

2011/9/18 Louis <loui...@gmail.com>:

Homer

unread,
Sep 18, 2011, 12:52:25 PM9/18/11
to as3o...@googlegroups.com
Hi guys

Are the nite samples working ? (under your nite installation path)

When you launch the binary, you should see a red light on the camera. Then do a wave gesture to activate the session.

Other tip : enable the print switches of the binary by giving args to the command line. You will see useful extra information. (see the available args list in the cpp source)

(sinon Greg je suis français si besoin... ;)

Homer

Louis

unread,
Sep 19, 2011, 4:30:09 AM9/19/11
to AS3OpenNI
The sample is work with red light in depth camera.

Louis



On Sep 19, 12:52 am, Homer <homer.co...@gmail.com> wrote:
> Hi guys
>
> Are the nite samples working ? (under your nite installation path)
>
> When you launch the binary, you should see a red light on the camera. Then do a wave gesture to activate the session.
>
> Other tip : enable the print switches of the binary by giving args to the command line. You will see useful extra information. (see the available args list in the cpp source)
>
> (sinon Greg je suis français si besoin... ;)
>
> Homer
>
> Le 18 sept. 2011 à 15:11, Gergely Nagy <gergelynag...@gmail.com> a écrit :
>
>
>
>
>
>
>
> > Hi Louis,
>
> > I would look into your file, but the problem is that I have only Flash
> > CS4 and I don't have flash builder. Even more, I don't know flex. I
> > always coded pure AS3 with FlashDevelop. So if you can send me a
> > FlashDevelop project, I will be able to look into that.
>
> > Greg
>
> > 2011/9/18 Louis <louis2...@gmail.com>:

Gergely Nagy

unread,
Sep 20, 2011, 4:15:10 AM9/20/11
to as3o...@googlegroups.com
Hey Louis,

How is it going? Have you succeded in getting it to work?
If not, I would suggest you to try FlashDevelop! You will still be
able to prepare your assets in CS5.5 then export them as SWF and
import them in your projects.
Or use FlexBuilder, since the author of AS3OpenNI uses that.
If you install FlashDevelop, I can send you my test project too.

Greg

2011/9/19 Louis <loui...@gmail.com>:

Louis Wong

unread,
Sep 20, 2011, 4:17:26 AM9/20/11
to as3o...@googlegroups.com
Still can't fix it yet.
I'd install flash developer and test with your source. :)

Regard
Louis Wong

Reply all
Reply to author
Forward
0 new messages