ceos-seo / data_cube_ui

Data Cube user interface allowing users to interact with the Data Cube and run sample analysis cases
http://ceos-cube.org/
Apache License 2.0
47 stars 51 forks source link

AttributeError: 'NoneType' object has no attribute 'close' when starting celery worker #9

Closed tushar10sh closed 6 years ago

tushar10sh commented 6 years ago

When executing, celery -A data_cube_ui worker -l info -c 4 I get this error AttributeError: 'NoneType' object has no attribute 'close' when starting celery worker Site is up but I am not able to submit any tasks. Can anyone help please?

tushar10sh commented 6 years ago

I removed custom_mosaic_tool and other dc_algorithm derived apps from installed apps and their corresponding entries in urls.py and then celery worker starts. There is some problem withs apps celery task functions. Anybody else facing similar issue?

tushar10sh commented 6 years ago

Solved it by appending 'apps' directory path in sys.path in apps/init.py . Thanks