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

"Operation not supported by the terminal" on Windows #1659

Closed
tomaka opened this issue Jun 12, 2017 · 1 comment
Closed

"Operation not supported by the terminal" on Windows #1659

tomaka opened this issue Jun 12, 2017 · 1 comment
Labels
bug Panic, non-idempotency, invalid code, etc.

Comments

@tomaka
Copy link

tomaka commented Jun 12, 2017

Running rustfmt on Windows on some of my repositories results in operation not supported by the terminal. I couldn't find any common trait between all the non-working code bases.

EDIT: For example winit or vulkano doesn't work, but vk-sys works.

Unfortunately even with cargo install --debug rustfmt I couldn't get a proper backtrace:

thread 'main' panicked at 'failed to emit error: operation not supported by the terminal', C:\Users\Pierre\.cargo\registry\src\suiyiyu.us.kg-1ecc6299db9ec823\syntex_errors-0.59.0\src\emitter.rs:1152
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: <unknown>
  33: <unknown>
  34: <unknown>
  35: <unknown>
  36: <unknown>
  37: <unknown>
  38: <unknown>
  39: <unknown>
  40: <unknown>
  41: <unknown>
  42: <unknown>
  43: <unknown>
  44: <unknown>
  45: BaseThreadInitThunk
@nrc nrc added the bug Panic, non-idempotency, invalid code, etc. label Jun 12, 2017
@tomaka
Copy link
Author

tomaka commented Jun 20, 2017

After I saw this issue I tried re-installing rustfmt, and this time it's working. I suppose this was the same problem.

@tomaka tomaka closed this as completed Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Panic, non-idempotency, invalid code, etc.
Projects
None yet
Development

No branches or pull requests

2 participants