Skip to content

Bug: soar install ... utf8 error #169

@balupton

Description

@balupton

Problem

$ soar install https://api.beeper.com/desktop/download/linux/arm64/stable/com.automattic.beeper.desktop
 ✗ com.automattic.beeper.desktop#api.beeper.com.desktop.download: Error while reading content of desktop file: /home/balupton/.local/share/soar/packages/com.automattic.beeper.desktop-api.beeper.com.desktop.download-761d9b59b093/com.automattic.beeper.desktop: stream did not contain valid UTF-8
[ERROR] Failed to install com.automattic.beeper.desktop#api.beeper.com.desktop.download: Error while reading content of desktop file: /home/balupton/.local/share/soar/packages/com.automattic.beeper.desktop-api.beeper.com.desktop.download-761d9b59b093/com.automattic.beeper.desktop: stream did not contain valid UTF-8

╭──────────────────────╮
│ Installation Summary │
├──────────────┬───────┤
│ ✗ Failed     │ 1     │
╰──────────────┴───────╯

Same deal for soar add ... if that matters:

$ soar add https://api.beeper.com/desktop/download/linux/arm64/stable/com.automattic.beeper.desktop
 ✗ com.automattic.beeper.desktop#api.beeper.com.desktop.download: Error while reading content of desktop file: /home/balupton/.local/share/soar/packages/com.automattic.beeper.desktop-api.beeper.com.desktop.download-761d9b59b093/com.automattic.beeper.desktop: stream did not contain valid UTF-8
[ERROR] Failed to install com.automattic.beeper.desktop#api.beeper.com.desktop.download: Error while reading content of desktop file: /home/balupton/.local/share/soar/packages/com.automattic.beeper.desktop-api.beeper.com.desktop.download-761d9b59b093/com.automattic.beeper.desktop: stream did not contain valid UTF-8

╭──────────────────────╮
│ Installation Summary │
├──────────────┬───────┤
│ ✗ Failed     │ 1     │
╰──────────────┴───────╯

Opening the link in a web browser downloads it, and tying to install it via the download also fails:

$ soar install Downloads/Beeper-4.2.892-x86_64.AppImage
[ERROR] Package Downloads/Beeper-4.2.892-x86_64.AppImage not found
No packages to install
$ file Downloads/Beeper-4.2.892-x86_64.AppImage
Downloads/Beeper-4.2.892-x86_64.AppImage: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=a87aaf5da1bf2ef30becedd1aa58e217818fb503, stripped

Steps to reproduce

see earlier

Expected behavior

see earlier

Soar version (soar -V)

0.12.1

Operating system (if issue is related to OS)

fedora

Installation

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions