open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

NameError: name 'computer' is not defined

Open AntDX316 opened this issue 2 years ago • 4 comments

Describe the bug

I keeps saying NameError: name 'computer' is not defined a lot

Reproduce

ask it to do windows tasks

Expected behavior

no error and it should work

Screenshots

No response

Open Interpreter version

latest

Python version

latest

Operating System name and version

latest

Additional context

No response

AntDX316 avatar Jan 26 '24 10:01 AntDX316

May you paste the trace back, so we can find which line in the code caused the problem.

Steve235lab avatar Jan 27 '24 18:01 Steve235lab

what is a trace back?

AntDX316 avatar Jan 28 '24 02:01 AntDX316

what is a trace back?

The detailed error messages, like this:

Traceback (most recent call last):
  File "/usr/local/bin/interpreter", line 8, in <module>
    sys.exit(interpreter.start_terminal_interface())
  File "/usr/local/lib/python3.10/dist-packages/interpreter/core/core.py", line 25, in start_terminal_interface
    start_terminal_interface(self)
  File "/usr/local/lib/python3.10/dist-packages/interpreter/terminal_interface/start_terminal_interface.py", line 677, in start_terminal_interface
    conversation_navigator(interpreter)
  File "/usr/local/lib/python3.10/dist-packages/interpreter/terminal_interface/conversation_navigator.py", line 82, in conversation_navigator
    render_past_conversation(messages)
  File "/usr/local/lib/python3.10/dist-packages/interpreter/terminal_interface/render_past_conversation.py", line 25, in render_past_conversation
    print(">", chunk["message"])
KeyError: 'message'

Steve235lab avatar Jan 28 '24 14:01 Steve235lab

it seems to be fixed somehow

AntDX316 avatar Jan 29 '24 10:01 AntDX316