You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spm build spm-test
spm local install -f -y /srv/spm_build/SPM_TEST-0.1-1.spm
This fails with
[ERROR ] An un-handled exception was caught by salt's global exception handler:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9b in position 4: invalid start byte
Traceback (most recent call last):
File "/bin/spm", line 11, in <module>
load_entry_point('salt==3001.3', 'console_scripts', 'spm')()
Expected behavior
Remove binary file, build SPM and install works correct
Salt Version:
Salt: 3001.3
Dependency Versions:
cffi: Not Installed
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: 3.6.1
pygit2: Not Installed
Python: 3.7.9 (default, Aug 27 2020, 21:59:41)
python-gnupg: Not Installed
PyYAML: 4.2
PyZMQ: 17.0.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.3
System Versions:
dist: amzn 2
locale: UTF-8
machine: x86_64
release: 4.14.193-149.317.amzn2.x86_64
system: Linux
version: Amazon Linux 2
Additional context
n/a
The text was updated successfully, but these errors were encountered:
@hsergei that fix should work. Mind submitting a PR? When you do can you ensure there is test coverage for when using both a text and binary file to ensure it works with both cases?
Description
SPM package containing a binary file fails to install
Setup
Amazon Linux 2 4.14.193-149.317.amzn2.x86_64
salt-api-3001.3-1.amzn2.noarch
salt-minion-3001.3-1.amzn2.noarch
salt-3001.3-1.amzn2.noarch
salt-master-3001.3-1.amzn2.noarch
Steps to Reproduce the behavior
Build SPM and try to install it
This fails with
Expected behavior
Remove binary file, build SPM and install works correct
Screenshots
n/a
Versions Report
Additional context
n/a
The text was updated successfully, but these errors were encountered: