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

Unable to view stream #49

Closed
zimbalaweee opened this issue Sep 3, 2014 · 7 comments
Closed

Unable to view stream #49

zimbalaweee opened this issue Sep 3, 2014 · 7 comments
Labels

Comments

@zimbalaweee
Copy link

Greetings,

Thank u for this cool tool. I follow ur instruction. I have a linux and installed w/venv but when i try home or whois I get error. attached is screenshot.

Simba
screenshot-simba

@orakaro
Copy link
Owner

orakaro commented Sep 3, 2014

Hi @simbarusseau - Thanks for report

I think Twitter API just got strange sometimes. Can you wait for a while and try again later ?
Ifi it still doesn't work, delete the file ~/.rainbow_oauth before start rainbowstream again :)

@zimbalaweee
Copy link
Author

Thanks 4 ur reply. I deleted the file ~/.rainbow_oath and tried again.
no response as before. This was the second time i install. first time
with pip then second time with venv.

when I type trend, each time it shows the latest trends. I tried to ufl
and this was the output:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File
"/usr/local/lib/python2.7/dist-packages/rainbowstream/rainbow.py",
line 1852, in stream
print_event(tweet)
File
"/usr/local/lib/python2.7/dist-packages/rainbowstream/draw.py",
line 863, in print_event
event_dicte['event']
KeyError: u'unfollow'

Many thanks again.

On 09/03, Orakaro wrote:

Hi @simbarusseau - Thanks for report

I think Twitter API just got strange sometimes. Can you wait for a while and try again later ?
Ifi it still doesn't work, delete the file ~/.rainbow_oauth before start rainbowstream again :)


Reply to this email directly or view it on GitHub:
#49 (comment)

@orakaro
Copy link
Owner

orakaro commented Sep 3, 2014

Hi @simbarusseau

The error with unfollow was my bad. I fixed and shipped in new release.
Besides, the previous no response error was strange, can you follow these step ?

  • Upgrade to v0.9.7 pip install -U rainbowstream.
  • rm -rf ~/.rainbow_oauth again.
  • Go to https://twitter.com/settings/applications and revoke access of RainbowStream.
  • Start rainbowstream again.

if it still doesn't work let me know and we will go for debug.

@zimbalaweee
Copy link
Author

@dtvd

Thank u again. I followed ur suggestions but still when i type home, whois, view I get the no response error.

@orakaro
Copy link
Owner

orakaro commented Sep 4, 2014

Okay let's go fix it up

  • pip install -U rainbowstream to upgrade to v0.9.8
  • Start with debug option: rainbowstream -dg
  • Reproduce the no response error
  • Inside the app, type g['traceback']
  • Paste back here what is printed out.

@zimbalaweee
Copy link
Author

Thank u 4 ur help and patience! from ur suggestions I was able to discover the problem. My locale is different from what is accepted 4 python. once i made adjustment in .zshrc now all is working! :)

@orakaro
Copy link
Owner

orakaro commented Sep 4, 2014

You are welcome :)

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

No branches or pull requests

2 participants