Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Crash on windows #35

Open
nebbles opened this issue Nov 24, 2019 · 0 comments
Open

Crash on windows #35

nebbles opened this issue Nov 24, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@nebbles
Copy link
Owner

nebbles commented Nov 24, 2019

Salavat, on Windows:

9  wip       Any code changes that are work in progress; they may not build                  (use these sparingly!)
Traceback (most recent call last):
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\eventloop\context.py", line 89, in get
   return self._storage[ctx]
KeyError: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\output\defaults.py", line 58, in get_default_output
   value = _default_output.get()
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\eventloop\context.py", line 91, in get
   raise TaskLocalNotSetError
prompt_toolkit.eventloop.context.TaskLocalNotSetError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "c:\users\user1\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
   "__main__", mod_spec)
 File "c:\users\user1\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
   exec(code, run_globals)
 File "C:\Users\User1\AppData\Local\Programs\Python\Python37\Scripts\gitcommit.exe\__main__.py", line 7, in <module>
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\gitcommit\gitcommit.py", line 396, in main
   run()
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\gitcommit\gitcommit.py", line 352, in run
   commit_msg = add_type(commit_msg)
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\gitcommit\gitcommit.py", line 143, in add_type
   ANSI(text), completer=TypeCompleter(), validator=TypeValidator(valid_inputs),
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\shortcuts\prompt.py", line 903, in prompt
   session = PromptSession(input=input, output=output, history=history)
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\shortcuts\prompt.py", line 344, in __init__
   output = output or get_default_output()
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\output\defaults.py", line 67, in get_default_output
   return create_output()
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\output\defaults.py", line 41, in create_output
   return Win32Output(stdout)
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\output\win32.py", line 99, in __init__
   info = self.get_win32_screen_buffer_info()
 File "c:\users\user1\appdata\local\programs\python\python37\lib\site-packages\prompt_toolkit\output\win32.py", line 194, in get_win32_screen_buffer_info
   raise NoConsoleScreenBufferError
prompt_toolkit.output.win32.NoConsoleScreenBufferError: Found xterm, while expecting a Windows console. Maybe try to run this program using "winpty" or run it in cmd.exe instead. Or otherwise, in case of Cygwin, use the Python executable that is compiled for Cygwin.
@nebbles nebbles added the bug Something isn't working label Nov 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant