Re: Delayed::Job not working?

2010-08-18 Thread jmay
I've been running without problems on ruby 1.9.1 for a couple of
months.  Has anything else changed in the stack recently that might be
related to worker problems?

Here's the log you suggested.  Definitely blows up.  Shouldn't there
be some sort of notification for this?

$ heroku rake jobs:work
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:32:
warning: already initialized constant RAKEVERSION
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/
alt_system.rb:32: warning: already initialized constant WINDOWS
WARNING: Possible conflict with Rake extension: String#ext already
exists
WARNING: Possible conflict with Rake extension: String#pathmap already
exists
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:404:
warning: already initialized constant EMPTY_TASK_ARGS
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:452:
warning: already initialized constant EMPTY
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:960:
warning: already initialized constant RUBY_EXT
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:964:
warning: already initialized constant RUBY
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1033:
warning: already initialized constant LN_SUPPORTED
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1242:
warning: already initialized constant ARRAY_METHODS
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1245:
warning: already initialized constant MUST_DEFINE
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1249:
warning: already initialized constant MUST_NOT_DEFINE
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1253:
warning: already initialized constant SPECIAL_RETURN
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1259:
warning: already initialized constant DELEGATING_METHODS
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1569:
warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1575:
warning: already initialized constant DEFAULT_IGNORE_PROCS
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1612:
warning: already initialized constant FileList
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1638:
warning: already initialized constant EARLY
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1968:
warning: already initialized constant DEFAULT_RAKEFILES
rake aborted!
stack level too deep
/disk1/home/slugs/235709_37b057a_30d0/mnt/Rakefile:10:in `'



On Aug 18, 5:06 pm, chris  wrote:
> Jobs on our apps all seem to be executed properly by a worker. Try
> running heroku rake jobs:work and see if it blows up w/ a backtrace or
> not.
>
> I was running into a pretty serious issue not being able to run any
> rake commands (like "heroku rake routes", for instance) -- ended up
> having to downgrade to ruby 1.8.7 from 1.9.1.
>
> On Aug 18, 5:09 pm, jmay  wrote:
>
>
>
> > Since at least yesterday, Heroku workers are no longer picking up and
> > executing queued jobs.  Is anyone else experiencing this?
>
> > -Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Delayed Job not loading gem

2010-08-18 Thread daniel hoey
Hi,

We use the Hpricot gem on our Heroku app. It is specified in the .gems
file and "config.gem :hpricot" is in the config/environment.rb file.
Sometimes our delayed jobs throw a NoMethodError when attempting to
use the 'Hpricot()' method. The exact same code with the same data
works in the Heroku console. Basically it looks like the delayed jobs
do not have the same environment as the console. Does anyone have any
suggestions about how to fix this problem?

Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Delayed::Job not working?

2010-08-18 Thread chris
Jobs on our apps all seem to be executed properly by a worker. Try
running heroku rake jobs:work and see if it blows up w/ a backtrace or
not.

I was running into a pretty serious issue not being able to run any
rake commands (like "heroku rake routes", for instance) -- ended up
having to downgrade to ruby 1.8.7 from 1.9.1.

On Aug 18, 5:09 pm, jmay  wrote:
> Since at least yesterday, Heroku workers are no longer picking up and
> executing queued jobs.  Is anyone else experiencing this?
>
> -Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Delayed::Job not working?

2010-08-18 Thread Abel Tamayo
You're not alone and I don't think this has been happening since just
yesterday but probably a little longer.
I thought it was just me.

On Wed, Aug 18, 2010 at 11:09 PM, jmay  wrote:

> Since at least yesterday, Heroku workers are no longer picking up and
> executing queued jobs.  Is anyone else experiencing this?
>
> -Jason
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Delayed::Job not working?

2010-08-18 Thread jmay
Since at least yesterday, Heroku workers are no longer picking up and
executing queued jobs.  Is anyone else experiencing this?

-Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: EU bucket cost implications

2010-08-18 Thread Mark
Thanks Alex, that's great.

Just to be sure, looking at creating a new bucket I am presented with
US Standard and Northern California. I assume I should choose US
Standard?


So my bucket

On Aug 18, 12:17 pm, Alex  wrote:
> From Amazon's site
>
> Data transferred between Amazon EC2 and Amazon S3 across all other
> Regions (i.e. between the Amazon EC2 Northern California and Amazon S3
> US Standard Regions) will be charged at Internet Data Transfer rates
> on both sides of the transfer.
>
> So I think that yes, you will end up being charged more if you are
> processing your uploads through your US EC2 (heroku) instance, going
> to your Euro S3 bucket.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: EU bucket cost implications

2010-08-18 Thread Alex
>From Amazon's site

Data transferred between Amazon EC2 and Amazon S3 across all other
Regions (i.e. between the Amazon EC2 Northern California and Amazon S3
US Standard Regions) will be charged at Internet Data Transfer rates
on both sides of the transfer.

So I think that yes, you will end up being charged more if you are
processing your uploads through your US EC2 (heroku) instance, going
to your Euro S3 bucket.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.