snapcraft search: 'ascii' codec can't encode character '\xae' in position 40: ordinal not in range(128)

Bug #1649181 reported by XiaoGuo, Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

I cannot successfully compile the mosquitto example code at Ubuntu Intel desktop.

https://github.com/snapcore/snapcraft/tree/master/demos/mosquitto

However, I cannot compile it successfully on dragonboard (under classic).

(classic)liu-xiao-guo@localhost:~/apps/mosquitto$ snapcraft
"grade" property not specified: defaulting to "stable"
DEPRECATED: Found a "/" in the name of the 'mqtt-paho/python3' part
DEPRECATED: The 'python3' plugin's functionality has been replaced by the 'python' plugin, and it will soon be removed.
'ascii' codec can't encode character '\u29f8' in position 49: ordinal not in range(128)

When I run snapcraft search on dragonboard, and it shows:

(classic)liu-xiao-guo@localhost:~$ snapcraft search
PART NAME DESCRIPTION
checkbox Part that supplies the latest stable version of the Checkbox t...
checkbox-dev Part that supplies the latest stable version of the Checkbox t...
checkbox-ng-dev Part that supplies the latest stable version of the Checkbox t...
checkbox-support-dev Part that supplies the latest stable version of the Checkbox t...
curl A tool and a library (usable from many languages) for client s...
desktop-glib-only Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop-gtk2 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop-gtk3 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop-qt4 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop-qt5 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop-ubuntu-app-platform Helpers for qt5 minimal launchers. This one is for ubuntu-app-...
desktop/glib-only Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop/gtk2 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop/gtk3 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop/qt4 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
desktop/qt5 Helpers for gtk2, gtk3, qt4 and qt5 or glib minimal launchers.
dnsmasq Network infrastructure swiss-army knife
ffmpeg This sets up ffmpeg for projects.
gtkconf This sets up the GTK environment for GTK-based projects
indicator-gtk2 Parts to show app-indicators for gtk2, gtk3, qt4 and qt5.
indicator-gtk3 Parts to show app-indicators for gtk2, gtk3, qt4 and qt5.
indicator-qt4 Parts to show app-indicators for gtk2, gtk3, qt4 and qt5.
indicator-qt5 Parts to show app-indicators for gtk2, gtk3, qt4 and qt5.
'ascii' codec can't encode character '\xae' in position 40: ordinal not in range(128)

(classic)liu-xiao-guo@localhost:~$ snapcraft --version
2.22.1

The same error appears.

I am not sure whether it is the could part problem or it is related to the snapcraft.

description: updated
summary: - mosquitto demo cannot successfully compiled on ARM 64 platform like
- dragon board
+ 'ascii' codec can't encode character '\u29f8' in position 49: ordinal
+ not in range(128) on ARM 64 platform like dragon board
Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote : Re: 'ascii' codec can't encode character '\u29f8' in position 49: ordinal not in range(128) on ARM 64 platform like dragon board

After changing the remote part from

[mqtt-paho/python3]

to:

[mqtt-paho-python3]

now, it can build the project successfully. However, the error for "snapcraft search" still remains.

Oliver Grawert (ogra)
summary: - 'ascii' codec can't encode character '\u29f8' in position 49: ordinal
- not in range(128) on ARM 64 platform like dragon board
+ snapcraft serach: 'ascii' codec can't encode character '\xae' in
+ position 40: ordinal not in range(128)
summary: - snapcraft serach: 'ascii' codec can't encode character '\xae' in
+ snapcraft search: 'ascii' codec can't encode character '\xae' in
position 40: ordinal not in range(128)
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.