Displaying 20 results from an estimated 9000 matches similar to: "undefined method `protocol' for nil:NilClass"
2010 Mar 05
0
NoMethodError (undefined method `match' for nil:NilClass):
Hi,
I have a redmine server with Ruby 1.8 running along with Webrick. When I
try to access any docs on the server using web interface I get the
following message.
Internal error
An error occurred on the page you are trying to access.
If you continue to experience the problems please contact the
administrator.
I looked to production.log i found the following messages. I really need
your help.
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
Hi
I''m new to Rails (and Ruby) and I can''t get it to work properly.
Every time I want to do something with my database-connection (e.g.
use scaffold) I get this, or something similiar (from development.log):
>> Beneath this code there''s some more text <<
-------
Processing CategoryController#index (for 127.0.0.1 at Tue Apr 26
21:43:45 CEST 2005)
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
Hi all,
I am trying to upgrade my rails 2 app to 3 and am getting this error
when trying to login:
NoMethodError in AuthenticateController#authenticate
undefined method `to_sym'' for nil:NilClass
The stack trace is:
activerecord (3.2.2) lib/active_record/validations/uniqueness.rb:26:in
`validate_each''
activemodel (3.2.2) lib/active_model/validator.rb:153:in
2010 Nov 12
1
Dashboard throwing undefined method `to_time' for nil:NilClass error on page view
Using 1.0.4 release on Solaris 10 with Ruby 1.8.7.
Starting the server in production mode works fine until I request a
page from the web browser then I get the following errors on the
console. I''m running as user puppet (have also tried as user root but
same output). All files are owned by user/group puppet/puppet.
I have dropped and recreated the database multiple times just to see
if
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
Hi
I am a newbie to Ruby on Rails, but experienced in programming.
I am trying out Rolling with Ruby on Rails article by Curt Hibbs on
onlamp.com. I have encountered following error:
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id
I searched the archives of the list and found that similar
question was left unanswered. I do understand from
2010 Aug 18
0
info: Retrieving plugin, err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass
I''m not really sure the problem is a Plugin problem!! Note than a
puppet client was installed, i change the setting of ip/hosname and
try to re inscription the node to puppetmaster. I would like to
understand what happen. The errors/warnings messages are not very easy
to understand and sometime i''m lost. thank you for you advice. Eric
Puppet version: 0.25.4-2ubuntu6
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
im working with active admin i have collection_select or dropdown box
that populates the packages and crews im just wondering i why this
undefined method `[]'' for nil:NilClass`
i dont know what happened but it run few days ago and tested it once but
now it raises this error are there possible way to solve this?
def create
@package = Package.find(params[:package_crew][:package_id])
2013 Jul 22
0
Could not intern from yaml: undefined method `intern' for nil:NilClass
Hi everyone,
I''m stuck with this error trying to set up inspection reports :
Could not send report: Error 400 on SERVER: Could not intern from yaml:
undefined method `intern'' for nil:NilClass
Earlier, I had this one :
Could not run: Could not find catalog for hostname
That I fixed with : catalog_cache_terminus = yaml
Agent and server are running puppet 3.2.3.
Full
2005 Jul 29
3
More issues with Rails Book Cart tutorial.
I am presently trying to get the cart section (chapter 8.) working
and after following the instructions as carefully as I can determine
I am nonetheless getting the following errors:
URL=http://localhost:3000/store/add_to_cart/10
NameError in Store#add_to_cart
undefined local variable or method `parms'' for
#<StoreController:0x376ee60>
2010 Jun 08
2
Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass
We are getting this frustrating error on all of our servers after
restarting the puppet server. Can''t seem to get rid of it no matter
what.
The following pops up in /var/log/messages after trying to start
puppetd:
Jun 8 10:59:04 svn001 puppetd[92558]: Could not retrieve catalog;
skipping run
Jun 8 10:59:18 svn001 puppetd[92597]: Could not retrieve catalog from
remote server: undefined
2005 Oct 15
1
uninitialized constant errors?
Running with WEBrick, I seem to be occasionally
getting these odd "uninitialized constant XXX" errors.
Where the XXX is the first class that whatever action
I run uses (e.g. Product, CartItem etc).
>From the backtrace, it looks almost like the server is
somehow trying to reinitialize?
Any thoughts?
2007 Apr 17
1
undefined method `each'' for nil:NilClass with Ferret search
Hi All:
For certain key terms I always get this error; I had to rebuild the
indexes then it works for a while then again it is gone.
here is the message
ActionView::TemplateError (undefined method `each'' for nil:NilClass) on
line #4
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
Hi,
I had a working puppet setup using version 0.22 until the ruby security
patch bit me. I tried upgrading server and clients to 0.24.1 however my
old manifests don''t seem to work anymore. When I run puppetd on the
client I see lots of messages like:
err: //Node[waterbuck]/yumupdater/Remotefile[/etc/cron.hourly/yumupdater]/File[/etc/cron.hourly/yumupdater]/ensure: change from absent
2005 Sep 18
1
Timeout::Error (execution expired)
I have a long running task in my Rails app that I plan to run via cron when
deployed.
The problem is that I''m getting an expiration error when trying to test it
out.
Is there a way to change this timeout?
The trace is included. The system is connecting to Flickr, which takes some
time.
Timeout::Error (execution expired):
/usr/lib/ruby/1.8/timeout.rb:42:in `new''
2006 May 06
0
`connect'': undefined method `verify_mode'' for nil:NilClass
Am using Ruby 1.8.4. I am getting this error:
/usr/lib/ruby/1.8/net/http.rb:565:in `connect'': undefined method
`verify_mode'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/1.8/net/http.rb:555:in `do_start''
from /usr/lib/ruby/1.8/net/http.rb:544:in `start''
from /usr/lib/ruby/1.8/net/http.rb:1031:in `request''
from
2009 Dec 05
0
err: undefined method `acl_type' for nil:NilClass
Hi,
I am using puppet version 0.25.1.
Currently when i am starting the server, i am getting the below error.
err: undefined method `acl_type'' for nil:NilClass
Previously i was getting err: Forbidden request:
I added the auth.conf to allow all, and this issue fixed.
Please help me.
Regards,
Shameem
--
You received this message because you are subscribed to the Google
2010 Jul 03
0
rspec controller test strange error: undefined method `call' for nil:NilClass
must be doing something dumb....
not sure, but the ''call'' appears to be on the block.call when the
respond_to block gets executed.
straight forward "channels" resource with a ''create'' action.... only
new thing is just assigning the current_user to the model.
def create
@channel = Channel.new(params[:channel])
@channel.user = @user
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
hi guys,
I have a new development server (ubuntu 10).
I have done the following (the versions match my existing development
machine which works fine):
1. installed ruby 1.9.1p378
2. installed ruby gems 1.3.7
3. installed rails 2.3.8 (used "gem install rails -v 2.3.8")
4. manually installed my other gems including sphinx and thinking
sphinx with "gem install ..."
5. ran
2013 Mar 12
0
Puppet 3.1 - Error: Could not run: undefined method `prune_parameters' for nil:NilClass - fresh install on RHEL 6.4
Trying to get my puppet up and running but running into a slight problem -
trying to view a resource I get an error for undefined method
[root@puppet puppet-dashboard]# puppet resource user root
Error: Could not run: undefined method `prune_parameters'' for nil:NilClass
[root@puppet puppet-dashboard]# uname -a
Linux puppet.luminexcorp.com 2.6.32-358.0.1.el6.x86_64 #1 SMP Tue Feb 26
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
Not sure if this is expected or not. Only happened with a has_one :through
I had setup. (Workaround is just to remove it and go through the
association manually vs has_one ..., through: .)
Not a big deal if no one has time to look at it, as it''s not a big enough
deal to look into a fix on our side.
In Rails (3.2.9) console if I do:
MyModel.reflections.each {|name,reflection|