Displaying 20 results from an estimated 25 matches for "read_news".
Did you mean:
read_new
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
2008 Apr 23
1
Error in execution of rails Application using solr Search engine
I installed solr search engine in my Rails application when i started
server then i found this message
execution expired
and
usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill''
/usr/lib/ruby/1.8/timeout.rb:56:in `timeout''
/usr/lib/ruby/1.8/timeout.rb:76:in `timeout''
/usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill''
/usr/lib/ruby/1.8/net/protocol.rb:116:in
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi ,
I want realize a web service with rails, but it''s the response it''s
very slow. I want only saw all element present in my base.
I did a base Customers (with element like id, name, phone,...). I
added two elements.
I did a model customer, a web_service customer.
In the file /app/apis/customer_api.rb
class CustomerApi < ActionWebService::API::Base
api_method :listid,
2010 Jun 17
6
Foreman / external_node.rb
Hello All,
I''m trying to start using external nodes under foreman, and I''m
running into some issues. I have the entries in puppet.conf:
[main]
external_nodes = /etc/puppet/external_node.rb
node_terminus = exec
The enternal_node.rb script is the one that came with foreman:
#!/usr/bin/ruby
# a simple script which fetches external nodes from Foreman
# you
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
Hi,
I have a puppet infrastructure running 2.6.14 under Passenger with about 30
nodes. I''m just spinning up a new Cent 6.3, puppet 2.7.19 master. Right now
I have the master built and configured using the same configuration as my
2.6.14 setup, with a few tweaks for the new version. Puppet on the master
built itself fine. I have puppetd stopped on the master. I tried pointing
one
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
2007 Sep 14
1
Unable to scrap gmail.com - EOFError: End of file reached
Hi all,
I am so excited to use mechanize! It has opened a whole new world of
projects for me :)
I am trying to login into the Gmail.com server, as described in
http://schf.uc.org/articles/2007/02/14/scraping-gmail-with-mechanize-and-hpricot
but am running into a few issues...
irb(main):010:0> page = agent.submit form
EOFError: end of file reached
from
2002 Oct 30
2
system freezes with ext3
Hello,
I investigated newsgroups and mailinglists for aprox. 3 weeks now. But i
have not found any comment about ext3 freezing a whole system.
But:
I do have 5 ext2 partitions on my system. I upgraded theses partitions
to ext3 with tunefs.
after mounting 1 partition as ext3 all was fine. After that i mounted
all partitions as ext3. And, after approx. 3-4 minutes my system
freezes. No mouse or
2006 May 25
3
webservice timeout issue
I am having an issue where I am trying to test a weservice that I wrote by
connecting to it from ruby. When I submit my form that calls the webservice
it times out. you can see from the lighttpd log that the webservice
completes just after the timeout. any ideas? am I doing something wrong?
---- source ----
def validate
auth = ActionWebService::Client::Soap.new(AuthApi, "
2007 Jul 04
2
timeout error
Hallo,
I am donig a rather long script execution via script/runner (quering a
xmlrpc webservice).
After about 5 minutes the execution stops raising the following error.
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:47: /
usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill'': execution expired
(Timeout::Error)
from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout''
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 Sep 11
3
Production mode bug with ruby/amazon
Hi all,
I''ve got an issue that only ever appears in production mode. I''ve got
my app hooked up to amazon''s web service (ECS, using ruby/amazon from
http://www.caliban.org/ruby/ruby-amazon.shtml).
In the dev environment, everything''s peachy. But in production mode,
after I''ve left the app up for a couple of hours (sometimes, minutes),
I get an
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
2009 Apr 22
5
Connection reset by peer (Errno::ECONNRESET)
Hi,
I''m a new bee to Ruby and I''m trying to parse the html content from a
website using net/http. All urls work fine except for
"https://www.google.com/accounts/AuthSubRequest?scope=http%3A%2%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&session=0&secure=0&next=http%3A%2F%2Fwww.google.com".
When I try to access this url I get an error like this :
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this...
>From mongrel.log
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
transactions.rb:85:in `transaction'': Transaction aborted
(ActiveRecord::Transactions::TransactionError)
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:293:in `call''
from
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 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
Hi all,
Ruby 1.8.4
Windows XP Pro / Solaris 10
Mongrel 0.3.12
Rails 1.1.2
I''ve got a fairly simple and straightforward layered dispatching web
service setup for my Rails app. This simple xmlrpc script works fine
with WEBrick, but chokes on Mongrel. Is there anything special I need
to do to make web services work with Mongrel and Rails? Some Google
searching indicates that there had
2006 Apr 18
3
install rail behind a proxy
Hello
i try to install rail. I am behin a proxy with no Authorization
C:\rubygems-0.8.11>gem install rails -p http://xxx.xxx.xxx.xxx
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency rake? [Yn] y
2011 Nov 14
3
ruby 1.9.3 causes rbuf_fill timeout, but 1.8.7 does not
subject line says it all. I am trying to use the Google Storage gem
(gstore), and if i use ruby 1.8.7, no problem. If i try to use ruby
1.9.3, i get this error:
Timeout::Error: Timeout::Error
from /usr/local/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue
in rbuf_fill''
from /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in
`rbuf_fill''
from
2010 Apr 21
12
puppetd stops
Hi all,
The last 2 weeks we have been having problems with puppetd just randomly stopping. The only thing the log shows is:
<snip>
Apr 21 12:14:59 relay puppetd[1376]: Finished catalog run in 4.78 seconds
Apr 21 12:30:07 relay puppetd[1376]: Finished catalog run in 4.76 seconds
Apr 21 12:45:20 relay puppetd[1376]: Finished catalog run in 4.61 seconds
</snip>
There is no pattern when