snapcraft fails if desktop file included "ascii" cannot decode byte
Metadata
Current evaluation
Closed without resolution. Snapcraft build failures triggered by non-ASCII characters in desktop files caused an ASCII codec decode error. The report received no comments or patches and was abandoned, likely superseded by upstream UTF-8 handling improvements.
Suggested action: —
No scores available.
Issue body
When including the project .desktop file building the snap fails:
'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128)
Generated desktop file is attached. As well as the snapcraft file.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft build failures triggered by non-ASCII characters in desktop files caused an ASCII codec decode error. The report received no comments or patches and was abandoned, likely superseded by upstream UTF-8 handling improvements. | |
| qwen/qwen3.6-35b-a3b | — | — | A snapcraft build failure triggered by non-ASCII characters in desktop files was closed without resolution or comments, likely abandoned due to inactivity. No fix or workaround was documented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1628457 snapcraft fails on s390x with utf8 error | snapcraft (launchpad) | closed | Closed without a fix. The report detailed a UTF-8 encoding error in snapcraft 2.18 causing s390x builds to fail. The issue was abandoned with no code changes or resolution provided. | |
| #1649181 snapcraft search: 'ascii' codec can't encode character '\xae' in position 40: ordinal not in range(128) | snapcraft (launchpad) | open | snapcraft search crashes with an 'ascii' codec error when a part description contains a non-ASCII character (e.g. ®). Reported against snapcraft 2.22.1 on a classic dragonboard; no maintainer response, labels, or activity for ~10 years. | |
| #1796813 Snapcraft crashes with UnicodeDecodeError | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft crashed with a UnicodeDecodeError when parsing snapcraft.cfg containing invalid UTF-8 bytes during Travis CI builds. | |
| #1607015 'ascii' codec can't encode character '\u29f8' in position 19: ordinal not in range(128) | snapcraft (launchpad) | closed | Closed as abandoned. The snapcraft cleanbuild ASCII encoding error was not addressed, despite a suggested fix from snapd PR #1468. |