Open dfletter opened 8 years ago
If anyone is still watching this, I could use your help.
I got a compile error in default.rb, ERROR: no implicit conversion of String into Integer. I do not know Ruby or Chef so I am stuck. I will give the whole dialog below.
thanks for any help. Dale Fletter
==> default: :required => "optional" ==> default: ==> default: attribute "yum/proxy_username", ==> default: :display_name => "yum.conf proxy_username", ==> default: :description => "Set the proxy_username to use for yum.conf", ==> default: :required => "optional" ==> default: ==> default: attribute "yum/proxy_password", ==> default: :display_name => "yum.conf proxy_password", ==> default: :description => "Set the proxy_password to use for yum.conf", ==> default: :required => "optional" ==> default: --- END RESPONSE --- ==> default: [2016-06-21T21:11:32+00:00] DEBUG: content_encoding = '' initializing noop stream deflator. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Streaming download from chefzero ://localhost:8889/file_store/repo/cookbooks/yum/metadata.rb to tempfile /tmp/che f-rest20160621-1652-moluec ==> default: [2016-06-21T21:11:32+00:00] DEBUG: content_encoding = '' initializing noop stream deflator. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::Decompressor::NoopInflater#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::V alidateContentLength#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: HTTP server did not include a Co ntent-Length header in response, cannot identify truncated downloads. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::R emoteRequestID#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::A uthenticator#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::D ecompressor#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::C ookieManager#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONOutput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONInput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] INFO: Storing updated cookbooks/yum/met adata.rb in the cache. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::Decompressor::NoopInflater#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::V alidateContentLength#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: HTTP server did not include a Co ntent-Length header in response, cannot identify truncated downloads. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::R emoteRequestID#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::A uthenticator#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::D ecompressor#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::C ookieManager#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONOutput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONInput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] INFO: Storing updated cookbooks/yum/REA DME.md in the cache. ==> default: ==> default: - yum (2.3.0) ==> default: Installing Cookbook Gems: ==> default: Compiling Cookbooks... ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Cookbooks to compile: [:apt, :"b uild-essential", :yum, :python, :runit, :mtsw2e] ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/resource_runit_service.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook apt's attribute file /var/chef/cache/cookbooks/apt/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute apt::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook build-essential's attribute file /var/chef/cache/cookbooks/build-essentia l/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute build-essentia l::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/elrepo.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::elrepo ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/epel.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::epel ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/remi.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::remi ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook python's attribute file /var/chef/cache/cookbooks/python/attributes/defau lt.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute python::defaul t ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Filtered backtrace of compile er ror: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in []=',/var/che f/cache/cookbooks/python/attributes/default.rb:43:infrom_file' ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Backtrace entry for compile erro r: '/var/chef/cache/cookbooks/python/attributes/default.rb:43:in `[]='' ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Line number of compile error: '4 3' ==> default:
[]=',/var/che f/cache/cookbooks/python/attributes/default.rb:43:in
==> default: Recipe Compile Error in /var/chef/cache/cookbooks/python/attributes /default.rb
==> default: ==> default: TypeError ==> default: --------- ==> default: no implicit conversion of String into Integer ==> default: ==> default: Cookbook Trace: ==> default: --------------- ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in []= ' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:infro m_file' ==> default: ==> default: Relevant File Content: ==> default: ---------------------- ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb: ==> default: ==> default: 36: default['python']['url'] = 'http://www.python.org/ftp/python'
[]= ' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
==> default: 37: default['python']['version'] = '2.7.5' ==> default: 38: default['python']['checksum'] = '3b477554864e616a041ee4d7cef9 849751770bc7c39adaf78a94ea145c488059' ==> default: 39: default['python']['configure_options'] = %W{--prefix=#{python ['prefix_dir']}} ==> default: 40: ==> default: 41: default['python']['setuptools_script_url'] = 'https://bitbuck et.org/pypa/setuptools/raw/0.8/ez_setup.py' ==> default: 42: #default['python']['pip_script_url'] = 'https://raw.github.co m/pypa/pip/master/contrib/get-pip.py' ==> default: 43>> default ['python']['pip_script_url'] = 'https://bootstrap.pyp a.io/get-pip.py' 44: ==> default: ==> default: Platform: ==> default: --------- ==> default: x86_64-linux ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Re-raising exception: TypeError
[]=' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
instance_eval' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/mixin/from_file.rb:30:in
block in include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/dsl/include_attribute.rb:31:in
include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:181:in
load_attributes_from_cookbook' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:110:in
each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:109:in
compile' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context.rb:176:in
setup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/client.rb:510:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:286:in
fork' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:274:in
block in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/local_mode.rb:44:in
run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:456:in
block in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:442:in
interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:426:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/solo.rb:217:in
<top (required)>' ==> default: /usr/bin/chef-solo:52:in
<main>' ==> default: ==> default: Running handlers: ==> default: [2016-06-21T21:11:32+00:00] ERROR: Running exception handlers ==> default: Running handlers complete ==> default: [2016-06-21T21:11:32+00:00] ERROR: Exception handlers complete ==> default: Chef Client failed. 0 resources updated in 05 seconds ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Server doesn't support resource history, skipping resource report. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Audit Reports are disabled. Skip ping sending reports. ==> default: [2016-06-21T21:11:32+00:00] FATAL: Stacktrace dumped to /var/chef/c ache/chef-stacktrace.out ==> default: [2016-06-21T21:11:32+00:00] FATAL: Please provide the contents of t he stacktrace.out file if you file a bug report ==> default: [2016-06-21T21:11:32+00:00] DEBUG: TypeError: no implicit conversio n of String into Integer ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
instance_eval' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ mixin/from_file.rb:30:in
block in include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ dsl/include_attribute.rb:31:in
include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:181:in
load_attributes_from_cookbook' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:110:in
each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:109:in
compile' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context.rb:176:in
setup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ client.rb:510:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:286:in
fork' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:274:in
block in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ local_mode.rb:44:in
run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:456:in
block in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:442:in
interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:426:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/solo.rb:217:in
C:\Users\fletterd\Mining-the-Social-Web-2nd-Edition>
If anyone is still watching this, I could use your help.
I got a compile error in default.rb, ERROR: no implicit conversion of String into Integer. I do not know Ruby or Chef so I am stuck. I will give the whole dialog below.
thanks for any help. Dale Fletter
==> default: :required => "optional" ==> default: ==> default: attribute "yum/proxy_username", ==> default: :display_name => "yum.conf proxy_username", ==> default: :description => "Set the proxy_username to use for yum.conf", ==> default: :required => "optional" ==> default: ==> default: attribute "yum/proxy_password", ==> default: :display_name => "yum.conf proxy_password", ==> default: :description => "Set the proxy_password to use for yum.conf", ==> default: :required => "optional" ==> default: --- END RESPONSE --- ==> default: [2016-06-21T21:11:32+00:00] DEBUG: content_encoding = '' initializing noop stream deflator. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Streaming download from chefzero ://localhost:8889/file_store/repo/cookbooks/yum/metadata.rb to tempfile /tmp/che f-rest20160621-1652-moluec ==> default: [2016-06-21T21:11:32+00:00] DEBUG: content_encoding = '' initializing noop stream deflator. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::Decompressor::NoopInflater#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::V alidateContentLength#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: HTTP server did not include a Co ntent-Length header in response, cannot identify truncated downloads. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::R emoteRequestID#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::A uthenticator#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::D ecompressor#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::C ookieManager#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONOutput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONInput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] INFO: Storing updated cookbooks/yum/met adata.rb in the cache. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP::StreamHandler callin g Chef::HTTP::Decompressor::NoopInflater#handle_chunk ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::V alidateContentLength#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: HTTP server did not include a Co ntent-Length header in response, cannot identify truncated downloads. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::R emoteRequestID#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::A uthenticator#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::D ecompressor#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::C ookieManager#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONOutput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::J SONInput#handle_stream_complete ==> default: [2016-06-21T21:11:32+00:00] INFO: Storing updated cookbooks/yum/REA DME.md in the cache. ==> default: ==> default: - yum (2.3.0) ==> default: Installing Cookbook Gems: ==> default: Compiling Cookbooks... ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Cookbooks to compile: [:apt, :"b uild-essential", :yum, :python, :runit, :mtsw2e] ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading cookbook runit's library file: /var/chef/cache/cookbooks/runit/libraries/resource_runit_service.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook apt's attribute file /var/chef/cache/cookbooks/apt/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute apt::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook build-essential's attribute file /var/chef/cache/cookbooks/build-essentia l/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute build-essentia l::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/default.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::default ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/elrepo.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::elrepo ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/epel.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::epel ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook yum's attribute file /var/chef/cache/cookbooks/yum/attributes/remi.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute yum::remi ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Node vagrant-00cf004a loading co okbook python's attribute file /var/chef/cache/cookbooks/python/attributes/defau lt.rb ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Loading Attribute python::defaul t ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Filtered backtrace of compile er ror: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
[]=',/var/che f/cache/cookbooks/python/attributes/default.rb:43:in
from_file' ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Backtrace entry for compile erro r: '/var/chef/cache/cookbooks/python/attributes/default.rb:43:in `[]='' ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Line number of compile error: '4 3' ==> default:==> default: ===================================================================
==> default: Recipe Compile Error in /var/chef/cache/cookbooks/python/attributes /default.rb
==> default: ===================================================================
==> default: ==> default: TypeError ==> default: --------- ==> default: no implicit conversion of String into Integer ==> default: ==> default: Cookbook Trace: ==> default: --------------- ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
[]= ' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
fro m_file' ==> default: ==> default: Relevant File Content: ==> default: ---------------------- ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb: ==> default: ==> default: 36: default['python']['url'] = 'http://www.python.org/ftp/python'==> default: 37: default['python']['version'] = '2.7.5' ==> default: 38: default['python']['checksum'] = '3b477554864e616a041ee4d7cef9 849751770bc7c39adaf78a94ea145c488059' ==> default: 39: default['python']['configure_options'] = %W{--prefix=#{python ['prefix_dir']}} ==> default: 40: ==> default: 41: default['python']['setuptools_script_url'] = 'https://bitbuck et.org/pypa/setuptools/raw/0.8/ez_setup.py' ==> default: 42: #default['python']['pip_script_url'] = 'https://raw.github.co m/pypa/pip/master/contrib/get-pip.py' ==> default: 43>> default ['python']['pip_script_url'] = 'https://bootstrap.pyp a.io/get-pip.py' 44: ==> default: ==> default: Platform: ==> default: --------- ==> default: x86_64-linux ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Re-raising exception: TypeError
[]=' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
fro m_file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/mixin/from_file.rb:30:ininstance_eval' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/mixin/from_file.rb:30:in
from_file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/dsl/include_attribute.rb:39:inblock in include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/dsl/include_attribute.rb:31:in
each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/dsl/include_attribute.rb:31:ininclude_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:181:in
load_attribute_file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:170:inload_attributes_from_cookbook' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:110:in
block in compile_attributes' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:109:ineach' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:109:in
compile_attributes' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context/cookbook_compiler.rb:72:incompile' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/run_context.rb:176:in
load' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/policy_builder/expand_node_object.rb:97:insetup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/client.rb:510:in
setup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/client.rb:280:inrun' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:286:in
block in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:274:infork' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:274:in
fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:239:inblock in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/local_mode.rb:44:in
with_server_connectivity' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:227:inrun_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:456:in
sleep_then_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:443:inblock in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:442:in
loop' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:442:ininterval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/client.rb:426:in
runapplication' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application.rb:59:inrun' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/che f/application/solo.rb:217:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/bin/che f-solo:25:in<top (required)>' ==> default: /usr/bin/chef-solo:52:in
load' ==> default: /usr/bin/chef-solo:52:in<main>' ==> default: ==> default: Running handlers: ==> default: [2016-06-21T21:11:32+00:00] ERROR: Running exception handlers ==> default: Running handlers complete ==> default: [2016-06-21T21:11:32+00:00] ERROR: Exception handlers complete ==> default: Chef Client failed. 0 resources updated in 05 seconds ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Server doesn't support resource history, skipping resource report. ==> default: [2016-06-21T21:11:32+00:00] DEBUG: Audit Reports are disabled. Skip ping sending reports. ==> default: [2016-06-21T21:11:32+00:00] FATAL: Stacktrace dumped to /var/chef/c ache/chef-stacktrace.out ==> default: [2016-06-21T21:11:32+00:00] FATAL: Please provide the contents of t he stacktrace.out file if you file a bug report ==> default: [2016-06-21T21:11:32+00:00] DEBUG: TypeError: no implicit conversio n of String into Integer ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in
[]=' ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:43:in `from file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ mixin/from_file.rb:30:ininstance_eval' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ mixin/from_file.rb:30:in
from_file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ dsl/include_attribute.rb:39:inblock in include_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ dsl/include_attribute.rb:31:in
each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ dsl/include_attribute.rb:31:ininclude_attribute' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:181:in
load_attribute_file' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:170:inload_attributes_from_cookbook' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:110:in
block in compile_attributes' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:109:ineach' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:109:in
compile_attributes' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context/cookbook_compiler.rb:72:incompile' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ run_context.rb:176:in
load' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ policy_builder/expand_node_object.rb:97:insetup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ client.rb:510:in
setup_run_context' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ client.rb:280:inrun' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:286:in
block in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:274:infork' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:274:in
fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:239:inblock in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ local_mode.rb:44:in
with_server_connectivity' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:227:inrun_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:456:in
sleep_then_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:443:inblock in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:442:in
loop' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:442:ininterval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/client.rb:426:in
run_application' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application.rb:59:inrun' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/ application/solo.rb:217:in
run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/bin/chef- solo:25:in<top (required)>' ==> default: /usr/bin/chef-solo:52:in
load' ==> default: /usr/bin/chef-solo:52:in`C:\Users\fletterd\Mining-the-Social-Web-2nd-Edition>