Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

This gem cannot extract magic.tgz archive from supermarket #16

Closed
kamaradclimber opened this issue Apr 24, 2018 · 1 comment
Closed

Comments

@kamaradclimber
Copy link

To reproduce (with mixlib-archive 0.4.1)

curl -L https://supermarket.chef.io/cookbooks/magic/download -o magic.tgz
require 'mixlib/archive'
tar = Mixlib::Archive.new("magic.tgz")
dir = '/tmp/tmp.Hxu9djBfyJ'
FileUtils.mkdir(dir)
tar.extract(dir)

This fails with:

ArgumentError: "\x80\x00\x00\x007\xB5\x91\x9E" is not an octal string
from /usr/lib/ruby/2.5.0/rubygems/package/tar_header.rb:128:in `strict_oct'

First time I've seen this is trying to use chef install command on a Policyfile depending on magic cookbook.

@kamaradclimber
Copy link
Author

seems to be seen in berkshelf as well: berkshelf/berkshelf#1744

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant