Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools.py THHT env error #16

Open
lijiang2014 opened this issue Jan 19, 2017 · 1 comment
Open

tools.py THHT env error #16

lijiang2014 opened this issue Jan 19, 2017 · 1 comment

Comments

@lijiang2014
Copy link
Owner

[mgkj_jchli_1@ln2%tianhe2-C THHT]$ ./tools.sh -s 
o ,a : -s 
Summary (-s) :
{'success': 0, 'tasks': 48, 'failure': 0}
[mgkj_jchli_1@ln2%tianhe2-C THHT]$ ./tools.sh -R 
o ,a : -R 
Running Tasks (-R) :
Traceback (most recent call last):
  File "/WORK/app/thht/thht/tools.py", line 232, in <module>
    data = c.running()
  File "/WORK/app/thht/thht/tools.py", line 71, in running
    from ht_celery.celery import app
  File "/WORK/app/thht/thht/ht_celery/__init__.py", line 8, in <module>
    raise Exception("Error: No THHT_HOST SET")
Exception: Error: No THHT_HOST SET
[mgkj_jchli_1@ln2%tianhe2-C THHT]$ 
@lijiang2014
Copy link
Owner Author

需要修正./tools.sh,从 JSON 中设定 ENV THHT_HOST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant