open-interpreter
open-interpreter copied to clipboard
TypeError: 'NoneType' object is not iterable
Describe the bug
Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/bin/interpreter", line 8, in
Reproduce
after change version to 0.1.3 , got this error
Expected behavior
response shouldn't be 'NoneType'
Screenshots
No response
Open Interpreter version
0.1.3
Python version
3.10.10
Operating System name and version
Linux jupyter-141218-6730729 5.4.0-104-generic #118-Ubuntu
Additional context
No response
Traceback (most recent call last):
File "
I also ran into this issue
Does this happen immediate after you start Open Interpreter, or is this during a conversation with the AI? If it's during a conversation, can you please provide enough of the conversation to see what triggered the error?
Does this happen immediate after you start Open Interpreter, or is this during a conversation with the AI? If it's during a conversation, can you please provide enough of the conversation to see what triggered the error?
happen this during a conversation with the AI
im also getting the same error.. happens right after i choose the downloaded model, it loads the model then starts repeating this :
using windows 11, rtx 2080, 7b medium sized llama model
im also getting the same error.. happens right after i choose the downloaded model, it loads the model then starts repeating this :
using windows 11, rtx 2080, 7b medium sized llama model
I'm getting the exact same thing as Dix01. I'm trying the 13B medium model but the result is the same. Win 11 RTX3060 12GB VRAM.
This Code seems to be the culprit:
Causing:
have the same issue 0.1.15 when trying to run "interpreter" in command line after successful install (m2, python 3.11 conda env)
Hey there, @maxpetrusenko!
Could you share some more info about your experience? What model were you using? What was your prompt?
A screenshot or text dump of the error output would be helpful, especially because the error messages in this thread appear to come from pyreadline3 which should only be loaded on Windows.
@ericrallen ,
(base) MacBook-Pro-2:~ maxpetrusenko$ interpreter
Traceback (most recent call last):
File "/Users/maxpetrusenko/miniforge3/bin/interpreter", line 5, in <module>
from interpreter import cli
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/__init__.py", line 8, in <module>
sys.modules["interpreter"] = Interpreter()
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/core/core.py", line 60, in __init__
self.extend_config(self.config_file)
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/core/core.py", line 79, in extend_config
self.__dict__.update(config)
TypeError: 'NoneType' object is not iterable
@maxpetrusenko
please post your config.yaml
interpreter --config
@Notnaton i see the same error
maxpetrusenko$ interpreter --config
Traceback (most recent call last):
File "/Users/maxpetrusenko/miniforge3/bin/interpreter", line 5, in <module>
from interpreter import cli
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/__init__.py", line 8, in <module>
sys.modules["interpreter"] = Interpreter()
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/core/core.py", line 60, in __init__
self.extend_config(self.config_file)
File "/Users/maxpetrusenko/miniforge3/lib/python3.10/site-packages/interpreter/core/core.py", line 79, in extend_config
self.__dict__.update(config)
TypeError: 'NoneType' object is not iterable
@maxpetrusenko you need to delete your config.yaml file and let it generate again. go to where Open-interpreter is and delete it
Windows: It would typically be something like C:\Users\[Username]\AppData\Local\Open Interpreter\Open Interpreter
macOS: The path would generally be ~/Library/Application Support/Open Interpreter
On Linux: It would typically be ~/.config/Open Interpreter
let me know if it is solved
@Notnaton , Thanks. Resolved
@skywalk163 Is this still an issue?
There has been many updates since 0.1.3 please run pip install --upgrade open-interpreter
Can anyone confirm it's fixed or not fixed?