We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
builds
--- applications: - name: logsearch-purge-bot buildpack: https://github.com/cloudfoundry-community/.net-buildpack memory: 256 instances: 1 path: ./_bin env: elasticSearchUrl: "http://ec2-79-125-57-123.eu-west-1.compute.amazonaws.com:9200"
fails
--- applications: - name: logsearch-purge-bot buildpack: https://github.com/cloudfoundry-community/.net-buildpack memory: 256 instances: 1 path: ./_bin env: elasticSearchUrl: "http://ec2-79-125-57-123.eu-west-1.compute.amazonaws.com:9200" daysToKeep: "30"
C:\dev3\logsearch-purge-bot-cloudfoundry>cf push Time of crash: 2013-10-21 08:46:39 -0700 Psych::SyntaxError: (C:/dev3/logsearch-purge-bot-cloudfoundry/manifest.yml): found character that cannot start any token while scanning for the next token at line 10 column 1 lib/ruby/1.9.1/psych.rb:203:in `parse' lib/ruby/1.9.1/psych.rb:203:in `parse_stream' lib/ruby/1.9.1/psych.rb:151:in `parse' lib/ruby/1.9.1/psych.rb:127:in `load' lib/ruby/1.9.1/psych.rb:297:in `block in load_file' lib/ruby/1.9.1/psych.rb:297:in `open' lib/ruby/1.9.1/psych.rb:297:in `load_file' src/lib/manifests/loader/builder.rb:7:in `build' src/lib/manifests/loader.rb:17:in `manifest' src/lib/manifests/manifests.rb:55:in `load_manifest' src/lib/manifests/manifests.rb:17:in `manifest' src/lib/manifests/plugin.rb:72:in `wrap_push' src/lib/manifests/plugin.rb:25:in `block in <class:ManifestsPlugin>' mothership-0.5.1/lib/mothership/command.rb:82:in `instance_exec' mothership-0.5.1/lib/mothership/command.rb:82:in `block (2 levels) in invoke' mothership-0.5.1/lib/mothership/command.rb:86:in `instance_exec' mothership-0.5.1/lib/mothership/command.rb:86:in `invoke' mothership-0.5.1/lib/mothership/base.rb:55:in `execute' src/lib/cf/cli.rb:195:in `block (2 levels) in execute' src/lib/cf/cli.rb:206:in `save_token_if_it_changes' src/lib/cf/cli.rb:194:in `block in execute' src/lib/cf/cli.rb:123:in `wrap_errors' src/lib/cf/cli.rb:190:in `execute' mothership-0.5.1/lib/mothership.rb:45:in `start' src/bin/cf:18:in `<main>' C:\dev3\logsearch-purge-bot-cloudfoundry>
The text was updated successfully, but these errors were encountered:
YAML is really fussy about tabs vs spaces; I'm almost certain that you have only tabs, or tabs + spaces for one of elasticSearchUrl or daysToKeep
elasticSearchUrl
daysToKeep
YAML only uses double space for indentation. NO TABS. In this specific case make sure that elasticSearchUrl and daysToKeep are indented with 4 spaces.
Of cause its nearly impossible to visually notice the difference, unless you have your editor visually show tabs (recommended).
Best advise I can give is to use http://yamllint.com/ to check YAML syntax.
I fight with this every time I use YAML. Grr.
Sorry, something went wrong.
@bitpusher I'm going to close this as resolved.
Reopen if you're still having issues
@mrdavidlaing - yes, sorry. thanks for the guidance.
No branches or pull requests
builds
fails
The text was updated successfully, but these errors were encountered: