snap/snapcraft.yaml is malformed
See original GitHub issue$ curl -s https://raw.githubusercontent.com/Manisso/fsociety/master/snap/snapcraft.yaml | \
python3 -c 'import sys, yaml; yaml.safe_load(sys.stdin.read())'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 94, in safe_load
return load(stream, SafeLoader)
File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 72, in load
return loader.get_single_data()
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 35, in get_single_data
node = self.get_single_node()
File "/usr/lib/python3/dist-packages/yaml/composer.py", line 39, in get_single_node
if not self.check_event(StreamEndEvent):
File "/usr/lib/python3/dist-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/lib/python3/dist-packages/yaml/parser.py", line 174, in parse_document_start
self.peek_token().start_mark)
yaml.parser.ParserError: expected '<document start>', but found '<scalar>'
in "<unicode string>", line 7, column 1:
A Penetration Testing Framework, ...
^
This causes build requests to fail on build.snapcraft.io. It looks like you just need to fix up the weirdly-inverted indentation.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Issues connecting one specific repository to the Snapcraft ...
I currently have issues with connecting one specific GitHub repository to the Snapcraft.io build system. All other repositories are working ...
Read more >What is wrong with this snapcraft.yaml file?
Issues while validating snapcraft.yaml: The 'parts' property does not match the required schema: '7z' is not a valid part name.
Read more >Bug #1853682 “an error occurred in snapcraft”
It looks like this has been addressed in newer versions of snapcraft, but would like to make sure the YAML isn't malformed. Thank...
Read more >Snapcraft: debian/changelog - Fossies
_get_provider_content_dirs() 82 * spread tests: update unicode-metadata expect_snap.yaml's ordering 83 * snap-packaging: do not write command-chain wrapper ...
Read more >How do I target $SNAP_DATA from snapcraft.yaml
Snapcraft is a build-time tool. The install scriptlet you're using there runs when the snap is being created, not when the snap is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

reminder to fix
@CRO-THEHACKER Huh? There’s a fix in #67. I don’t understand what’s so hard about this; the YAML is invalid and fixing it isn’t that complicated.