Displaying 20 results from an estimated 362 matches for "nilclass".
2013 Feb 07
0
puppetlabs-nova puppetlabs-keystone modules got the following error
...t modules from puppetlabs. Got the following error.
I am using puppet 2.7.14 with puppetdb.
For this kind of issue, how to debug and how to figure out where the issue
is?
*err: Could not prefetch keystone_service provider ''keystone'': undefined
method `collect'' for nil:NilClass
err: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova_volume]: Could
not evaluate: undefined method `collect'' for nil:NilClass
err: Could not prefetch keystone_endpoint provider ''keystone'': undefined
method `collect'' for nil:NilClass
err: /Stage[main]/No...
2010 Jun 08
2
Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass
...o 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 method `closed?'' for nil:NilClass
Jun 8 10:59:18 svn001 puppetd[92597]: Not using cache on failed
catalog
Trying to start puppetd in test mode:
~# /usr/local/sbin/puppetd --test
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find template ''nagios/nrpe.cfg/MASTER.erb'' at /usr/...
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
...g: peer certificate won''t be verified in this SSL session
info: Caching certificate for amn-srv-linux.DOMAIN
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional
resources using ''eval_generate'': undefined method `closed?'' for
nil:NilClass
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: undefined method `closed?'' for nil:NilClass Could not
retrieve file metadata for puppet://puppetmaster.DOMAIN: undefined
method `closed?'' for nil:NilClass
err: Could not retrieve catalog from remote s...
2010 Dec 14
1
Error after signing certificate step
...r as signing the certificate before getting this error....
info: Caching certificate for ip-10-243-6-14.ec2.internal
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': undefined method `closed?'' for nil:NilClass
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: undefined method `closed?'' for nil:NilClass Could not retrieve file metadata for puppet://puppet.mydomain.com/plugins: undefined method `closed?'' for nil:NilClass
err: Could not retrieve catalog from re...
2005 Nov 12
2
undefined method `protocol' for nil:NilClass
...new controller ("list" controller), did not add anything, and when I go to
http://localhost:3000/list/
I receive an error. It appears that the page was properly generated, but
somewhere preparing the result raised this exception
undefined method `protocol'' for nil:NilClass
(The protocol method returns either http: or https:) I have other
controllers that work fine, but I''ve been stumped with this one. I am
pasting the error page and development log below. Versions are in the trace.
Does anyone know the cause, or have an idea/hint/solution for this? :-)...
2005 May 27
2
undefined method `>' for nil:NilClass
....
As instructed by the tutorial, I added the following code to the Product model:
protected
def validate
errors.add(:price, "should be positive") unless price > 0.0
end
When I attempt to add a new product, I''m getting an error:
undefined method `>'' for nil:NilClass
/app/models/product.rb:11:in `validate''
app/controllers/admin_controller.rb:21:in `create''
./script/server:48
(This is on page 60 of the book).
The only thing I did differently from the book is use Sqlite3 instead
of MySQL. Everything was working until that ''errors.add&...
2012 May 13
4
undefined method `key?' for nil:NilClass,bcrypt-ruby,has_secure_password
...igest, :password, :password_confirmation
validates :name, presence: true, uniqueness: true
has_secure_password
end
now when I go to localhost:3000/users/new I first get some kind of
bcrypt-ruby error and then when I reload the page I get a undefined method
`key?'' for nil:NilClass
I don''t know what needs to be done, mike
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/H4lsZNIa2ykJ.
To post to this group, s...
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''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in
`render_template''
/usr/local/lib/ruby/gems/1.8/gems/actionpac...
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 trace here :
[root@hostname ~]# puppet inspect --trace
Error: Could not send report: Error 400 on SERVER: Could not...
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
...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 to file failed: Could not set file on ensure: undefined method `[]'' for nil:NilClass at /raid/puppet/manifests/definitions/remotefile.pp:15
The remotefile.pp looks ok to me:
----------- remotefile .pp
$server = "puppet"
# The same as a file, except that the source is always taken
# relative to the /config module on the file server
define remotefile($owner = root, $grou...
2006 Nov 20
22
Index only partially built
I have an application which I''m running using Mongrel and Apache as
described here http://www.napcs.com/howto/rails/deploy/.
I have a model Person which I am attempting to use acts_as_ferret with.
When I first try to do a search the index begins to get built but it its
fails halfway through with the following error in the browser:
===
Proxy Error
The proxy server received an invalid
2011 May 06
2
undefined method `[]' for nil:NilClass
...ts, I can''t tell that it''s
causing a problem, everything seems to be working fine.
Fri May 06 12:52:16 -0700 2011 /Stage[main]//
Resources[ssh_authorized_key] (err): Failed to generate additional
resources using ''generate'': undefined method `[]'' for nil:NilClass
We are using user and group purging for all uids/gids above 0. I also
have purging enabled for ssh public keys but have not tested whether
it works.
This is (probably) the relevant code
--> sshkeys.pp (truncated class)
class user::sshkeys {
@ssh_authorized_key { ''jamie@local...
2010 Sep 21
9
Undefined method 'closed?' for nil:NilClass
...asterd on the same
machine. I start puppetmaster and everything works fine. Then I start
puppetd and I end up with following error:
err: /File[/var/lib/puppet/lib]: Failed to generate additional
resources using ''eval_generate'': undefined method ''closed?'' for
nil:NilClass
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: undefined method ''closed?'' for nil:NilClass Could not
retrieve file metadata for puppet://puppet/plugins: undefined method
''closed?'' for nil:NilClass
err: Could not retrieve catalog fr...
2012 Jun 26
4
ActionView::Template::Error (undefined method `strftime' for nil:NilClass)
...site and now I can no longer
view page 2 of the list of pdf''s. Nor can I login to see the newsletters as
a student. I''m using Ruby 1.9.3, Rails 3.2.1.
Here''s the information from the log file.
ActionView::Template::Error (undefined method `strftime'' for nil:NilClass):
28: <%- locals = {:enewsletter => enewsletter} %>
29: <td nowrap="nowrap" class=''enewsletter_name''><%=
enewsletter.subscription.title %></td>
30: <td
nowrap="nowra...
2006 Sep 12
8
"undefined method `retrieve'' for nil:NilClass" when attempting to run puppetmasterd
...n IRC, but it didn''t seem anyone was active:
<mozillaman>Hey all!
<mozillaman>Quick question for you :)
<mozillaman>I installed puppet according to the directions on the site and
got this:
sudo /usr/bin/puppetmasterd --nonodes
undefined method `retrieve'' for nil:NilClass
<mozillaman>Anyone have any ideas?
Any help would be appreciated,
Robin
--
Robin Monks,
CivicSpace Release Engineer - http://civicspacelabs.com
Drupal Marketing Coordinator - http://drupal.org
Encrypt! http://tinyurl.com/ffo3l - http://www.gpg4win.org/
__________________________________...
2005 Apr 26
0
NoMethodError (undefined method `fetch_fields' for nil:NilClass)
...or 127.0.0.1 at Tue Apr 26
21:43:45 CEST 2005)
Parameters: {"action"=>"index", "controller"=>"category"}
[4;33mCategory Count (0.001415) [1;37mSELECT COUNT(*) FROM
categories
NoMethodError (undefined method `fetch_fields'' for nil:NilClass):
/usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/
active_record/connection_adapters/mysql_adapter.rb:204:in `select''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/
active_record/connection_adapters/mysql_adapter.rb:98:in `select_one''
/usr/lib/ruby/gems/...
2010 Apr 30
3
undefined method `call' for nil:NilClass
why would I be getting this error after submitting my form?
NoMethodError in EchantillonsController#create
undefined method `call'' for nil:NilClass
This is my create method in the controller:
def create
@echantillon = Echantillon.new(params[:echantillon])
@echantillon.set_eros_values
respond_to do |format|
if @echantillon.save
if params[:echantillon][:vignette].blank?
format.html { redirect_to(@echa...
2012 May 21
2
Error : can't dup NilClass, in Heroku
Hi,
The application is deployed on Heroku, is based on Ruby 3.2.1 and Rails
1.9.2. Sometimes a function of my props starts throwing this error "
StringUtils:dateTimeFromString, str , *can''t dup NilClass*" and I don''t
understand the cause. it''s my function:
require ''time''
module StringUtils
DATE_FORMAT_YYYY_MM_DD=''%Y-%m-%d''
DATE_FORMAT_HH_MM_SS=''%H:%M:%S''
DATE_FORMAT_YYYY_MM_DD_HH_MM_SS=''%Y-%m-%d %H:%M:%S...
2012 Jun 25
1
ActionView::Template::Error (undefined method `strftime' for nil:NilClass):
...site and now I can no longer
view page 2 of the list of pdf''s. Nor can I login to see the newsletters as
a student. I''m using Ruby 1.9.3, Rails 3.2.1.
Here''s the information from the log file.
ActionView::Template::Error (undefined method `strftime'' for nil:NilClass):
28: <%- locals = {:enewsletter => enewsletter} %>
29: <td nowrap="nowrap" class=''enewsletter_name''><%=
enewsletter.subscription.title %></td>
30: <td
nowrap="nowra...
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 /usr/lib/ruby/1.8/net/http.rb:840:in `post''
fr...