Bug #17

Cannot load CosLifeCycle.idl : unsupported typedef for IDL::Type::Object

Added by Jean-Christophe Cota over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:06/20/2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

Hello,

I have IDL files using CosLifeCycle.idl, but I can’t even load this standard file.

@cot:(medon)$ irb
irb(main):001:0> require 'corba'
=> true
irb(main):002:0> includes = ['/development/infra-project/cot/TESTS/', '/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/idl/']
=> ["/development/infra-project/cot/TESTS/", "/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/idl/"]
irb(main):003:0> CORBA.implement('CosLifeCycle.idl', { includepaths: includes, xincludepaths: includes })
unsupported typedef for IDL::Type::Object.
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/ridlbe/ruby/walker.rb:1100:in `visit_typedef'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:199:in `walk_member'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:121:in `block in walk_member'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/node.rb:321:in `each'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/node.rb:321:in `walk_members'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:121:in `walk_member'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:98:in `block in walk_nodes'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/node.rb:321:in `each'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/node.rb:321:in `walk_members'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:98:in `walk_nodes'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/ridlbe/ruby/walker.rb:41:in `visit_nodes'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/ridl-2.5.6/lib/ridl/delegate.rb:94:in `visit_nodes'
parser.ry:883:in `visit_nodes'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/ridlbe/ruby/config.rb:221:in `process_input'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/ridlbe/ruby/config.rb:54:in `parse0'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/ridlbe/ruby/config.rb:67:in `eval'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/corba/common/IDL.rb:54:in `implement'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1/lib/corba/idl/IDL.rb:17:in `implement'
(irb):3:in `irb_binding'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/workspace.rb:86:in `eval'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/workspace.rb:86:in `evaluate'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/context.rb:380:in `evaluate'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:492:in `block (2 levels) in eval_input'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:624:in `signal_status'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:489:in `block in eval_input'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/ruby-lex.rb:247:in `block (2 levels) in each_top_level_statement'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in `loop'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/ruby-lex.rb:233:in `block in each_top_level_statement'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in `catch'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb/ruby-lex.rb:232:in `each_top_level_statement'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:488:in `eval_input'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:397:in `block in start'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:396:in `catch'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/2.1.0/irb.rb:396:in `start'
/development/infra-project/cot/COTS/installed/ruby-2.1.9/bin/irb:11:in `<main>'
cot:(medon)$@

CosLifeCycle.idl (2.91 KB) Jean-Christophe Cota, 06/20/2016 04:49 pm

Object.rb Magnifier (5.39 KB) Martin Corino, 06/20/2016 06:49 pm

walker.rb Magnifier (47 KB) Martin Corino, 06/20/2016 06:49 pm

History

#1 Updated by Martin Corino over 2 years ago

  • File Object.rbMagnifier added
  • File walker.rbMagnifier added
  • Status changed from New to In Progress
  • Assignee set to Martin Corino
  • % Done changed from 0 to 90

Hello Jean-Christophe,

Thank you for reporting this issue.

The following updates should help.

Please replace your installed copy of lib/corba/common/Object.rb (at /development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1) with the Object.rb file attached here.
Please replace your installed copy of lib/ridlbe/ruby/walker.rb (at /development/infra-project/cot/COTS/installed/ruby-2.1.9/lib/ruby/gems/2.1.0/gems/r2corba-1.5.1) with the walker.rb file attached here.

After replacing these files you be able to load (and use) the CosLifeCycle.idl.

#2 Updated by Johnny Willemsen over 2 years ago

  • Description updated (diff)

#3 Updated by Johnny Willemsen over 2 years ago

  • Status changed from In Progress to Closed
  • Assignee deleted (Martin Corino)
  • % Done changed from 90 to 100

Also available in: Atom PDF