Git Product home page Git Product logo

ruby-onvif-client's Introduction

ruby编写的onvif客户端程序

ruby-onvif-client's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby-onvif-client's Issues

undefined local variable or method `options' for #<ONVIF::DeviceManagementAction::SetNetworkInterfaces:0x007f91521368d0>

When I try to run the example test_set_network_interfaces.rb in "/examples/device_management" I see:

/Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/device_management/set_network_interfaces.rb:42:in `block (3 levels) in run': undefined local variable or method `options' for #<ONVIF::DeviceManagementAction::SetNetworkInterfaces:0x007f95719e6750> (NameError)
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `_nested_structures'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:68:in `tag!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:190:in `block (2 levels) in cache_method_call'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/device_management/set_network_interfaces.rb:41:in `block (2 levels) in run'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `_nested_structures'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:68:in `tag!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:93:in `method_missing'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/device_management/set_network_interfaces.rb:39:in `block in run'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/message.rb:39:in `call'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/message.rb:39:in `block (2 levels) in to_s'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `_nested_structures'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:68:in `tag!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:190:in `block (2 levels) in cache_method_call'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/message.rb:38:in `block in to_s'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:175:in `_nested_structures'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:68:in `tag!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/builder-3.2.2/lib/builder/xmlbase.rb:93:in `method_missing'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/message.rb:34:in `to_s'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/action.rb:14:in `send_message'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/device_management/set_network_interfaces.rb:99:in `run'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/service.rb:18:in `block (2 levels) in method_missing'
    from /Users/Hackeron/Development/onvif/ruby-onvif-client/lib/ruby_onvif_client/service.rb:21:in `method_missing'
    from test_set_network_interfaces.rb:35:in `block in <main>'
    from /usr/local/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run_machine'
    from /usr/local/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run'
    from test_set_network_interfaces.rb:3:in `<main>'

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.