AppImageCrafters / AppRun

AppDir runtime components
MIT License
26 stars 10 forks source link

'utf-8' codec can't decode byte / invalid start byte #63

Open slspencer opened 2 years ago

slspencer commented 2 years ago

We're encountering a compiler Warning message just after downloading libapprun_hooks-Release-x86_64.so. The message says there's an invalid start byte in pygettext3.

This problem may be related to how Python 3 handles these types of errors, whereas previously Python 2 just sort of accepted them: http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html

INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/libapprun_hooks-Release-x86_64.so
2022-08-28T21:18:54.8125551Z INFO:root:Deploying libapprun_hooks.so (x86_64) to "/home/runner/work/Seamly2D/Seamly2D/AppDir/lib/x86_64/libapprun_hooks.so"
2022-08-28T21:18:57.8356336Z WARNING:ExecutablesPatcher:Unable to patch script shebang /home/runner/work/Seamly2D/Seamly2D/AppDir/usr/bin/pygettext3: 'utf-8' codec can't decode byte 0xfc in position 222: invalid start byte
2022-08-28T21:18:58.9278156Z WARNING:ExecutablesPatcher:Unable to patch script shebang /home/runner/work/Seamly2D/Seamly2D/AppDir/usr/bin/pygettext3.8: 'utf-8' codec can't decode byte 0xfc in position 222: invalid start byte
2022-08-28T21:19:01.4213008Z INFO:root:Setup bundled interpreter: "usr/bin/python3.8"
2022-08-28T21:19:01.4214021Z INFO:root:Setup system interpreter: "usr/bin/env"
2022-08-28T21:19:01.4215741Z WARNING:root:"/home/runner/work/Seamly2D/Seamly2D/AppDir/usr/lib/software-properties/software-properties-dbus" will not run if "usr/bin/env" is not present in the target system