lotaku
lotaku
I had a similar problem yesterday. You need to set the environment variables first. ```python os.environ.setdefault('EVENT_CONSUMER_APP_CONFIG', str('xxx.csm_settings')) os.environ.setdefault('EVENT_CONSUMER_CONFIG_NAMESPACE', str('EVENT_CONSUMER')) ``` Then perform the import. ```python from event_consumer.handlers import AMQPRetryConsumerStep consumer_app.config_from_object('django.conf:settings')...
pls add django orm to the list
any update?
@BusyJay Thanks for your quick reply! I set the raftstore.sync-log from false to true on my three TiKV servers (10.3.1.1, 10.3.1.3, 10.3.1.5 ). But i get the same error. *...
@buginux 晚上好 我刚刚也申请了自己的 token,evernote 国际版的。 但运行 es-token 配置不成功. `23:25:05 workflow.py:1596 DEBUG Reading settings from `/Users/l/Library/Application Support/Alfred 3/Workflow Data/com.alfredapp.swiftyper.evernotesearch/settings.json` ... 23:25:05 workflow.py:2387 DEBUG Set last run version : 1.24.0 23:25:05 workflow.py:2231...
` """ 国际版印象笔记 API 测试 """ from evernote.api.client import EvernoteClient dev_token = 'xxx' client = EvernoteClient(token=dev_token, sandbox=False) userStore = client.get_user_store() user = userStore.getUser() print user.username ` 刚刚我自己运行了一下 evernote 的 python...