IOWA error message

Discussion in 'Ruby' started by Mark Probert, Aug 24, 2004.

  1. Mark Probert

    Mark Probert Guest

    Kirk,

    I just got the following error. Obviously something I did caused it as
    the page was working. However, the updates I did weren't related to this
    page.

    undefined method `value' for #
    /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:9:in `send'
    /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:9:in `valueForKey'
    /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:31:in
    `valueForKeyPath'
    /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:25:in `each_index'
    /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:25:in
    `valueForKeyPath'
    /usr/local/lib/ruby/site_ruby/iowa/Association.rb:13:in `get'
    /usr/local/lib/ruby/site_ruby/iowa/Context.rb:96:in `getBinding'
    /usr/local/lib/ruby/site_ruby/iowa/Form.rb:127:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `send'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `each'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/DynamicElements.rb:72:in
    `handleRequestOrResponse'
    /usr/local/lib/ruby/site_ruby/iowa/DynamicElements.rb:65:in `each'
    /usr/local/lib/ruby/site_ruby/iowa/DynamicElements.rb:65:in
    `handleRequestOrResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:86:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/DynamicElements.rb:84:in
    `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `send'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `each'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:78:in
    `handleRequestOrResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:86:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Form.rb:23:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `send'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:72:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `each'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:70:in `handleChildren'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:78:in
    `handleRequestOrResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Element.rb:86:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Component.rb:129:in `send'
    /usr/local/lib/ruby/site_ruby/iowa/Component.rb:129:in
    `handleRequestOrResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Component.rb:118:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Session.rb:134:in `handleResponse'
    /usr/local/lib/ruby/site_ruby/iowa/Session.rb:117:in `handleRequest'
    /usr/local/lib/ruby/site_ruby/iowa/Session.rb:87:in `synchronize'
    /usr/local/lib/ruby/site_ruby/iowa/Session.rb:87:in `handleRequest'
    /usr/local/lib/ruby/site_ruby/iowa/Application.rb:115:in `handleRequest'
    /usr/local/lib/ruby/site_ruby/iowa/WEBrickServlet.rb:42:in `do_GET'
    /usr/local/lib/ruby/site_ruby/iowa/WEBrickServlet.rb:39:in `catch'
    /usr/local/lib/ruby/site_ruby/iowa/WEBrickServlet.rb:39:in `do_GET'
    /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
    /usr/local/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
    /usr/local/lib/ruby/site_ruby/iowa/HTTPServer.rb:70:in `service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:54:in `run'
    /usr/local/lib/ruby/1.8/webrick/server.rb:150:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'
    /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
    ../hcweb:78
    Mark Probert, Aug 24, 2004
    #1
    1. Advertising

  2. Mark Probert

    Mark Probert Guest

    Mark Probert <> wrote:

    >
    > I just got the following error. Obviously something I did caused it
    > as the page was working. However, the updates I did weren't related
    > to this page.
    >
    > undefined method `value' for #
    > /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:9:in `send'
    > /usr/local/lib/ruby/site_ruby/iowa/KeyValueCoding.rb:9:in
    >


    Found it.

    I had redefined a method call in a mixin module and failed to update the
    appropriate line in the .iwa file.

    -mark.
    Mark Probert, Aug 24, 2004
    #2
    1. Advertising

  3. Mark Probert

    Kirk Haines Guest

    On Wed, 25 Aug 2004 04:00:41 +0900, Mark Probert wrote
    > Kirk,
    >
    > I just got the following error. Obviously something I did caused it
    > as the page was working. However, the updates I did weren't related
    > to this page.


    See, back in the olden days when I was the only one really using Iowa, those
    ugly backtraces didn't bother me. Now that others are using it, though, I
    cringe every time I see one. Backtraces like that one, that really are
    nearly useless in figuring out what you did wrong, just don't make a person
    feel loved. Keep 'em coming. It's just that much more incentive for me to
    get 0.9.2 finished and out.

    Glad you found the problem before I had a chance to reply, too. That's
    great.


    Kirk
    Kirk Haines, Aug 24, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Driscoll

    Iowa Python User's Group

    Mike Driscoll, Aug 22, 2008, in forum: Python
    Replies:
    0
    Views:
    254
    Mike Driscoll
    Aug 22, 2008
  2. Mike Driscoll

    Iowa Python Users Group - First Meeting

    Mike Driscoll, Sep 9, 2008, in forum: Python
    Replies:
    0
    Views:
    198
    Mike Driscoll
    Sep 9, 2008
  3. Mark Probert

    IOWA error

    Mark Probert, Aug 20, 2004, in forum: Ruby
    Replies:
    6
    Views:
    105
    Mark Probert
    Aug 22, 2004
  4. Mark Probert

    IOWA error

    Mark Probert, Sep 8, 2004, in forum: Ruby
    Replies:
    2
    Views:
    83
    Mark Probert
    Sep 8, 2004
  5. Mark Probert

    IOWA error

    Mark Probert, Sep 20, 2004, in forum: Ruby
    Replies:
    1
    Views:
    80
    Kirk Haines
    Sep 20, 2004
Loading...

Share This Page