collect() called on incomplete SendHandleC error

Hi orocos devs

I have this message when i try to "send()" a "ClientThread" operation on a remote component :

collect() called on incomplete SendHandleC. Wrong number of arguments provided for method '' Expected 1, got: 0

Everything works if i use "call()".

I join my test case.

I will continue my research, but if you have any ideas, let me know please.

Thank you.

P.S. : is there any easy searchable archive of the mailing list ?

AttachmentSize
CollectTest.tar_.bz21.5 KB

collect() called on incomplete SendHandleC error

On Wednesday 10 November 2010 13:10:48 paul [dot] chavent [..] ... wrote:
> Hi orocos devs
>
> I have this message when i try to "send()" a "ClientThread" operation on a
> remote component :
>
>
> collect() called on incomplete SendHandleC.
> Wrong number of arguments provided for method ''
> Expected 1, got: 0
>
> Everything works if i use "call()".

collect() was wrongly implemented for remote operations.

A patch to apply on RTT is in attachment. Recompile RTT + your application. It
works now here.

Also the ret() function is (still) broken, in case you were considering to use
the ret() function on SendHandle. I'm looking for a way to remove that
function since it only adds code without much more functionality. We're paying
too much compilation time for operations, so I'm looking for places to trim
down the code.

Peter

collect() called on incomplete SendHandleC error

I think that this patch has been applied to the master branch. However, it seems that it didn't been applied to the last 2.1.1 release. Is there a reason for that?

Philippe

collect() called on incomplete SendHandleC error

I think that this patch has been applied to the master branch. However, it seems that it didn't been applied to the last 2.1.1 release. Is there a reason for that?

Philippe

collect() called on incomplete SendHandleC error

On Friday 19 November 2010 14:12:39 philippe [dot] hamelin [..] ... wrote:
> I think that this patch has been applied to the master branch. However, it
> seems that it didn't been applied to the last 2.1.1 release. Is there a
> reason for that?

It's binary incompatible with 2.1.0. So it had to wait for the next major
release.

Peter

collect() called on

With your patch, my test case passes.

Thank you Peter for this very quick fix.

collect() called on incomplete SendHandleC error

With your patch, my test case passes.

Thank you Peter for this very quick fix.

collect() called on incomplete SendHandleC error

On Wednesday 10 November 2010 13:10:48 paul [dot] chavent [..] ... wrote:
> Hi orocos devs
>
> I have this message when i try to "send()" a "ClientThread" operation on a
> remote component :
>
>
> collect() called on incomplete SendHandleC.
> Wrong number of arguments provided for method ''
> Expected 1, got: 0

I could reproduce this. I'm looking into it...

>
> Everything works if i use "call()".
>
>
> I join my test case.
>
> I will continue my research, but if you have any ideas, let me know please.
>
> Thank you.
>
> P.S. : is there any easy searchable archive of the mailing list ?

You could try to use the
site:lists.mech.kuleuven.be/pipermail/orocos-users/

option when searching in Google.

Peter

collect() called on incomplete SendHandleC error

On Wednesday 10 November 2010 16:04:48 Peter Soetens wrote:
> On Wednesday 10 November 2010 13:10:48 paul [dot] chavent [..] ... wrote:
> > Hi orocos devs
> >
> > I have this message when i try to "send()" a "ClientThread" operation on
> > a remote component :
> >
> >
> > collect() called on incomplete SendHandleC.
> > Wrong number of arguments provided for method ''
> > Expected 1, got: 0
>
> I could reproduce this. I'm looking into it...

It looks like a 'grave' bug in the RemoteOperationCaller (which does C++ <->
Corba on caller side). I don't know why the unit tests didn't catch this, but
they are clearly testing something else than I thought they were.

I'm working on it.

Peter

collect() called on incomplete SendHandleC error

On 11/10/2010 06:08 PM, Peter Soetens wrote:
> On Wednesday 10 November 2010 13:10:48 paul [dot] chavent [..] ... wrote:
>> Hi orocos devs
>>
>> I have this message when i try to "send()" a "ClientThread" operation on a
>> remote component :
>>
>>
>> collect() called on incomplete SendHandleC.
>> Wrong number of arguments provided for method ''
>> Expected 1, got: 0
>>
>> Everything works if i use "call()".
>
> collect() was wrongly implemented for remote operations.
Funny, I got collect( ... ) to work on CORBA already ...

Well. Did you push that somewhere on gitorious ?

Sylvain

collect() called on incomplete SendHandleC error

2010/11/10 Sylvain Joyeux <sylvain [dot] joyeux [..] ...>:
> On 11/10/2010 06:08 PM, Peter Soetens wrote:
>>
>> On Wednesday 10 November 2010 13:10:48 paul [dot] chavent [..] ... wrote:
>>>
>>> Hi orocos devs
>>>
>>> I have this message when i try to "send()" a "ClientThread" operation on
>>> a
>>> remote component :
>>>
>>>
>>> collect() called on incomplete SendHandleC.
>>> Wrong number of arguments provided for method ''
>>> Expected 1, got: 0
>>>
>>> Everything works if i use "call()".
>>
>> collect() was wrongly implemented for remote operations.
>
> Funny, I got collect( ... ) to work on CORBA already ...

It's from idl->C++ that you used it, which works. It was the
c++->idl path that was broken, unless you had zero-arity collect.

>
> Well. Did you push that somewhere on gitorious ?

I just have pushed it on the master branch.

Peter

collect() called on incomplete SendHandleC error

Hi orocos devs

I have this message when i try to "send()" a "ClientThread" operation on a remote component :

collect() called on incomplete SendHandleC.
Wrong number of arguments provided for method ''
Expected 1, got: 0

Everything works if i use "call()".

I join my test case.

I will continue my research, but if you have any ideas, let me know please.

Thank you.

P.S. : is there any easy searchable archive of the mailing list ?