Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Method (virtual chassis, 10.4R1.9) #13

Open
supertylerc opened this issue Apr 24, 2014 · 0 comments
Open

Undefined Method (virtual chassis, 10.4R1.9) #13

supertylerc opened this issue Apr 24, 2014 · 0 comments

Comments

@supertylerc
Copy link

Receive error when attempting to attach Provider to open connection to EX4200 virtual chassis running 10.4R1.9.

2.1.1 :005 > Junos::Ez::Provider(r)
NoMethodError: undefined method `[]' for nil:NilClass
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts/personality.rb:6:in `block in <top (required)>'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:43:in `block in uses'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:42:in `collect'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:42:in `uses'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts/ifd_style.rb:3:in `block in <top (required)>'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:67:in `block in read!'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:64:in `each'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:64:in `read!'
    from /home/tyler/.rvm/gems/ruby-2.1.1/gems/junos-ez-stdlib-0.1.2/lib/junos-ez/facts.rb:16:in `Provider'
    from (irb):5
    from /home/tyler/.rvm/rubies/ruby-2.1.1/bin/irb:11:in `<main>'
2.1.1 :006 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant