运行 新 Ubuntu 16.04 安装上的 Gramex
Running Gramex on new Ubuntu 16.04 Installation
我在 Ubuntu 16.04 中遇到问题 运行 gramex。
运行 它在 docker 中工作正常,这让我怀疑我缺少一些依赖项,但似乎无法弄清楚是哪一个。
这是我得到的错误,有什么想法吗?
INFO 22-Mar 11:33:21 install Gramex 1.31.0 | guide --browser=/welcome | /gramex/apps/guide | Python 3.6.4 |Anaconda, Inc.| (default, Mar 13 2018, 01:15:57) [GCC 7.2.0]
WARNING 22-Mar 11:33:21 config Missing config: /.config/gramexdata/mail/gramexmail.yaml
WARNING 22-Mar 11:33:21 watcher watch directory /.config/gramexdata/mail does not exist
INFO 22-Mar 11:33:21 config No config found: /.config/gramexdata/mail/gramexmail.yaml
Traceback (most recent call last):
File "/anaconda3/envs/gramex/bin/gramex", line 11, in <module>
sys.exit(commandline())
File "/anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/__init__.py", line 172, in commandline
callback(**kwargs)
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/install.py", line 539, in run
gramex.init(cmd=AttrDict(app=app_config['run']))
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/__init__.py", line 279, in init
callback = getattr(services, key)(conf[key])
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/services/__init__.py", line 133, in app
if ioloop._running:
AttributeError: 'AsyncIOMainLoop' object has no attribute '_running'
Gramex 1.31 与 Tornado 5.0 不兼容。这将在 2018 年 3 月 31 日到期的 Gramex 1.32 中得到解决,并且是 tracked here
我在 Ubuntu 16.04 中遇到问题 运行 gramex。
运行 它在 docker 中工作正常,这让我怀疑我缺少一些依赖项,但似乎无法弄清楚是哪一个。
这是我得到的错误,有什么想法吗?
INFO 22-Mar 11:33:21 install Gramex 1.31.0 | guide --browser=/welcome | /gramex/apps/guide | Python 3.6.4 |Anaconda, Inc.| (default, Mar 13 2018, 01:15:57) [GCC 7.2.0]
WARNING 22-Mar 11:33:21 config Missing config: /.config/gramexdata/mail/gramexmail.yaml
WARNING 22-Mar 11:33:21 watcher watch directory /.config/gramexdata/mail does not exist
INFO 22-Mar 11:33:21 config No config found: /.config/gramexdata/mail/gramexmail.yaml
Traceback (most recent call last):
File "/anaconda3/envs/gramex/bin/gramex", line 11, in <module>
sys.exit(commandline())
File "/anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/__init__.py", line 172, in commandline
callback(**kwargs)
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/install.py", line 539, in run
gramex.init(cmd=AttrDict(app=app_config['run']))
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/__init__.py", line 279, in init
callback = getattr(services, key)(conf[key])
File "anaconda3/envs/gramex/lib/python3.6/site-packages/gramex/services/__init__.py", line 133, in app
if ioloop._running:
AttributeError: 'AsyncIOMainLoop' object has no attribute '_running'
Gramex 1.31 与 Tornado 5.0 不兼容。这将在 2018 年 3 月 31 日到期的 Gramex 1.32 中得到解决,并且是 tracked here