[Rock-dev] Unknown statement 'transformer' (OroGen::ConfigError)

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Thu Sep 10 15:40:27 CEST 2015


Theoretically rock should handle it.
The problems might be if you build or rebuild packages when you don't have sourced.

I never tried to have duplicate gems systemwide. I can only say it should work but it is untested so far I know. There are also several reason's on your system which could have caused the failure for e.g. you updated the gem and only rebuilded a subset. I cannot say remotely what was the actual source of your problems. 

Rock is designed that it tries to keep itself consistent as more you use external deps as more critical it gets to keep everything consistent

Best
Matthias




Am 10. September 2015 15:33:19 MESZ, schrieb Raul Dominguez <Raul.Dominguez at dfki.de>:
>thanks Matthias, you are right.
>
>I had system wide gems, they were installed (maybe) when testing the 
>rock packages through repositories... So I removed them all, boostraped
>
>and build again, now everything builds.
>
>Why can't Rock deal with system wide installed gems? Is it that I am 
>selecting some wrong option in the bootstrap process? I generally
>select 
>install "all" dependencies... Shouldn't the env.sh set the correct ruby
>
>paths to be used?
>
>
>Kind regards,
>Raúl
>
>
>
>On 09.09.2015 12:04, Matthias Goldhoorn wrote:
>> Your Installation ia broken or inkonsistent again:
>>
>>
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so
>
>>
><http://dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so>:
>
>>
>> undefined symbol: _ZN4Rice6detail23define_method_with_dataEmmPFmzEim
>>
>> Try a full rebuild including the rice gem
>>
>> Maybe you have again a system wide and local install of your gems?
>>
>> Best
>> Matthias
>>
>> Am 9. September 2015 11:46:59 MESZ, schrieb Raul Dominguez 
>> <Raul.Dominguez at dfki.de>:
>>
>>     Thanks Sylvain and Matthias,
>>
>>     I think that it is the transformer orogen plugin not loading.
>>
>>     The components drivers/orogen/transformer is installed and the
>>     dependency is in the manifest.
>>
>>     How can I fix this?
>>
>>
>>
>>     This is from the log:
>>       [35mOroGen[WARN]: could not load plugin
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/share/orogen/plugins/transformer_plugin.rb
>>    
><http://dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/share/orogen/plugins/transformer_plugin.rb>:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so
>>    
><http://dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so>:
>>     undefined symbol:
>_ZN4Rice6detail23define_method_with_dataEmmPFmzEim -
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so
>>    
><http://dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/x86_64-linux/base_types_ruby.so>
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/eigen.rb:1:in
> 
>>     `<top (required)>'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/lib/ruby/1.9.1/transformer.rb:3:in
> 
>>     `<top (required)>'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/install/share/orogen/plugins/transformer_plugin.rb:2:in
> 
>>     `<top (required)>'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:63:in
> 
>>     `block in load_orogen_plugins'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:20:in
> 
>>     `block (2 levels) in each_orogen_plugin_file'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:19:in
> 
>>     `each'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:19:in
> 
>>     `block in each_orogen_plugin_file'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:3:in
> 
>>     `each'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:3:in
> 
>>     `each_orogen_plugin_path'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:15:in
> 
>>     `each_orogen_plugin_file'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen/plugins.rb:60:in
> 
>>     `load_orogen_plugins'
>>       [0m [35mOroGen[WARN]:
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/lib/orogen.rb:51:in
> 
>>     `<top (required)>'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen[WARN]:
>>     /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
>>       [0m [35mOroGen
>>       [WARN]:
>>
>>    
>/home/dfki.uni-bremen.de/rdominguez/SyskitPractice/rockStable/tools/orogen/bin/orogen:3:in
> 
>>     `<main>'
>>       [0mxml_find_template_parm encountered unsupported type
>identifier_node
>>     xml_find_template_parm encountered unsupported type
>identifier_node
>>     tilt_scan.orogen:39: unknown statement 'transformer'
>(OroGen::ConfigError)
>>
>>
>>     Kind regards,
>>     Raúl
>>
>>
>>     On 08.09.2015 18:06, Sylvain Joyeux wrote:
>>
>>         Hi Raul This happens usually when either the transformer
>>         orogen plugin is not installed, or cannot be loaded. In the
>>         latter case, orogen issues a warning with the error causing
>>         the problem. For the former, add drivers/orogen/transformer
>to
>>         your package's dependencies. Sylvain On Tue, Sep 8, 2015 at
>>         11:39 AM, Matthias Goldhoorn <matthias.goldhoorn at dfki.de>
>wrote:
>>
>>             Hi Raul, a) did you added the slam/orogen/odoemtry to
>your
>>             manifest? b) did you sourced after calling update? -- if
>>             no did this help? c) is the transformer a dependancy of
>of
>>             the odoemtry? BEst, Matthias On 08.09.2015 16:18, Raul
>>             Dominguez wrote: Dear Rock-Users, When building an orogen
>>             task which uses the transformer in the .orogen document.
>>             An error is triggered because the statement transformer
>>             seems to be unknown to OroGen. tilt_scan.orogen:39:
>>             unknown statement 'transformer' (OroGen::ConfigError)
>>             odometry.orogen:79: unknown statement 'transformer'
>>             (OroGen::ConfigError) How to reproduce: Bootstrap Rock on
>>             stable. source env.sh <http://env.sh> Include in the
>>             manifest the orogen task (e.g. slam/orogen/odometry)
>>             Autoproj update Autoproj build Kind regards, Raúl
>>            
>------------------------------------------------------------------------
>>             Rock-dev mailing list Rock-dev at dfki.de
>>             http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev --
>>             Dipl.-Inf. Matthias Goldhoorn Space and Underwater
>Robotic
>>             Universität Bremen FB 3 - Mathematik und Informatik AG
>>             Robotik Robert-Hooke-Straße 1 28359 Bremen, Germany
>>             Zentrale: +49 421 178 45-6611 Besuchsadresse der
>>             Nebengeschäftstelle: Robert-Hooke-Straße 5 28359
>Bremen,
>>             Germany Tel.: +49 421 178 45-4193 Empfang: +49 421 178
>>             45-6600 Fax: +49 421 178 45-4150 E-M ail:
>>             matthias.goldhoorn at informatik.uni-bremen.de Weitere
>>             Informationen:
>http://www.informatik.uni-bremen.de/robotik
>>            
>------------------------------------------------------------------------
>>             Rock-dev mailing list Rock-dev at dfki.de
>>             http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>>
>>        
>------------------------------------------------------------------------
>>         Rock-dev mailing list Rock-dev at dfki.de
>>         http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev 
>>
>> -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
>
>> gesendet. 
>-- 
>  Raúl Domínguez (M.Sc.)
>  Space Robotics
>
>  Besuchsadresse der Nebengeschäftsstelle:
>  DFKI GmbH
>  Robotics Innovation Center
>  Robert-Hooke-Straße 5
>  28359 Bremen, Germany
>  
>  Postadresse der Hauptgeschäftsstelle Standort Bremen:
>  DFKI GmbH
>  Robotics Innovation Center
>  Robert-Hooke-Straße 1
>  28359 Bremen, Germany
>  
>  Tel.:     +49 421 178 45-6617
>  Zentrale: +49 421 178 45-0
>  Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
>  E-Mail:raul.dominguez at dfki.de
>  
>  Weitere Informationen:http://www.dfki.de/robotik
>-----------------------------------------------------------------------
>  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
>  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
>  (Vorsitzender) Dr. Walter Olthoff
>  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>  Amtsgericht Kaiserslautern, HRB 2313
>  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
>  USt-Id.Nr.:    DE 148646973
>  Steuernummer:  19/673/0060/3

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20150910/cac264ed/attachment-0001.htm 


More information about the Rock-dev mailing list