treasure-data/td — Issue #3: undefined method `localtime' for nil:NilClass
Author: kzk
Created: 2011-11-08 07:40:36+00:00
State: open

The following error occured to my environment.

% td job:list [~]
error NoMethodError: backtrace:
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/job.rb:55:in `job_list'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/job.rb:28:in `each'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/job.rb:28:in `job_list'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/list.rb:133:in `call'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/list.rb:133:in `get_method'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/runner.rb:96:in `call'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/lib/td/command/runner.rb:96:in `run'
/usr/local/lib/ruby/gems/1.8/gems/td-0.9.11/bin/td:9
/usr/local/bin/td:19:in `load'
/usr/local/bin/td:19

undefined method `localtime' for nil:NilClass

The ruby interpreter's version is here.

ruby 1.8.7 (2010-12-23 patchlevel 330) [x86_64-linux]
(centos5)