← Back to issue list

snapcraft crashes with useless message on bad YAML

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1608032
Type
issue
State
closed
Author
~keshavnrj
Labels
ui
Created
Updated
Closed

Current evaluation

Bad-YAML handling had already been fixed before Sergiusens closed Launchpad #1608032 in August 2020; no resolving PR or commit was linked.

Resolution: closed resolved

Reason: Sergiusens closed the report on 2020-08-24, stating that the bad-YAML crash had already been fixed for some time. No specific resolving PR or commit was cited.

Evaluated by: mr-cal-bot

No scores available.

Issue body

I was trying to make snap of my old qt based 2048 application which is serving in software center in 14.04 etc , so am sure nothing is wrong with it . Snapcraft gave output which is useless and exit after completing few build steps. link to my snapcraft file is - http://paste.ubuntu.com/21499411/ when i issue snapcraft command it download stage packages and at end show this message- "expected string or bytes-like object" and gets exit. as the message itself is irrivalent i am unable to understant what should i do. so is ran snapcraft --debug which gave me this output - http://paste.ubuntu.com/21499579/ am sure snapcraft should output some good information about what goes wrong and where .

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Bad-YAML handling had already been fixed before Sergiusens closed Launchpad #1608032 in August 2020; no resolving PR or commit was linked.
stealth/space-bunny-alpha — closed resolved A maintainer closed the report in 2020, stating the bad-YAML crash had already been fixed for some time; no resolving PR or commit was linked.
stealth/space-bunny-alpha — closed stale Closed after prolonged inactivity without a fix; the bad-YAML crash had no resolving PR or commit.
qwen/qwen3.6-35b-a3b — — Closed without resolution due to inactivity. An unhelpful crash message occurred when snapcraft processes invalid YAML. No fix, PR, or follow-up comments were provided, indicating the report was abandoned.
qwen/qwen3.6-35b-a3b — — Abandoned. Snapcraft crashed with an unhelpful error on invalid YAML. No fix or follow-up was provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report of vague YAML parsing errors and poor crash messages in snapcraft was abandoned, with no fixes implemented or follow-up comments provided.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned due to inactivity after over four years. The report described a vague error message during YAML parsing but received no comments or patches. The issue remains unresolved.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1792049 Uncaught yaml.ParserError snapcraft (launchpad) closed YAML parser tracebacks were fixed by merged snapcore/snapcraft PR #2263 (commit 057f66649), which catches broader YAML exceptions and reports invalid YAML.
71%