-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Wrong version of PyObjC C API" -> updated pyobjc -> AttributeError: CFMachPortCreateRunLoopSource #2
Comments
This issue seems to originate in aw-watcher-afk (which depends on pyobjc). It's been breaking the CI for aw-watcher-afk for some time now, hopefully all that's needed is to update pyobjc. If this CI run passes, then I've fixed it, and I'll update aw-watcher-input in just a moment :) |
aw-watcher-afk CI run passed! Fixed for aw-watcher-input in a6730e2 Thanks for reporting 🙂 |
Thanks for your impressively prompt turn around fixing this! 🙏 |
@dbieber You're just lucky, I was just about to stop working for the day 😉 |
Hmm, even after updating to a6730e2 I still get the same error.
|
@dbieber Can you give me If you have the latest pyobjc, it should work (otherwise I'm clueless). |
Installing in a fresh virtualenv resolved the issue, now it starts but with these errors:
From the "working" virtualenv, here's the output of the requested command:
And yes I did poetry install again. |
Huh, that's new. Might be caused by the v21 API/bumping pyobjc to 7.0. Edit: It does not affect aw-watcher-afk since it's been upgraded to use |
@dbieber I've opened an issue in the PyUserInput repo PyUserInput/PyUserInput#61. It looks like an easy fix, but I might be wrong about that. If you have the time, feel free to give it a shot. Otherwise, I might look into it myself in a few weeks. |
Thanks for looking into it. I’ll let you know if I get a chance to look into it myself before then. |
I logged my progress in PyUserInput/PyUserInput#61. Still gives the
The logging of mouse data seems intermittent, and isn't showing up again on subsequent runs. |
I just installed aw-watcher-input with poetry.
When I run
aw-watcher-input --help
I getRuntimeError: Wrong version of PyObjC C API (got 21, expected 20)
.What would be required to update aw-watcher-input to work with version 21?
Here's the full stacktrace:
The text was updated successfully, but these errors were encountered: