Displaying 1 result from an estimated 1 matches for "onlinesigns".
2007 May 20
0
Urgent :: File Object problem
...I get the
following error in the Ruby editor:
>ruby realtor_scraper.rb
realtor_scraper.rb:54:in `initialize'': can''t convert nil into String
(TypeError)
from realtor_scraper.rb:54:in `open''
from realtor_scraper.rb:54
>Exit code: 1
Here is the script (©2007 OnlineSigns.com)... Any input you can give me
or direction you can send me in would be greatly appreciated! Basically
Ruby can''t open the ''result.txt'' file to save the results...
require ''rubygems''
require ''mechanize''
=begin
* realtor_scraper....