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

OSError: Windows error 6 (Windows 11) #578

Open
rzlodeev opened this issue Oct 7, 2024 · 0 comments
Open

OSError: Windows error 6 (Windows 11) #578

rzlodeev opened this issue Oct 7, 2024 · 0 comments

Comments

@rzlodeev
Copy link

rzlodeev commented Oct 7, 2024

There seems to be an issue with "closing" the LLM answer. Traceback:

Chatting with mistral-7b-instruct-v0
Type 'exit' or 'quit' to exit
Type '!multi' to enter multiple lines, then '!end' to finish
> hi
 Hello! How can I help you today?

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Scripts\llm.exe\__main__.py", line 7, in <module>
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\llm\cli.py", line 418, in chat
    prompt = click.prompt("", prompt_suffix="> " if not in_multi else "")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\termui.py", line 164, in prompt
    value = prompt_func(prompt)
            ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\termui.py", line 137, in prompt_func
    echo(text.rstrip(" "), nl=False, err=err)
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\utils.py", line 318, in echo
    file.write(out)  # type: ignore
    ^^^^^^^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\_compat.py", line 542, in _safe_write
    return _write(s)
           ^^^^^^^^^
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\colorama\ansitowin32.py", line 47, in write
    self.__convertor.write(text)
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\colorama\ansitowin32.py", line 177, in write
    self.write_and_convert(text)
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\colorama\ansitowin32.py", line 205, in write_and_convert
    self.write_plain_text(text, cursor, len(text))
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\colorama\ansitowin32.py", line 211, in write_plain_text
    self.wrapped.flush()
  File "C:\Users\Cockroach\Documents\1PROJECTS\local_llm_test\venv\Lib\site-packages\click\_winconsole.py", line 177, in write
    raise OSError(self._get_error_message(GetLastError()))
OSError: Windows error 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant