stash icon indicating copy to clipboard operation
stash copied to clipboard

Stash.app for MacOS can't find cloudscraper

Open MC1R-13 opened this issue 4 years ago • 7 comments

The new app version for MacOS can no longer find cloudscraper, but it still works with the previous version.

Using the IAFD scraper (apparently the only one I have that uses cloudscraper) just gives an error:

ModuleNotFoundError: No module named 'cloudscraper'

when it's definitely installed.

Running the non-app version works as it should.

Stash Version: (from Settings -> About): v0.12.0-40-gc857e301

Desktop (please complete the following information):

  • OS: Mac OS Big Sur 11.6.3 (Intel)
  • Browser: Safari
  • Version: 15.3

MC1R-13 avatar Feb 05 '22 06:02 MC1R-13

I downloaded v0.12.0-41-gcee36cb1 and now it's working.

MC1R-13 avatar Feb 08 '22 03:02 MC1R-13

Hmmm...I still seem to be getting the same error when using the .app version.

LukeSal88 avatar Feb 13 '22 07:02 LukeSal88

I've since learned it was being blocked by the built-in firewall. Try running this in your Terminal:

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Stash.app
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/Stash.app

The first may not be necessary, if it's already been added to the firewall.

MC1R-13 avatar Feb 13 '22 09:02 MC1R-13

Sadly, I've already added it to the firewall, and tried with the firewall disabled. :-/

LukeSal88 avatar Feb 13 '22 09:02 LukeSal88

Hmm, I just tested it a few minutes ago and it worked. Make sure you completely exit stash first. Try:

killall "stash"
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/Stash.app

MC1R-13 avatar Feb 13 '22 09:02 MC1R-13

I finally got it working! In the end, I had to run the following:

xattr -dr com.apple.quarantine Stash.app

It seems MacOS had quarantined it for some reason.

LukeSal88 avatar Feb 15 '22 07:02 LukeSal88

Oh, yeah. I think it quarantines everything extracted from a .zip file.

MC1R-13 avatar Feb 15 '22 08:02 MC1R-13