Forum: Ruby Mechanize: 404 => Net::HTTPNotFound

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7c940af2be0b0cf96f7a71dbaa7fc6db?d=identicon&s=25 Andru Mccracken (andrum)
on 2009-05-02 00:44
Attachment: troubleweather.rb (1 KB)
Hi all,
I'm able to use this script to enter my username and password, click a
link and get to the page i need, but when I click the checkbox that I
need and try to submit the page, I get this message: httpNotFound.

I've been stewing about this for months. I'm not excited about other
people picking through my nasty, amateurish code, but I am at wits end.

Can you help me?

here are the results i get:

>ruby troubleweather.rb
c:/program
files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:229:in
`get': 404 => Net::HTTPNotFound (WWW::Mechanize::ResponseCodeError)
  from c:/program
files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:340:in
`submit'
  from troubleweather.rb:41
>Exit code: 1

Thanks,
Andru
This topic is locked and can not be replied to.