-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
t stream timeline, errors. ubuntu 12.04 #41
Comments
Hi, I use Ubuntu and I don't have the issue. Note that I am still running 11.10, I have not upgraded to 12.04. I am planning to upgrade in the next few days, so I will try to see if I have the issue as well. Also note, that I am running ruby 1.9.3 and it seems that Ubuntu 12.04 ships with ruby 1.8. I have been running brightbox recent ruby packages which brings ruby 1.9.3 to Ubuntu. It's really easy to install: Would you mind trying this out? |
thank you, tried it on lucid. compiled the first time and going well. Faraday: you may want to install system_timer for reliable timeouts tweets terminate called after throwing an instance of 'std::runtime_error' |
I'm getting a slightly different error attempting to stream using Ubuntu 12.04:
|
Getting the HTTP::Parser::Error on a new Mac deploy. Here's the error output: /Users/chris/.rvm/gems/ruby-1.9.2-p318/gems/twitter-stream-0.1.15/lib/twitter/json_stream.rb:120:in |
These are two separate issues. I believe the As for this Ubuntu issue, I'm currently on a Mac so I can't reproduce or debug the problem. If someone has an Ubuntu machine that they'd like to give me access to, here is my SSH public key: https://gist.github.com/2663771 This blog post may also be helpful: http://www.memoefix.com/?p=208 (it's written in French but Google Translate does a pretty good job converting it to English) |
By the way, the original error makes it look like an outdated version of MultiJson is being used. Try upgrading to MultiJson 1.3.5 and let me know if the problem persists. |
The backtrace coming from twitter-stream looks the same as the one referenced in voloko/twitter-stream#27 I don't think they've released a fix yet. |
Can confirm that the original error is fixed by updating MultiJson to 1.3.5. (Ubuntu 11.04) |
yes, updating multi_json 1.3.5 fixed issue for me. |
:1,$ s/(\d+) (\w+) *(\d+) (\d\d:\d\d) @(\w+)/http://twitter.com/\5/status/\1 \2 \3 \4/g urlopener.com t activity |
mark@ubuntu:~$ t stream timeline
/var/lib/gems/1.8/gems/tweetstream-1.1.5/lib/tweetstream/client.rb:458:in
parser_from': undefined method
adapter=' for MultiJson:Module (NoMethodError)from /var/lib/gems/1.8/gems/tweetstream-1.1.5/lib/tweetstream/client.rb:41:in
json_parser' from /var/lib/gems/1.8/gems/tweetstream-1.1.5/lib/tweetstream/client.rb:36:in
initialize'from /var/lib/gems/1.8/gems/t-0.9.6/lib/t/stream.rb:107:in
new' from /var/lib/gems/1.8/gems/t-0.9.6/lib/t/stream.rb:107:in
client'from /var/lib/gems/1.8/gems/t-0.9.6/lib/t/stream.rb:67:in
timeline' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/task.rb:27:in
send'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/task.rb:27:in
run' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/invocation.rb:120:in
invoke_task'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor.rb:275:in
dispatch' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/invocation.rb:109:in
send'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/invocation.rb:109:in
invoke' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor.rb:213:in
stream'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/task.rb:27:in
send' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/task.rb:27:in
run'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/invocation.rb:120:in
invoke_task' from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor.rb:275:in
dispatch'from /var/lib/gems/1.8/gems/thor-0.15.2/lib/thor/base.rb:408:in
start' from /var/lib/gems/1.8/gems/t-0.9.6/bin/t:11 from /usr/local/bin/t:19:in
load'from /usr/local/bin/t:19
The text was updated successfully, but these errors were encountered: