bradp / vv

:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ :x: This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.
GNU General Public License v2.0
1k stars 89 forks source link

Syntax error while loading vv-blueprints #314

Closed ensminger closed 7 years ago

ensminger commented 8 years ago

Very interested in using blueprints with vv, however I've been unable to load them properly. I'm getting this syntax error on vv create.

  File "<string>", line 1
    import json,sys;obj=json.loads(open('/Users/ensminger/Local/vvv/vv-blueprints.json').read());print ', '.join(obj.keys());
                                                                                                          ^
SyntaxError: invalid syntax

Screenshot: https://www.dropbox.com/s/k5n559hj6xsrolr/Screenshot%202016-10-07%2015.32.11.png?dl=0

I get this immediately after a fresh vv blueprint-init.


Output of vv --version:

vv version 1.11

Output of vv --debug-vv:

/usr/local/bin/vv: line 1482: version: command not found

vv: /usr/local/bin/vv

vv_config: /Users/ensminger/.vv-config
vvv path:    /Users/ensminger/Local/vvv
home: /Users/ensminger

tput: 
cat: /bin/cat
curl: /usr/bin/curl
brew: /usr/local/bin/brew
tar: /usr/bin/tar
find: /usr/bin/find
git: /usr/local/bin/git
sed: /usr/bin/sed
paste: /usr/bin/paste
vagrant: /usr/local/bin/vagrant
bradp commented 7 years ago

Looks like there is an error in your JSON formatting / structure.