Skip to content

NameError from sample script #81

@alexv-anderson-uw

Description

@alexv-anderson-uw

I received the following error when running /samples/http_get_reply_iframes.json.sh

Traceback (most recent call last):
	12: from /usr/local/bin/dap:23:in `<main>'
	11: from /usr/local/bin/dap:23:in `load'
	10: from /var/lib/gems/2.5.0/gems/dap-1.2.6/bin/dap:121:in `<top (required)>'
	 9: from /var/lib/gems/2.5.0/gems/dap-1.2.6/bin/dap:121:in `each'
	 8: from /var/lib/gems/2.5.0/gems/dap-1.2.6/bin/dap:123:in `block in <top (required)>'
	 7: from /var/lib/gems/2.5.0/gems/dap-1.2.6/bin/dap:123:in `collect'
	 6: from /var/lib/gems/2.5.0/gems/dap-1.2.6/bin/dap:123:in `block (2 levels) in <top (required)>'
	 5: from /var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:66:in `process'
	 4: from /var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:66:in `each_pair'
	 3: from /var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:68:in `block in process'
	 2: from /var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:76:in `extract'
	 1: from /var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:76:in `each'
/var/lib/gems/2.5.0/gems/dap-1.2.6/lib/dap/filter/http.rb:79:in `block in extract': undefined local variable or method `urls' for #<Dap::Filter::FilterHTMLIframes:0x000055bee91ef700> (NameError)
Did you mean?  url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions