-
Notifications
You must be signed in to change notification settings - Fork 0
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
KERNEL32.SetConsoleMode()
raises OSError: [WinError 87] The parameter is incorrect.
#5
Comments
I'd guess their terminal doesn't support the |
Thanks for the explanation. I forwarded the question. Would it be possible to do some fallback/workaround (at |
The workaround would probably be in Jinxed to try ANSICON if the native support fails. However, it would be good to know if some condition isn't already being caught by the guard. |
Answer from the user:
So it's even windows 11. (I adapted the original post accordingly.) |
Yeah, that's weird. We wouldn't want to fall back in that case. Best to try and figure out what's going on |
Once I get my VM updated, I'm going to test an update to Jinxed that won't set the console mode if the needed mode is already enabled. It wasn't enabled by default before, but it looks like it is now. I don't know if that's your user's issue, but, if we don't have to set the mode, then it avoids the whole issue. |
I released Jinxed 1.3.0 with this change. Hopefully that solves the issue. If not, we can keep investigating. Either way, I think the change makes sense. |
Hi,
a user of my app got an issue: marph91/jimmy#9
In short:
1011, cmdenlighten.get_manager()
at https://github.com/marph91/jimmy/blob/e4d9bf50e2209f51d8a85719ff328d5cd0d0a0a8/src/common.py#L68OSError: [WinError 87] The parameter is incorrect.
atjinxed/jinxed/win32.py
Line 181 in fad7d1b
I couldn't reproduce it on my Windows VM with cmd.
Do you have any idea how to fix it?
The text was updated successfully, but these errors were encountered: