Hey everyone!
I wanted to add Github support to the CloudImport plugin, but I realized that it wasn’t working properly. I did a little debugging, and an error happens when the plugin calls a celery task to download the external images. The error says:
Celery received unregistered task of type (plugins.cloudimport.api_views.import_files)
So I checked the broker, and the task was in fact not registered. The registered tasks were:
imagekit.cachefiles.backends._generate_file
worker.tasks.cleanup_projects
worker.tasks.cleanup_tmp_directory
worker.tasks.execute_grass_script
worker.tasks.export_raster_index
worker.tasks.process_pending_tasks
worker.tasks.process_task
worker.tasks.update_nodes_info
I then tried to add the file with the task to the list here, and the plugin started working again.
But of course, it’s not ideal to add every plugin to that list.
Any ideas as to how it was working before, or why it stopped working? Any ideas how to fix it properly? I don’t know much about celery, so I’m not sure how to move forward. Also, I saw that a few other plugins also have a celery task, so maybe they aren’t working either.
Thanks in advanced!