similar to: Unable to scrap gmail.com - EOFError: End of file reached

Displaying 20 results from an estimated 600 matches similar to: "Unable to scrap gmail.com - EOFError: End of file reached"

2007 Oct 07
1
How to store a Mechanize object in the database?
Hi, I am trying to save a Mechanize object in database (using a Rails Model). But the save operation throws a TypeError Considering that "agent" is an instance of a Rails Model and "user" is defined as a "text" type in the Model. irb(main):039:0> agent.user = WWW::Mechanize.new #<WWW::Mechanize:0xb71295f0 @follow_meta_refresh=false, @key=nil,
2007 Dec 30
3
A newbie question regarding BackgroundRb
Hi all, I just read Ezra''s article on BackgroundRb and decided to use it one of my projects. I installed the plugin into my rails project using script/plugin and then ran rake backgroundrb:setup to copy the yml scripts. Now my backgroundrb.yml looks like ======= --- port: "22222" timer_sleep: 60 load_rails: true environment: development host: localhost database_yml:
2007 Sep 24
1
selecting a form
What''s the best way to select a form on a page with Mechanize if the form doesn''t have the "name" attribute? I''m already familiar with the page.form(''myformname'') syntax but this doesn''t? work with forms that have no names. -- Thank you, Shane Witbeck Digital Sanctum, inc. -----------------------------------------------------
2006 Aug 28
2
sysread': end of file reached (EOFError)
Hi, I am trying to access the gmail account through net/pop library.However, I have an error such that: c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file reached (EOFError) from c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' from c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' from c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' from
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks like some emails are never sent because something breaks when sending it. It is a small quantity but can''t even have one drop. Browsing through the list I saw that one person had the same error as I did but in his case he couldn''t send any emails and in the end he needed no authentication at all.
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
I''m experiencing an issue where my get/submit calls to the Mechanize agent are leading to timeout exceptions when the ruby script has too many open file descriptors ( > 1000). However, I''m not seeing anything about an overstep violation sent anywhere to syslog, and no error message sent to stdout. The process has the large amount of open files because it''s
2007 Apr 26
1
EOFError (End-of-File Error occured Error)
Hi Randomly I get the following error when users search EOFError (End-of-File Error occured at <except.c>:93 in xraise Error occured in compound_io.c:137 - cmpdi_read_i Tried to read past end of file. File length is <303> and tried to read to <351> ): what could be the problem? thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 28
0
catch EOFError in PaymentsController#finalListSave
Hi, When sending emails I am gaining a EOFError, I have figured out this was because rails running on my local machine was unable to connect to the required mail server. Is there a way of catching this error and warning the user what has happened? thanks Scott -- Posted via http://www.ruby-forum.com/.
2005 Apr 12
0
What does EOFError mean in ActionMailer?
I''m trying to implement a user verification phase in my user registration controller. So I do something like this from within my controller: Notifications.deliver_verification(@user) The method in the mailer object looks like this: def verification(user,sent_at = Time.now) @subject = ''Welcome to XXX'' @body = {} @recipients = user.email @from
2007 Jul 27
0
mechanize 0.6.10 Released
mechanize version 0.6.10 has been released! * <http://mechanize.rubyforge.org/> The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: #
2006 Apr 19
2
Ferret EOFError creating index
I''ve been messing around with Ferret (no punn intended). After spending some time testing it out (indexing to file), I decided to index about 10% of the data I want to eventually index. It took several hours to complete the index on my local machine, but it was created without any problems and after optimising it the searches returned results at the sort of speed I was expecting. I
2007 Oct 05
3
basic_auth problem since 0.6.9
I have a site that I don''t think "returns" a basic_auth request, but is able to use basic_auth. In the past on 0.6.8, I could use the following code: require ''rubygems'' # gem ''mechanize'', ''=0.6.8'' require ''mechanize'' agent = WWW::Mechanize.new agent.basic_auth("username", "password")
2011 May 24
0
read_nonblock': end of file reached (EOF Error)
I have written a program to consume a Restful Service from yahoo, and I am landed with this error. I am using Net/HTTP library for this, My program is as follows require ''net/http'' APPLICATION_ID = ''XIM4jgY6YIrOoB'' YAHOO_WEB_SERVICE_SEARCH_URL = ''http://search.yahooapis.com/ WebSearchService/V1/webSearch'' query = ''world cup
2006 Aug 17
1
sysread error in "net" library?
Hi, I am reading RSS feeds and quite often I get the following error in the "net" library. Anybody had such error before? Any info would be very useful? Thanks, Hari ----- /usr/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file reached (EOFError) from /usr/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' from /usr/lib/ruby/1.8/timeout.rb:56:in
2007 Mar 25
5
mechanize 0.6.6 Released
mechanize version 0.6.6 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: =
2006 Jan 08
2
EOF ERROR occurs when sending mail by ROR
I meet an EOF ERROR when I try to send a mail by Mailer class. This is my error information. Could you please kindly tell me the reason for it and how to deal with it. Thank you. ------------------------------- EOFError in Order#confirm End of file reached RAILS_ROOT: ./script/../config/../ Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/1.8/net/protocol.rb:197:in
2009 Jun 05
1
Slow/unpredictive response of post_form from rails lib
Hi friends, I''m facing a very strange problem... I consume a webservice from within my rails app. I''ve written a thin wrapper around the webservice using Net::HTTP.post_form However, when calling the API from within my controllers, the API calls randomly fail, complaining about timeout. But - when I wrote a simple iterative test (500 iterations), calling the same webservice
2005 Apr 19
1
set ver = ?
does Wine have anything that does that? I've just tried "wine MS\ .net\ framework\ SDK\ -\ with\ C-sharp\ compiler\ Setup.exe" and it told me that it couldn't install on Win95, Win98 etc, and I'd have to upgrade to NT 4.0 before it would install. Any hints, ideas, previous experience on configuring Wine for suchlike? Thanks Wesley Parish -- Clinersterton beademung,
2008 Jun 09
1
FX ruby program error EOF
Since a week or so I am getting this error in a program which has been running fine for 6 months or so. I have a hard time running debug on this error and finding the cause. As it seems that the error is in the middle of fxruby and not in my application. I click on button1 - the first time every works perfect. Handling the next record, pressing button1 leads to this error. Any help is
2007 Nov 14
0
Hpricot & mechanize fail to parse page after redirect1q
Hi everyone, My quest with mechanize/Hpricot continues :) Something extremely strange happened today - some simple working code broke down, and i can''t figure out why. I am trying to access a piratebay.org search page, which does a redirect to a relative url like this: original link: http://thepiratebay.org/s/?page=0&orderby=3&q=football+manager+2008&searchTitle=on redirects