Skip to content
New issue

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

Yml deemed valid by replicated console causes errors in studio #35

Open
eddiewebb opened this issue May 8, 2018 · 1 comment
Open

Comments

@eddiewebb
Copy link

When attempting to get studio to "check for latest" the logs throw an error for the same yaml that it loaded from our server and installed successfully. No changes can be introduced.

[getAppUpgrades:db774d72] <- {"CurrentVersion":6162,"LastKnownVersion":6162,"InstallationId":"2d5d921e7cc4487954baa98a761a0d9f","FullUpdate":true}
[getAppUpgrades:db774d72] !! 500 YAMLException: end of the stream or a document separator is expected at line 15, column 7:
          source: ""
          ^
    at generateError (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:165:10)
    at throwError (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:171:9)
    at readDocument (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:1512:5)
    at loadDocuments (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:1548:5)
    at load (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:1569:19)
    at Object.safeLoad (/usr/local/lib/node_modules/replicated-studio/node_modules/js-yaml/lib/js-yaml/loader.js:1591:10)
    at _.map (/usr/local/lib/node_modules/replicated-studio/src/replicated/release.ts:117:24)
    at arrayMap (/usr/local/lib/node_modules/replicated-studio/node_modules/lodash/lodash.js:631:23)
    at Function.map (/usr/local/lib/node_modules/replicated-studio/node_modules/lodash/lodash.js:9546:14)
    at fillOutYamlString (/usr/local/lib/node_modules/replicated-studio/src/replicated/release.ts:110:12)

It should be noted that line 15 does not contain source

@emosbaugh
Copy link
Member

hi @eddiewebb is it possible to share yaml so that we can reproduce this? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants