- From: Cassiano Leal <
>
- To:
- Subject: [chef] Error when uploading cookbook with Berkshelf
- Date: Thu, 11 Jul 2013 18:40:21 -0300
Hi,
I’m hitting this error during a berks upload:
Ridley::Errors::HTTPBadRequest: {"error":["Invalid element in array value of 'files'."]}
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/chef_response.rb:24:in `on_complete'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:9:in `block in call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:63:in `on_complete'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:8:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:8:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:8:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/chef_auth.rb:74:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/retry.rb:29:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/connection.rb:247:in `run_request'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/connection.rb:104:in `run_request'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/connection.rb:112:in `put'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `public_send’
...
Other uploads worked flawlessly, so my guess is that there’s something different about this specific cookbook, but I can’t figure out what. The message doesn’t mean anything special to me, so if you have any idea as to where to look for the problem, I’d appreciate hearing — or rather reading — them.
- [chef] Error when uploading cookbook with Berkshelf, Cassiano Leal, 07/11/2013
Archive powered by MHonArc 2.6.16.