Closed szechyjs closed 9 years ago
@szechyjs Yup, we've seen this on our side too. It's because Google recently changed their Hangouts protocol and Hangups hasn't pushed out an official fix yet.
It can be fixed by manually installing the latest version of Hangups from github. Though there is a caveat too that too. I'll post a how-to shortly.
I posted a note to hangups issue https://github.com/tdryer/hangups/issues/61 to see if he can update the Python repo with this fix.
It's possible there are other things blocking that though, in which case I'll come up with a work-around.
temporary fix
pip install --upgrade https://github.com/endofline/hangups/tree/fix-change-feb7.zip
Think we may need to fork the hangups library to accelerate fixes.
Add a dependency_link declaration in the setup.py
, that way we can pull the latest from our fork instead of waiting for a fix.
[hangups author here] Thanks for your patience, I just pushed release 0.2.5 which has the fix for this.
@tdryer Thanks!
@ferronrsmith Yup, just pulling the latest directly from the hangups master repo might be the best way to maintain this going forward.
If we wanted to maintain our own fork, we totally could. But in order to get faster fixes, we'd need someone on our team to learn the Hangouts protocol as well as @tdryer has, and I'm not sure if we have someone for that.
I'd love to be able to get emergency fixes out as fast as possible, especially if they already exist in a PR. Now that Google has broken the API more than a few times, I'll have to start keeping new features off master and automating the release process a bit.
@ehacke Yeah you're right, maintaining a separate fork might be counterproductive, but at least a snapshot that we can use in the interim until changes are detected.
Wondering if there is a way to implement the protocol with schema detection, that way if it changes, it can adapts. Reflection/detection in python ...
I get the following stack trace...
Also, while it is supposedly connected, it doesn't seem to be receiving messages from hangouts.
EDIT: after looking at the code the
You're logged in!
is only because I have a cookie set. It appears it never actually connects to hangouts.