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

Python programs fail with "FS error" #508

Open
navzam opened this issue Dec 8, 2024 · 1 comment · May be fixed by #522
Open

Python programs fail with "FS error" #508

navzam opened this issue Dec 8, 2024 · 1 comment · May be fixed by #522
Assignees
Labels
bug Something isn't working high High priority issue

Comments

@navzam
Copy link
Member

navzam commented Dec 8, 2024

Running any Python program results in "Error: FS error" being printed in the console and nothing else happens

@navzam navzam added bug Something isn't working high High priority issue labels Dec 8, 2024
@navzam
Copy link
Member Author

navzam commented Dec 8, 2024

Seems related to Create code. The FS error specifically is from:

module.FS.mkdir('/dev');

possibly because /dev already exists.

There are other issues too, like:

if (params.createSerial) {
create = module.FS.makedev(64, 0);
module.FS.registerDevice(create, createDevice({
serial: params.createSerial
}));
}

seems to override the registersDevice by using the same IDs in makedev(64, 0)

@navzam navzam linked a pull request Dec 21, 2024 that will close this issue
@navzam navzam self-assigned this Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high High priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant