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

Avoid OS specific function uname() #345

Merged
merged 1 commit into from
Mar 19, 2023
Merged

Conversation

tadeubas
Copy link
Contributor

@tadeubas tadeubas commented Mar 9, 2023

It is necessary to avoid AttributeError: module 'os' has no attribute 'uname' when using the seedsigner-emulator project on Windows: https://github.com/tadeubas/seedsigner-emulator

It is necessary when using the seedsigner-emulator project on Windows for example
@SeedSigner
Copy link
Owner

Am very interested in what you're working on -- can you share more info on what issue this causes?

@tadeubas
Copy link
Contributor Author

If you see the project README it explains that it is an emulator for SeedSigner... so if someone wants to see how SeedSigner works and don't have a Raspeberry Pi, it is possible to emulate it on Windows, Linux or Mac. But for Windows, because it doesn't have the uname function it raises an error. This can be fixed using the platform that implements this function in a way that works on multiple OS, even Windows.

@newtonick
Copy link
Collaborator

ACK tested

@newtonick newtonick merged commit a4fc740 into SeedSigner:dev Mar 19, 2023
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

Successfully merging this pull request may close these issues.

3 participants