Mailinglist Archive: yast-devel (58 mails)

< Previous Next >
[yast-devel] y2b crashes
Hi,

I have a problem by converting ycp to ruby. It crashes always with
following error:
y2r -I /usr/share/YaST2/include/ -M /usr/share/YaST2/modules/
sap-installation-wizard.ycp


/usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:506:in
`element_to_node': undefined method `to_sym' for nil:NilClass
(NoMethodError)

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:353:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`block in extract_children'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:239:in
`block in each'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`upto'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`each'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`map'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`extract_children'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:252:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:189:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`block in extract_children'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:239:in
`block in each'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`upto'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`each'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`map'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`extract_children'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:252:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:189:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:189:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`block in extract_children'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:239:in
`block in each'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`upto'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`each'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`map'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`extract_children'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:606:in
`extract_collection'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:199:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:380:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:189:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`block in extract_children'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:239:in
`block in each'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`upto'

from
/usr/lib64/ruby/gems/1.9.1/gems/nokogiri-1.5.6/lib/nokogiri/xml/node_set.rb:238:in
`each'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`map'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:601:in
`extract_children'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:606:in
`extract_collection'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:199:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:189:in
`element_to_node'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:136:in
`xml_to_ast'

from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r/parser.rb:69:in
`parse'
from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/lib/y2r.rb:10:in
`compile'
from /usr/lib64/ruby/gems/1.9.1/gems/y2r-1.0.1/bin/y2r:71:in
`<top (required)>'
from /usr/bin/y2r:23:in `load'
from /usr/bin/y2r:23:in `<main>'


Can somebody help me???
--
Peter Varkoly
Sr. Developer SUSE Linux Enterprise Applications
SUSE LINUX Products GmbH,
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG
Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups