https://bugs.winehq.org/show_bug.cgi?id=46235
--- Comment #5 from Theodore Bumpers wine@londonlight.org --- I installed what Gentoo/Sabayon call "wine-any", wine-3.17. https://wiki.gentoo.org/wiki/Wine#Wine_variants
Reproduced the steps, and got the same fail message: Method '~' of object '~' failed
Full log attached.
Can you see anything in it which differs on your end?
Next I will try compiling your commit of wine.