Skip to content

Error with json file construction #45

@mpacer

Description

@mpacer

Just tried to do a fresh install from source, and ran into an issue:

I got:

Failed to write ~/.vimpkg/vim_config.json

(path replaced with ~ for more general search purposes)

and then

Completed setup successfully
Completed successfully.

Which looked a little odd to me, and then when I tried to do the full install, I got a bunch of json decoding errors.

Tried with envs for both python2 and python3, both had json errors (so it wasn't a unicode thing).

Then decided to actually look at the json that it wrote and discovered that the file ended with:

        "name": "tagbar",
        "pkg-url": "https://github.com/majutsushi/tagbar.git",
        "recipe": {}
    },
    {
        "depends-on": [],
        "name": "ctrlp.vim",
        "pkg-url":

I.e., it just ended in the middle of defining the piece of the json needed to grab ctrlp (which I already have installed via vundle).

I'm on OSX 10.11.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions