Sorry, I didn't see that you had pasted some of your errors, please ignore that part of my earlier reply.
> On Jul 11, 2016, at 12:51 PM, Alex jimmy Montaño fuentes <lists@ruby-forum.com> wrote:
>
> Following the steps of the page, and running sedekiq and redis-server,
> I have this on sedekiq:
>
> Unknown encoder 'libtheora'
You don't have ffmpeg set up correctly. Go back and re-compile it with the theora stuff turned on.
> 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 OgvVideoEncoder
> JID-5473fd4117a3b5aebaf19cf4 INFO: fail: 0.041 sec
> 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 WARN:
> {"class":"OgvVideoEncoder","args":[13],"retry":true,"queue":"default","jid":"5473fd4117a3b5aebaf19cf4","created_at":1468255407.2016299,"enqueued_at":1468255722.258083,"error_message":"exception
> class/object
> expected","error_class":"TypeError","failed_at":1468255407.339723,"retry_count":4,"retried_at":1468255722.298764}
> 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 WARN: TypeError: exception
> class/object expected
> 2016-07-11T16:48:42.300Z 39114 TID-owgatp770 WARN:
> /Users/JiNo/VideoShrimp/app/workers/ogv_video_encoder.rb:14:in `raise'
> /Users/JiNo/VideoShrimp/app/workers/ogv_video_encoder.rb:14:in `perform'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:152:in
> `execute_job'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:134:in
> `block (2 levels) in process'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:128:in
> `block in invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/bundler/gems/sidetiq-7bec4084165f/lib/sidetiq/middleware/history.rb:8:in
> `call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:130:in
> `block in invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/server/active_record.rb:6:in
> `call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:130:in
> `block in invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/server/retry_jobs.rb:74:in
> `call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:130:in
> `block in invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/server/logging.rb:11:in
> `block in call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/logging.rb:32:in
> `with_context'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/server/logging.rb:7:in
> `call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:130:in
> `block in invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:133:in
> `call'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/middleware/chain.rb:133:in
> `invoke'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:129:in
> `block in process'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:168:in
> `stats'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:128:in
> `process'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:80:in
> `process_one'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/processor.rb:68:in
> `run'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/util.rb:17:in
> `watchdog'
> /Users/JiNo/.rvm/gems/ruby-2.2.1/gems/sidekiq-4.1.4/lib/sidekiq/util.rb:25:in
> `block in safe_thread'
>
> and repeats the same...
I would really recommend that you try -- just at the start -- to do this without background processing. It is trivial to add that later (and you should) but for now it's going to confuse you more than it helps.
Walter
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4f1ded15cc0a32a6435274b297031427%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/D068BA2A-16B6-4B74-8662-A4243AD2D5EE%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment