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
run.py suddenly just closes #904
Comments
This happens for me too. I'm kind of a newbie to Python so not really sure what's going on. |
I found out that my problem is that it disconnects after some time. I found this out by turning debug output on. Now im trying to get the 'Keep Alive' working. In the Documentation its only said what to do to keep it alive but not what to import from where in order to make the keep alive work See https://github.com/tgalal/yowsup/wiki/%5BLegacy%5D-Yowsup-Documentation Part 'Keep Alive' |
I did what jerryames did in #775. Didnt work for me too. Ill keep on trying the other issues's solutions |
have you got these layers on your run.py layers = (
EchoLayer,
(YowAuthenticationProtocolLayer, YowMessagesProtocolLayer, YowReceiptProtocolLayer, YowAckProtocolLayer, YowMediaProtocolLayer, YowIqProtocolLayer, YowCallsProtocolLayer),
YowAxolotlLayer,
YowLoggerLayer,
YowCoderLayer,
YowCryptLayer,
YowStanzaRegulator,
YowNetworkLayer
) also, have you got this in your layer.py @ProtocolEntityCallback("receipt")
def onReceipt(self, entity):
ack = OutgoingAckProtocolEntity(entity.getId(), "receipt", entity.getType(), entity.getFrom())
self.toLower(ack) |
Much Thanks. |
Welp, got a new problem now. Log: http://pastebin.com/CJ1qBM83 run.py closes with this Error a few minutes after start |
I still have this problem.
have tried the stuff with the extra layers. gr |
@Dl0tt , thanks a lot, your comment on 1 Jul solved this problem for me. ack = OutgoingAckProtocolEntity(entity.getId(), "receipt", "delivery", entity.getFrom()) which is given in layer.py step lV here Yowsup-2.0-Sample-app! ack = OutgoingAckProtocolEntity(entity.getId(), "receipt", entity.getType(), entity.getFrom()) P.S. @tgalal, can you change it in Yowsup-2.0-Sample-app! , or can somebody say me how can I change this in tutorial? |
P.P.S I've changed it |
Pulled the most recent changes, but still ends on an error here:
|
Yes I still got that Problem. Even tho I did it like @y3g0r suggested :( |
I have this problem too.
to
It works here! |
Don't forget add import, ok!
|
Add this one in layer.py:
It works here too! |
Hello
I got the Problem that my run.py script just closes after some time as if the stack.loop() would not work properly.
OS: Raspbian (Debian)
Console:
Thanks for ya help
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: