The submission worker currently faces the problem of permission denied due to the dependency on /tmp/logfile. Here is the error log:
(EvalAI) 137 ubuntu@staging-evalai:~/Projects/EvalAI⟫ python scripts/workers/submission_worker.py settings.prod
Traceback (most recent call last):
File "scripts/workers/submission_worker.py", line 44, in <module>
django.setup()
File "/home/ubuntu/.virtualenvs/EvalAI/local/lib/python2.7/site-packages/django/__init__.py", line 22, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/ubuntu/.virtualenvs/EvalAI/local/lib/python2.7/site-packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 576, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'logfile': [Errno 13] Permission denied: '/tmp/logfile'
@deshraj Shall I look into it?
@isht3: sure, go ahead.
@deshraj How do I reproduce the error?
@isht3python scripts/workers/submission_worker.py settings.prod
check the first line @deshraj has posted
@anweshknayak I missed the settings.prod part :rofl:, thanks for pointing it out.
@deshraj @anweshknayak Is there any prerequisite installation required before running the production server? I'm getting a ImportError: No module named raven error.
@isht3 yep pip install raven would do. Check https://github.com/Cloud-CV/EvalAI/pull/517
@anweshknayak All the dependencies are taken care off but when I run python scripts/workers/submission_worker.py settings.prod it's just stuck, no progress, no errors, no anything. Any ideas?