paulhammond / webkit2png

png screenshots of webpages
http://www.paulhammond.org/webkit2png/
1.44k stars 196 forks source link

Not working MacOS 13 Ventura #120

Open joeyhoer opened 1 year ago

joeyhoer commented 1 year ago

I suppose this is related to https://github.com/paulhammond/webkit2png/issues/108. I can no longer get webkit2png to work on MacOS 13 Ventura. I am using an Apple Silicon M1 MBP.

  1. I tried installing the latest version of Python (currently 3.10.3 with pyenv).
  2. I was getting errors with print statements not containing parenthesis (a Python 3 change), which I resolved by adding parenthesis.
  3. Then I got an issue with pyobjc similar to what is describes in https://github.com/paulhammond/webkit2png/issues/89.
  4. Now I'm getting a TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases error.

I've pretty much given up on using webkit2png for the time being, but I'm hoping the Swift solution mentioned in https://github.com/paulhammond/webkit2png/issues/108 will be available someday soon!

dannyob commented 1 year ago

I hit the same problem -- I wonder if the brew recipe should warn about this incompatibility?

artlung commented 11 months ago

Also having the same error. Hopefully when it's working again it'll be put into a brew update.