Syntax Error prevents screeninator from generating the .screenrc from the yaml #13

Closed
flyingoctopus opened this Issue Nov 27, 2012 · 5 comments

Comments

Projects
None yet
3 participants

$HOME/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/psych.rb:203:in `parse': (): found character that cannot start any token while scanning for the next token at line 4 column 9 (Psych::SyntaxError)

Here's the yaml

~/.screeninator/acqurate.yml

you can make as many tabs as you wish...

escape: ``
project_name: project
project_root: /sandbox/project
tabs:

  • vim: vim .
  • shell:
    • git fetch upstream
    • git merge upstream/master
    • gitx
  • console: rails c
  • server: rails s thin
  • database: mongod
  • server: mosh me@myserver.io

sdball commented Dec 21, 2012

It looks like the escape line is causing the issue.

I can reproduce it with this yml (note that even github syntax parsing is flagging the ` characters):

# ~/.screeninator/vim.yml
# you can make as many tabs as you wish...

escape: ``
project_name: vim
project_root: ~/
tabs:
  - vim: vim .

Unrelated, but the shell windows aren't guaranteed to be run sequentially: if you are trying to fetch upstream and merge you'd be better off with a single window: shell: git fetch upstream && git merge upstream/master

Owner

jondruse commented Mar 15, 2013

Fixed.

jondruse closed this Mar 15, 2013

hey thanks!

Owner

jondruse commented Mar 21, 2013

yeah, better late than never right?

daaaamn straight!

damn straight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment