Displaying 20 results from an estimated 40000 matches similar to: "Net::HTTP.new produces SystemStackError?"
2007 Jan 31
2
SystemStackError: stack level too deep
I''m testing the http module in console.
BUt I got the following error.
Anyone knows why?
>> Net::HTTP.get_print ''www.google.com'', ''index.html''
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
2006 Jul 18
1
Fixtures Max Size? SystemStackError: stack level too deep
Hello,
I have a table of zipcodes that I am using in my application, so there
are approximately 50,000 rows in this table. I have dumped the table to
a fixture yaml file to represent this data, but when I try to load it, I
get this error: SystemStackError: stack level too deep
Is there a max size allowed for a fixture file..?
Here is the --trace output:
rake db:fixtures:load --trace
**
2006 Aug 15
0
SystemStackError: stack level too deep
Hi
I have two models Keyword and KeywordResult, they basically look like this:
class KeywordResult < ActiveRecord::Base
belongs_to :keyword
validates_presence_of :title, :url, :keyword_id
end
class Keyword < ActiveRecord::Base
has_many :keyword_results, :dependent => :delete_all
acts_as_tree :order => "text", :foreign_key => "top_keyword"
end
Before you
2006 Jul 12
5
SystemStackError
SystemStackError in GreyController#grey_search
stack level too deep
can anybody please enlighten me on this one...any possible way to
troubleshoot?
thanks,
MSN id: ICEMANyears@netscape.net
--
Posted via http://www.ruby-forum.com/.
2008 Jun 05
2
RSpec Story - SystemStackError: stack level too deep
I have a story that executes the following (as an example to show the
bug I''m experiencing):
----------------------------------------------
Given "I have a fake post saved" do
@postCount = Post.find(:all).length
@post = Post.new
@post.employee_id = 123
@post.name = "Name of the Post"
@post.description = "Description of the Post"
2006 Mar 21
2
r3981 causes SystemStackError
http://dev.rubyonrails.org/changeset/3981
?!?
The changes are a rename of RailsInfoController to
Rails::InfoController. That seems to be completely unrelated to this
error:
$ ruby script\server
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:121:in
`underscore': stack level too deep (SystemStackError)
from
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a
transaction. Ive used transactions many times in the past and Im at a loss
as to why im getting the stack level too deep problem.
SystemStackError - stack level too deep:
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `''
I have a StackOveflow with more detail -
2007 Nov 08
2
SystemStackError from redirect_to
Hi
I''ve got a straightforward piece of code in my controller which will
consistently produce a SystemStackError.
@newmessage = @message.reply(params[:newmessage])
return unless request.post?
if @newmessage.save
flash[:notice] = "Message Sent"
redirect_to :index
end
The error is occuring on the redirect_to line, if I comment that line
out then everything behaves as it
2007 Dec 25
1
puppetd: err: Got an uncaught exception of type SystemStackError: stack level too deep
i''m having trouble with a file resource with 0.24.1. the manifest is
very simple:
file { "/":
ensure => directory,
owner => "root",
group => "root",
mode => 755
}
when i run puppetd, i get the attached stack trace. removing this
resource enables puppetd to complete its run successfully.
any ideas? didn''t have this
2008 Nov 07
0
[ wxruby-Bugs-22706 ] BitmapComboBox doesn''t work on Linux GTK+
Bugs item #22706, was opened at 2008-11-07 06:55
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=22706&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: BitmapComboBox doesn''t work on Linux GTK+
Initial Comment:
This is the source code.
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
I suspect this has more to do with Ruby than Puppet, but I know little about Ruby and Google has failed me, so I''m asking here.
I''m finally getting some of our older systems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby
2012 May 14
1
Extract Variance Components
Hi,
I'm still having problems putting the variance components of my model in to
a data frame, it is a continuation of this discussion,
http://r.789695.n4.nabble.com/ANOVA-problem-td4609062.html, but now focussed
on the problem of extracting variance components. I have got my mixed
effects model now
/narrow$line<-as.factor(narrow$line)
rg.lmer <- lapply(split(narrow,
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
Hey guys,
I''m trying to get rSpec (rev 2996) working with Rails 2 (rev 8214).
Running the tests from the command line works, no problem.
I installed the RSpec.tmbundle (also rev 2996), and would like to see
the HTML test results in TextMate. When I run the "Run examples in
selected files/directories" command in TextMate, I get the following
dump:
2006 Jun 06
1
stack level too deep
Iam new to ferret Iam trying to do a sample application on ferret
this is my code:
class SearchController < ApplicationController
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/path/to/index'')
def list
end
def index
index << {:title => "Programming Ruby", :content => "blah blah
blah"}
2006 Mar 25
1
Question about upgrading to rails rc1.1
My current under-developed project is using rails 1.0 and now plan to
upgrade to rails rc1.1,the project uses the Rails-engine and
Login-engine as the login module,when I update the rails according to
http://weblog.rubyonrails.org/articles/2006/03/22/rails-1-1-release-candidate-1-available
The project still can not be started,anybody can tell me the reason?very
thanksful!And following is the
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
they all pass. But when I
$ rake spec
I get
<path to
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2010 Jul 14
3
`stack level too deep` when overwriting `to_json`
I''m using
[acts_as_commentable_with_threading](http://github.com/elight/acts_as_commentable_with_threading/),
and it worked fine until I tried to overwrite the to_json function to
include more details about the associated user.
Here''s part of the comment class (which was originally defined in the
plugin, but I moved it to the models folder, a move which seems not to
affect the
2006 Jan 10
4
Problem creating MockController
Hi there,
I''m trying to create a mock controller to test the use of UrlHelper in
ActionMailer. I''m trying this:
require
''d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller''
# Re-raise errors caught by the controller.
#class DiscussionsController; def rescue_action(e) raise e end; end
class MockController < ActionController::Base
def
2005 Dec 21
1
Table called applications - causes stack overflow?
Having worked through Four Days on Rails and the book Agile Web Development
with Rails I decided it was time to start a live project. I have an existing
application with MySQL database, so I modified the schema to use Rails
standard column names. The main table was named ''applications''.
ruby script/generate scaffold Application Admin results a stack overflow