Skip to content

Instantly share code, notes, and snippets.

@dariushoule
Created March 2, 2015 18:11
Show Gist options
  • Save dariushoule/14b93dca4a531c6ce915 to your computer and use it in GitHub Desktop.
Save dariushoule/14b93dca4a531c6ce915 to your computer and use it in GitHub Desktop.
License transformer date issues
Error: no implicit conversion of nil into String (TypeError)
Backtrace: /Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:37:in `strptime'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:37:in `_convert_dates'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:28:in `block in _convert_dates'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:23:in `each'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:23:in `map'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:23:in `_convert_dates'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema/date_converter.rb:9:in `convert_dates'
/Library/Ruby/Gems/2.0.0/gems/openc-json_schema-0.0.9/lib/openc/json_schema.rb:18:in `convert_dates'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/processor.rb:18:in `process'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/script_runner.rb:55:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/script_runner.rb:19:in `chdir'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/script_runner.rb:19:in `run'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/runner.rb:92:in `run_script'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/runner.rb:30:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/runner.rb:29:in `each'
/Library/Ruby/Gems/2.0.0/gems/turbot-runner-0.1.33/lib/turbot_runner/runner.rb:29:in `run'
/Library/Ruby/Gems/2.0.0/gems/turbot-0.1.20/lib/turbot/command/bots.rb:281:in `preview'
/Library/Ruby/Gems/2.0.0/gems/turbot-0.1.20/lib/turbot/command.rb:219:in `run'
/Library/Ruby/Gems/2.0.0/gems/turbot-0.1.20/lib/turbot/cli.rb:28:in `start'
/Library/Ruby/Gems/2.0.0/gems/turbot-0.1.20/bin/turbot:17:in `<top (required)>'
/usr/bin/turbot:23:in `load'
/usr/bin/turbot:23:in `<main>'
Command: turbot bots:preview
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment