Skip to content
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

Flakey listen_for_dweets_from on a RaspberryPi #5

Open
mattbrailsford opened this issue Oct 12, 2015 · 2 comments
Open

Flakey listen_for_dweets_from on a RaspberryPi #5

mattbrailsford opened this issue Oct 12, 2015 · 2 comments

Comments

@mattbrailsford
Copy link

I'm not sure if dweepy is intended for use on a RaspberryPi or not, but when I've tried to use listen_for_dweets_from, it seems really flakey at receiving dweets with it being a bit hit and miss as to whether they come through or not.

Has this been tested to run on a Pi? Or am I just using it for an unintended purpose?

@paddycarey
Copy link
Owner

Hrmm, it should work the same on a raspberry pi as it does elsewhere. Have you got a test case or some code I could use to reproduce and investigate?

@mattbrailsford
Copy link
Author

It's kind of all intermingled with a bunch of other stuff I'm doing, but the dweepy bit is just bog standard

for dweet in dweepy.listen_for_dweets_from( thingId ):  
    if type(dweet) is not int:  
        processDweet(dweet)

I'll get a couple through, but then it just seems to stall. There also seems to be an issue with keeping it open that after a while of no messages you'll get an OpenSSL.SSL.ZeroResultError thrown (not sure if this is part of the issue, or whether that should be another issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants