Open erkie opened 7 years ago
@erkie, I also encountered such a problem. The reinstallation helped.
$ pup
Segmentation fault: 11
$ brew uninstall pup
Uninstalling /usr/local/Cellar/pup/0.4.0... (3 files, 5.3MB)
$ brew install pup
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/php, caskroom/cask).
==> Updated Formulae
algernon dc3dd get_iplayer gpsd imagemagick@6 libvirt pdfgrep terragrunt
amazon-ecs-cli diff-pdf geth grib-api influxdb@0.8 logstalgia pdftoedn tmux
angular-cli dshb ghostscript grpc iozone macosvpn pdftoipe ucommon
apibuilder-cli dspdfviewer git-annex gtk+3 itstool macvim pmdmini vim
app-engine-go-64 efl git-ftp heroku khal nco ponysay vips
aubio evince git-number homebrew/php/codeception kpcli nnn poppler vte3
bazel fastd gitlab-runner homebrew/php/php56-couchbase kubernetes-helm nvi pqiv wireguard-tools
bowtie2 firebase-cli globus-toolkit homebrew/php/php70-couchbase laszip openjpeg pre-commit zile
certbot fluent-bit go homebrew/php/php70-sodium libfabric openssh qbs
chapel fn go@1.8 homebrew/php/php71-couchbase libhdhomerun orientdb rocksdb
chromedriver fwup godep homebrew/php/php71-sodium libhttpseverywhere osquery shfmt
cmake ✔ gcviewer goenv homebrew/php/php72-couchbase librsvg paket ssh-copy-id
curl geographiclib gopass imagemagick ✔ libspectre pdf2svg swift
==> Deleted Formulae
elixirscript rexster-console
==> Downloading https://homebrew.bintray.com/bottles/pup-0.4.0.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/8a/8a5634cae164832bf92170816885d5ff891dba96e3c47e21bb29d0e8766fece8?__gda__=exp=1507298302~hmac=287441e906e74c556fd8602afeb2148aa5ec8041ad0d86670648b44abac398d0&response-content-disposition=
==> Pouring pup-0.4.0.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/pup/0.4.0: 5 files, 3.9MB
$ echo '<div>foo</div>' | pup
<html>
<head>
</head>
<body>
<div>
foo
</div>
</body>
</html>
Weird I tried that too... What worked for me was to install it via go get
and use the binary from that.
@tit thanks! What I noticed is that
brew install https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb
from README.md
uses
https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_darwin_amd64.zip
And:
brew install pup
uses
https://homebrew.bintray.com/bottles/pup-0.4.0.high_sierra.bottle.tar.gz
still having the issue
Downloading https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_darwin_amd64.zip
but seg fault in the end
I was having the same problem getting
Segmentation fault: 11
no matter what.
I uninstall pup and reinstalled a few times and it started working.
I ran:
Then
Just installed Mac OS X High Sierra 10.13 (17A365)
What more info do you need?