Skip to content

Getting a Parse Exception when running Gitify Build #228

@ghost

Description

Summary

We want to use Gitify for an existing ModX-Installation. We installed it following the instructions and the Gitify extract command ran fine. When trying to build the database on a different machine from the extracted data it works until it comes to the step "Building modSnippet from snippets/...". At this point Gitify throws a "[Symfony\Component\Yaml\Exception\ParseException]" with an additional "Malformed inline YAML string" followed by about 32,000 characters of YAML in one line.
Online YAML validators all show the YAML to be correct, up until the part where the PHP follows, of course.

Step to reproduce

Create a ModX-Installation, install a few plugins like ContentBlocks, pdotools, Babel, LangRouter, TineMCEWrapper, ...
Create some custom content blocks, then extract the data using Gitify extract, commit that to a Git repository, check it out on a different machine and run Gitify build on it.

Observed behavior

It runs up to the point where it tries to build the snippets, then throws a [Symfony\Component\Yaml\Exception\ParseException]

Expected behavior

Rebuild the database.

Environment

Gitify version: Git master branch,
MODX version: MODX Revolution 2.6.1-pl (traditional),
Operating System: Ubuntu 16.04,
MySQL version: 5.7.21,
PHP version: 7.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions