Unclear error message on syntax error

Bug #1660756 reported by Pat McGowan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

No idea what this means,
Issues while validating snapcraft.yaml: could not found expected ':' on line 6 of snapcraft.yaml

Seems there was something wrong with my description field, still not sure what, I just made it single line rather than multiple.

In any event the language "could not found" is incorrect.

Tags: xenial
Revision history for this message
Leo Arias (elopio) wrote :

Pat, can you please attach the yaml please? I think I've hit this problem when the right side value had a ":", and then yaml goes crazy.

Changed in snapcraft (Ubuntu):
status: New → Incomplete
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

I ran into this same error message and it was because I did not have a ":" after the key name e.g.:

stop-timeout 5

The message should read "could not find".

Changed in snapcraft (Ubuntu):
status: Incomplete → Confirmed
tags: added: xenial
Revision history for this message
Brian Murray (brian-murray) wrote :

This was with version 2.27.1 of snapcraft.

Changed in snapcraft (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.