I am trying to run this via a network MongoDB by changing the host (as I already have it setup on another box) but I get nonetype object errors #71
Labels
help wanted
Extra attention is needed
Traceback attached below:
Traceback (most recent call last):
File "start.py", line 23, in
from jarvis import settings
File "G:\Desktop\Python-ai-assistant-master\src\jarvis\jarvis_init_.py", line 46, in
configure_MongoDB(db, settings)
File "G:\Desktop\Python-ai-assistant-master\src\jarvis\jarvis\utils\startup.py", line 97, in configure_MongoDB
from jarvis.skills.registry import CONTROL_SKILLS, ENABLED_BASIC_SKILLS
File "G:\Desktop\Python-ai-assistant-master\src\jarvis\jarvis\skills\registry.py", line 40, in
from jarvis.skills.collection.configuration import ConfigurationSkills
File "G:\Desktop\Python-ai-assistant-master\src\jarvis\jarvis\skills\collection\configuration.py", line 32, in
input_mode = db.get_documents(collection='general_settings')[0]['input_mode']
TypeError: 'NoneType' object is not subscriptable
I have checked the configuration.py and can see the below so I would assume its either the key or the limit parameters?:
def get_documents(self, collection, key=None, limit=None):
Any help is greatly appreciated
The text was updated successfully, but these errors were encountered: