IOWA error message

M

Mark Probert

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
 
M

Mark Probert

Mark Probert said:
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.
 
K

Kirk Haines

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top