[Rock-dev] [rock] #42: autoproj fails with "cryptic" message when "overrides:" header is missing in overrides.yml

rock noreply at opendfki.de
Wed Sep 7 11:48:52 CEST 2011


#42: autoproj fails with "cryptic" message when "overrides:" header is missing
in overrides.yml
--------------------------------+-----------------------------------
Reporter:  martin.fritsche.uni  |      Owner:  rock-dev-mailing-list
    Type:  enhancement          |     Status:  new
Priority:  minor                |  Component:  toolchain
Keywords:                       |
--------------------------------+-----------------------------------
 When there is no "overrides:" header line in overrides.yml but only the
 overrides itself autoproj crashes with the following error:

 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/manifest.rb:876:in
 `[]=': can't convert String into Integer (TypeError)
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/manifest.rb:876:in
 `raw_description_file'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/manifest.rb:584:in
 `required_autoproj_version'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/cmdline.rb:168:in
 `load_configuration'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/manifest.rb:1258:in
 `each'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/manifest.rb:1258:in
 `each_package_set'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/lib/autoproj/cmdline.rb:167:in
 `load_configuration'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/bin/autoproj:101
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/bin/autoproj:23:in `report'
         from
 /home/fritsche/dev/.gems/gems/autobuild-1.5.51/lib/autobuild/reporting.rb:78:in
 `report'
         from
 /home/fritsche/dev/.gems/gems/autoproj-1.7.13/bin/autoproj:22:in `report'
         from /home/fritsche/dev/.gems/gems/autoproj-1.7.13/bin/autoproj:59
         from /home/fritsche/dev/.gems/bin/autoproj:19:in `load'
         from /home/fritsche/dev/.gems/bin/autoproj:19


 A more high level error message would be helpful :-)

-- 
Ticket URL: <http://rock.opendfki.de/ticket/42>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list