[chef] Re: 0.10 knife errors uploading cookbook to 0.10 server.


Chronological Thread 
  • From: "Jason J. W. Williams" < >
  • To:
  • Subject: [chef] Re: 0.10 knife errors uploading cookbook to 0.10 server.
  • Date: Tue, 17 May 2011 14:34:39 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NQGP0ZFqa/l9zqQiJdj7rX9KFrgv+zGSWYX9KtJkFcehau/qdcfSN/3metVbl2GC/h ukuSuqnddvyc+kwcDTwy49MlSogwx/QnfuIiI7j3mYznX96DbNIPkN2CVJn+1HnFHN6K 0qa1k7eAaEQf4xIAfnWrDS1jsGtb93emK+hU0=

The underlying problem was actually an error related to upload that
then triggered the "undefined local variable or method `ui'" error
when it tried to report the upload error. Re-running "gem install
chef" seems to have cleared the underlying problem, but it still looks
like the trap code on 137 in cookbook_uploader.rb is referencing an
unknown module ui.

-J

On Tue, May 17, 2011 at 1:51 PM, Jason J. W. Williams
< >
 wrote:
> I upgraded my workstation to chef 0.10 (via gems) awhile ago, and
> knife has been working fine with our 0.9.16 server. However, after
> upgrading the server to 0.10 we're now getting this error when we try
> to upload cookbooks:
>
> /Library/Ruby/Gems/1.8/gems/chef-0.10.0/lib/chef/cookbook_uploader.rb:137:in
> `uploader_function_for': undefined local variable or method `ui' for
> #<Chef::CookbookUploader:0x1021a1938> (NameError)
>
> Any ideas?
>
> -J
>



Archive powered by MHonArc 2.6.16.

§