Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running incompatibility? #26

Open
syrusakbary opened this issue Feb 15, 2022 · 2 comments
Open

Running incompatibility? #26

syrusakbary opened this issue Feb 15, 2022 · 2 comments

Comments

@syrusakbary
Copy link
Member

After running:

wapm install rustpython/rustpython

The following works:

$ rustpython

But the following doesn't

$ wapm run rustpython

Screen Shot 2022-02-14 at 5 45 13 PM

@john-sharratt
Copy link
Collaborator

that's super weird... will need to get a debugger on that one as its running the exact same binary but just through a bit of indirection when going via "wapm run"

...maybe its the mapped file system or something being different
...to be continued...

@john-sharratt
Copy link
Collaborator

So I recompiled and republished under Tokera namespace and it appears to be working so this seems to be something wrong with the build as well? - might be because its 2 years old and they have patched some bug in the WASI code or something, it looks sus anyway as the error says "not implemented" and relates to wasi abstraction code.

I don't know why it behaves differently under wapm run rustpython vs rustpython but I suggest we park this one as if we just republish under rustpython/rustpython then the problem will likely go away... for now at least

tokera.sh:/$ wapm install Tokera/rustpython
[INFO] Installing Tokera/rustpython@0.1.5
Package installed successfully to wapm_packages!
tokera.sh:/$ rustpython
Welcome to the magnificent Rust Python 0.1.2 interpreter 😱 🖖
>>>>> d
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'd' is not defined. Did you mean: 'id'?
>>>>> ^C
tokera.sh:/$ ls
bin
dev
etc
tmp
tokera.sh:/$ wapm run rustpython
Welcome to the magnificent Rust Python 0.1.2 interpreter 😱 🖖
>>>>> asd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'asd' is not defined
>>>>> ^C
tokera.sh:/$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants