Skip to content

Error E9000 when specifying "--version" #1439

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

Closed
matsujirushi opened this issue Jan 28, 2024 · 4 comments · Fixed by nanoframework/nanoFirmwareFlasher#259
Closed

Error E9000 when specifying "--version" #1439

matsujirushi opened this issue Jan 28, 2024 · 4 comments · Fixed by nanoframework/nanoFirmwareFlasher#259

Comments

@matsujirushi
Copy link
Contributor

Tool

nanoff

Description

C:\>nanoff --version
nanoff 2.5.56+94d47f695e
Error E9000: Invalid or missing arguments.

C:\>

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional context

No response

@Ellerbach
Copy link
Member

You can also just sue nanoff without anything:

image

That say, yes, that should be fixed but not critical, so allocating a very low priority.

@josesimoes
Copy link
Member

@matsujirushi this should be an easy fix. I'm guessing the code is expecting to perform some operation which is not the case as it's only checking the version. Should be a matter of adding an extra if or something.
If you have a few minutes, can you please clone the nanoff repo set a couple of breakpoints and start a debug session? 😉

@matsujirushi
Copy link
Contributor Author

@josesimoes
Okay.
Please assign me this issue. 😉

@matsujirushi
Copy link
Contributor Author

matsujirushi commented Jan 31, 2024

  • --help return HelpRequestedError class. (here)
  • --version return VersionRequestedError class. (here)

Links:

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

Successfully merging a pull request may close this issue.

4 participants