similar to: Delayed_Jobs Failed: Where to Check Logs/Errors?

Displaying 20 results from an estimated 7000 matches similar to: "Delayed_Jobs Failed: Where to Check Logs/Errors?"

2011 May 20
0
delayed_job - Undefined method error even with Mongrel
Any delayed_job gurus out there? This is a known issue on the wiki as described at the bottom here: https://github.com/collectiveidea/delayed_job/wiki/Common-problems However, even when running Mongrel (on Rails 3.0.3, ruby 1.9.2, Win7) after replacing Webrick) I am still getting this issue. My delayed_job handlers read: --- !ruby/struct:Delayed::PerformableMailer object: !ruby/object:Class
2011 Apr 10
0
Delayed_job: how to raise and log exceptions
I have this in a delayed job. def perform begin validation_warnings = Account.global_import_legacy_accounts(billing_run.legacy_master_iif_csv.path) rescue Exception => e BackgroundProcessStatus.update(:status => "Process failed. Error: #{e}.") end end I am finding that if an exception ocurrs somewhere in the code which is being called (i.e. somewhere in
2011 May 25
0
indentify delayed_job with display_name
Hi, I just found this solution for identifying a job in the job table: http://stackoverflow.com/questions/3638250/how-to-cancel-scheduled-job-with-delayed-job-in-rails They are using this code: class MyJob < Struct.new(:user_id); def perform # ... end def display_name return "MyJob-User-#{user_id}" end end # store reference to a User my_job =
2012 Jul 06
2
ActionMailer::Base.deliveries returns array with duplicated elements in production env
Hello, I am testing for email sending from my app and I have a scenario that passes in test env but not in production. When I make dump of ActionMailer::Base.deliveries I saw that it returns array with duplicated elements in production env but not in test env. I am using sqlite3 for test env and mysql for production. Also I use delayed_job. Does anyone had the same issue? Thanks in advance :)
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb config.gem ''collectiveidea-delayed_job'', :source => ''http:// gems.github.com'' >>gem list | grep coll collectiveidea-delayed_job (1.8.2) The gem infact got installed via rake gems:install. but now when I start my app, it doesn''t recognize the gem being installed. Please help. script/generate delayed_job
2010 Aug 09
0
Logging form delayed job class
I have asked this before without any luck, trying again. this is what I have in my dj.rb initializer Delayed::Worker.backend = :active_record Delayed::Worker.logger = Rails.logger #Delayed::Worker.logger = ActiveSupport::BufferedLogger.new("log/ ##{Rails.env}_delayed_jobs.log", Rails.logger.level) class Delayed::Job def logger Delayed::Worker.logger end end if
2010 Sep 30
0
upgrade to Rails3 question
Hi! After upgrading to Rails3 and the latest plugins, two of the plugins: delayed_job and oauth_plugin don''t work. They display a similar problem, I am not able to use methods they provide. In delayed_job''s case I can''t use Model.delay.method (undefined method) and with oauth_plugin adding oauthenticate in the controller returns undefined method too. Could I have
2012 Jun 08
2
MySQL settings for puppet dashboard
Hello Group, I have a problem with pending tasks in puppet-dashboard after I set the MySQL parameter autocommit = 0 and sql_mode = TRADITIONAL. Does the dashboard need autocommit to be enabled? Workers are running: env RAILS_ENV=production script/delayed_job status delayed_job: running [pid 4995] delayed_job: running [pid 5019] Regards Kai -- You received this message because you
2012 Mar 06
1
Issue with pe-dashboard-workers
I''ve almost gotten PE running -- Based on tips from a recent Webinar, I''ve started on a minimal RHEL 6 system, and have installed the PE 2.03 packages. Once I set up /etc/ hosts (DNS will come later), I started the PE services. Given past problems (possibly just me), I was pleasantly surprised that the puppet-enterprise-updater script was so accommodating as I remembered which
2011 May 17
1
uninitialized constant Delayed::Job (NameError)
hi I am implementing delayed_job in my rails app. *my code is:* file name is: my_worker.rb require "delayed_job" require "rubygems" class MyClass def perform while true do puts "I am in My class!!!" sleep 2 end end end Delayed::Job.enqueue( MyClass.new ) #m.perform when i am executing this(ruby my_worker.rb ) file it gives me error
2011 Jul 15
1
Rails 3 app has strange behaviour with Mysql2 database
Hi, I have developed a little web app with a sqlite3 database in development environment. Now I switched over to mysql2 for production environment. At a first look everthing looks good! BUT, I have delayed_jobs that run methods in the background, where two nested active records were compared with "if hash1 == hash2", then it should just show whether they are the same or not. With
2011 Jul 13
1
puppet-dashboard delayed workers
Hello I have just installed puppet dashboard from git. everything seems to load ok except it seems as though background tasks are not being run. According to the code README: running: # env CPUS=4 RAILS_ENV=production /.../script/delayed_job -p dashboard -n $CPUS -m start will start the worker. however it seems as though it is not running (or if it is how can I check?) and the back ground
2007 Feb 24
1
Bug in TMail ?
I''m sending mails to a rails app, and I''m having a weird issue fetching the email.from header. I will paste the whole email and show what email.from returns. ####### Received mail: Return-Path: <nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Delivered-To: unknown Received: from mail.tochunky.org (75.126.89.28) by adreadedsunnyday.local with POP3; 24 Feb
2011 Jul 11
0
stuck with permissions in using FileUtils
Even if I am using PaperClip & Delayed_job, I guess the issue maybe solved by FileUtisl gurus ... here is the case : I am testing a delayed video format transcoding , transcoding works perfectly but I get an issue -trying to write back the transcoded video from a tmp directory into the PaperClip path the original uploaded video file is stored into the :url => "/system/
2012 Dec 17
0
puppet-dashboard install not generating 'dashboard' cert
Hello, I''m trying to get puppet-dashboard installed on a CentOS 6.3 machine running puppet v3.0.1. I''m following the puppet-dashboard documentation here: http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html In the documentation page linked above, it says: Puppet uses SSL certificates to control who can make requests to the puppet > master, so Dashboard has
2010 Dec 11
0
Rails 3 - Delayed_Job (collectiveidea), trying to Delay Mailers - Error: NoMethodError (undefined method `delay' for UserMailer:Class):
Hello, I have the following in an observer: UserMailer.delay.msg_notification(record) In user_mailer.rb class UserMailer < ActionMailer::Base ... def msg_notification(record) mail( :to => "#{record.user.email}", :subject => "Notification" ) end .. end But this errors with: NoMethodError (undefined method `delay'' for
2011 Aug 15
2
Delayed_Job: code working fine without .delay / with .delay it fails. Why?
Hi all, I wrote a simple code to set up the "pit_id" from a village table from 1 to 2, from 2 to 3 and so on. It works fine without .delay . But i need it so whats wrong with that code? #village_controller def post_info @village = Village.find(params[:id]) @village.delay.upgrade flash[:notice] = "Upgrading" redirect_to village_url(@village) end
2007 Mar 13
0
Net::SMTPFatalError 555 5.5.2 Syntax error a8sm19427994poa
Hi, I''ve sent e-mails with action mailer in other controllers. Now I''m repeating the same trick to send emails. I have def bt_notify( bt ) @recipients = bt.product.user @body["product"]=bt.product @body["bt"]=bt @from = "xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" @subject = "blahblah" end in my mailer.rb and
2007 Mar 13
0
ActionMailer error
Hi, I''ve sent e-mails with action mailer in other controllers. Now I''m repeating the same trick to send emails. I have def bt_notify( bt ) @recipients = bt.product.user @body["product"]=bt.product @body["bt"]=bt @from = "xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" @subject = "blahblah" end in my mailer.rb and
2013 Oct 04
2
Puppet dashboard stuck pending jobs - MySql Error: Incorrect string value
Hi have add issues with stuck pending jobs on my puppet dashboard. Here is the error message from my delayed_job.log file in /usr/share/puppet-dashboard/log directory. Report.create_from_yaml_file failed with ActiveRecord::StatementInvalid: Mysql::Error: Incorrect string value: ''\x96 $bas...'' for column ''details'' at row 1: INSERT INTO `delayed_job_failures`