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
In order to reproduce this bug, you need to checkout the hackathon branch, which has some changes of WASIX merged.
$ git checkout hackathon
$ make build-wasmer
$ ./target/release/wasmer run ciuser/customlambda 55
139583862445
$ ./target/release/wasmer run ciuser/customlambda 55
Fatal Python error: Py_Initialize: Unable to get the locale encoding
Traceback (most recent call last):
File "lib/python3.6/encodings/__init__.py", line 31, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 779, in get_code
File "<frozen importlib._bootstrap_external>", line 487, in _compile_bytecode
EOFError: marshal data too short
error: failed to run `/Users/fs/.wasmer/checkouts/68747470733a2f2f7761706d2e696f2f6369757365722f637573746f6d6c616d626461@0.1.0/atoms/self::[email protected]:python`
│ 1: RuntimeError: unreachable
╰─▶ 2: unreachable
$ ./target/release/wasmer -vV
wasmer 3.1.0 (799ec 2023-01-20)
binary: wasmer-cli
commit-hash: 799ecbab394627594944e86196414b2347b7d2e6
commit-date: 2023-01-20
host: aarch64-apple-darwin
compiler: singlepass,cranelift
In the hackathon I could work around this bug by clearing the ~/.wasmer/checkouts directory before every run, but obviously this is not a long-term solution.
I am not sure if this is fixed in master because of #3509 - I can't really test it.
The text was updated successfully, but these errors were encountered:
./target/release/wasmer run ciuser/customlambda --disable-cache 55
Fatal Python error: Py_Initialize: Unable to get the locale encoding
Traceback (most recent call last):
File "lib/python3.6/encodings/__init__.py", line 31, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 779, in get_code
File "<frozen importlib._bootstrap_external>", line 487, in _compile_bytecode
EOFError: marshal data too short
error: failed to run `/Users/fs/.wasmer/checkouts/68747470733a2f2f7761706d2e696f2f6369757365722f637573746f6d6c616d626461@0.1.0/atoms/self::[email protected]:python`
│ 1: RuntimeError: unreachable
╰─▶ 2: unreachable
./target/release/wasmer -vV
wasmer 3.1.0 (580ba 2023-01-20)
binary: wasmer-cli
commit-hash: 580baeb5090ab825d082e4d5dbcafb9e880d3e06
commit-date: 2023-01-20
host: aarch64-apple-darwin
compiler: singlepass,cranelift
In order to reproduce this bug, you need to checkout the
hackathon
branch, which has some changes of WASIX merged.In the hackathon I could work around this bug by clearing the
~/.wasmer/checkouts
directory before every run, but obviously this is not a long-term solution.I am not sure if this is fixed in master because of #3509 - I can't really test it.
The text was updated successfully, but these errors were encountered: