Commenting to follow as I am also experiencing this issue and not sure how to document the exact error. I ran this with the following command:
/Applications/Gramps.app/Contents/MacOS/Gramps --debug=""
And when I went to run web sync, I got the same error described above and I did not see anything in the terminal.
Iām not a developer and may be doing things incorrectly here