ringcentral / ringcentral-chatbot-python

RingCentral Chatbot Framework for Python
MIT License
11 stars 3 forks source link

Error on startup, missing module name #80

Open byrnereese opened 5 years ago

byrnereese commented 5 years ago

Upon starting up the server for the first time, I run ./bin/start and get:

LMRC8950:glip-chatbot-weekly-reports byrne.reese$ ./bin/start
use local config.py
Use database built-in filedb
2019-04-03 12:35:22 user load env error:
'RINGCENTRAL_USER_CLIENT_ID'
extensions:
Empty module name
Traceback (most recent call last):
  File "dev/server/server.py", line 6, in <module>
    from ringcentral_bot_framework import frameworkInit
ImportError: cannot import name 'frameworkInit' from 'ringcentral_bot_framework' (/usr/local/lib/python3.7/site-packages/ringcentral_bot_framework-0.1.1-py3.7.egg/ringcentral_bot_framework/__init__.py)
byrnereese commented 5 years ago

I added RINGCENTRAL_USER_CLIENT_ID back which eliminated the load env error. Should we make those env variables optional?

byrnereese commented 5 years ago

I updated to the latest version of ringcentral_bot_framework and the error went away.