MycroftAI / personal-backend

WORK IN PROGRESS: A Flask personal backend alternative for running your own version of https://home.mycroft.ai
Apache License 2.0
114 stars 32 forks source link

start_backend.py not work #51

Closed andresh0816 closed 4 years ago

andresh0816 commented 4 years ago

I'm trying to run the bakend but i get this response:

~/Documentos/Proyectos/api$ python3.6 examples/start_backend.py
Traceback (most recent call last):
  File "examples/start_backend.py", line 5, in <module>
    start_backend()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/backend/__init__.py", line 70, in start_backend
    app = create_app()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/backend/__init__.py", line 41, in create_app
    from personal_mycroft_backend.backend.stt import get_stt_routes
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/backend/stt.py", line 25, in <module>
    engine = STTFactory.create()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/stt/__init__.py", line 228, in create
    return clazz()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/stt/__init__.py", line 74, in __init__
    super(GoogleSTT, self).__init__()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/stt/__init__.py", line 42, in __init__
    super(TokenSTT, self).__init__()
  File "/home/andres/.local/lib/python3.6/site-packages/personal_mycroft_backend/stt/__init__.py", line 30, in __init__
    self.credential = self.config.get("credential", {})
AttributeError: 'NoneType' object has no attribute 'get'

Someone can help me with that?