Exception raised in bytes_to_read() intermittently on windows #440
Milestone
Comments
Yea, that's just an outstanding TODO, I was paranoid that maybe there was a corner case where some folks could be "on Windows" but still be able to run It's funny that you're only getting it intermittently...I'd expect it to be a hard pass/fail. Perhaps it's only the times where you're triggering Anyway, thanks for the report, I'll just slap that |
Thanks!! Yeah, I was a little confused why it was intermittent as well. For what it's worth, the command that was failing for me was invoking pyserial/miniterm using ctx.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On windows I occasionally hit this line https://github.com/pyinvoke/invoke/blob/master/invoke/platform.py#L162 and then hit an exception because
struct
is not imported for windows. However, the TODO on L159 suggests maybe code should never get there in the first place? Addingor WINDOWS
on 160 seemed to resolve my issueThe text was updated successfully, but these errors were encountered: