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

os.uname() doesn't return Upsilon's version #271

Open
Yaya-Cout opened this issue Aug 18, 2022 · 5 comments
Open

os.uname() doesn't return Upsilon's version #271

Yaya-Cout opened this issue Aug 18, 2022 · 5 comments

Comments

@Yaya-Cout
Copy link
Member

Describe the bug
In the output of the uname command of the OS module in Python, there is a “release” field. Upsilon version isn't displayed in this field.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Python app
  2. Create a new script
  3. Add
from os import *
print(uname()["release"])
  1. Execute the script
  2. See error

Expected behavior
Upsilon version should be displayed

Screenshots
image

Device:

  • N0110, Web simulator (I didn't test other simulators)
  • Upsilon Version: 1.0.1-dev
  • Upsilon commit: 1fbd528

Solution
Edit python/port/mod/os/modos.cpp to include Upsilon version

@cartoone222
Copy link

hi this bug have been fix you can close this issue

@Yaya-Cout
Copy link
Member Author

hi this bug have been fix you can close this issue

It's not fixed on upsilon-dev, where is your fix ?

image

@cartoone222
Copy link

i have test to replique the bug but nothings

image

image

@Yaya-Cout
Copy link
Member Author

On your screenshots, the issue is present : os.uname() doesn't return Upsilon's version.

@cartoone222
Copy link

a ok i see the problemme i have miss undestande the first msg img show an pyton error is confusing

cartoone222 added a commit to cartoone222/Upsilon that referenced this issue Sep 21, 2024
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