[Bug 1013] New: getOperation fails
Markus Klotzbuecher <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <[email protected]/> |
http://bugs.orocos.org/show_bug.cgi?id=1013
Summary: getOperation fails
Product: Toolchain
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: Lua
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Estimated Hours: 0.0
Lua getOperation fails due to unkown types in scripting. When testing patch
3daedd19c70 on toolchain-2.6-mk [1] should be applied to get better error
messages. This is on top of git of toolchain-2.6
Example 1:
----------
$ cat test1.lua
-- This one fails
tc=rtt.getTC()
depl=tc:getPeer("deployer")
depl:loadService("deployer", "scripting")
$ rttlua-gnulinux test1.lua
rttlib.lua:322: Operation.call: 'getProgramStatus', failed to build DSB for
return value of type 'unknown_t'
I assume the unkown type is "ProgramInterface::Status::ProgramStatus",
thus is seems obvious that TI->buildValue(...) should fail to
construct the return value.
Example 2:
----------
$ cat test2.lua
tc=rtt.getTC()
depl=tc:getPeer("deployer")
depl:loadService("lua", "print")
print(tc:provides("print"):getOperation("log"))
$ rttlua-gnulinux test2.lua
rttlua-gnulinux: test2.lua:4: Operation.call: 'log', failed to build DSB for
arg 1 of type 'LogLevel'
Likewise, here TypeInfo->buildReference(...) fails to construct a type
for LogLevel.
[1] git://gitorious.org/~markusk/orocos-toolchain/ocl-mk.git
--
Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
--
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev