Hello.
I installed taiga from source code into a production environment.
I created a test project on taiga after installation and tried adding a user, and it seems to be working fine.
However, when I import from Trello, “The Taiga is importing your project” is displayed after a series of operations, but a new project is not created by import.
I did the import following the guide on this page.
The API key and private key appear to be correct.
This is because when I tried setting these two keys in reverse, I was unable to proceed to the access authorization screen for Trello.
When I looked for the error message to find out the cause, I found the following using journalctl.
sudo journalctl -u taiga-async.service -xe
May 01 16:56:05 v133-18-228-218 celery[629123]: [2024-05-01 07:56:05,873: ERROR/MainProcess] Received unregistered task of type 'taiga.importers.trello.tasks.import_project'.
May 01 16:56:05 v133-18-228-218 celery[629123]: The message has been ignored and discarded.
May 01 16:56:05 v133-18-228-218 celery[629123]: Did you remember to import the module containing this task?
May 01 16:56:05 v133-18-228-218 celery[629123]: Or maybe you're using relative imports?
May 01 16:56:05 v133-18-228-218 celery[629123]: Please see
May 01 16:56:05 v133-18-228-218 celery[629123]: http://docs.celeryq.org/en/latest/internals/protocol.html
May 01 16:56:05 v133-18-228-218 celery[629123]: for more information.
May 01 16:56:05 v133-18-228-218 celery[629123]: The full contents of the message body was:
May 01 16:56:05 v133-18-228-218 celery[629123]: b'\x80\x04\x95@\x01\x00\x00\x00\x00\x00\x00(K\x07\x8cLATTAa9052a46287eb2b03ccc6463b7030dfa83302e20cb36d41741eaadff3c4c593XXXXXXXXX\x94\x8c\x1864eeb4f0513c157162a7484a\x94}\x94(\x8c\x04name\x94\x8c\x12\xe4\xbb\x95\xe4\xba\x8b\xe7\x94\xa8\xe3\x81\x93\xe3\x81\x98\xe3\x82\x93\x94\x8c\x0bdescription\x94\x8c\x1cTrello import 20240511 16:55\x94\x8c\x08template\x94\x8c\x06kanban\x94\x8c\x0eusers_bindings\x94}\x94\x8c\x17keep_exter>
May 01 16:56:05 v133-18-228-218 celery[629123]: Thw full contents of the message headers:
May 01 16:56:05 v133-18-228-218 celery[629123]: {'lang': 'py', 'task': 'taiga.importers.trello.tasks.import_project', 'id': '1f3e8d3a-09ee-46b4-a768-e53e846e4c50', 'shadow': None, 'eta': None, 'expires': None, 'group': None, 'group_index': None, 'retries': 0, 'timelimit': [None, None], 'root_id': '1f3e8d3a-09ee-46b4-a768-e53e846e4c50', 'parent_id': None, 'argsrepr': "(7, 'ATTAa9052a46287eb2b03ccc6463b7030dfa83302e20cb36d41741eaadff3c4c593XXXXXXXXX', '64eeb4f0513c157162a>
May 01 16:56:05 v133-18-228-218 celery[629123]: The delivery info for this task is:
May 01 16:56:05 v133-18-228-218 celery[629123]: {'consumer_tag': 'None4', 'delivery_tag': 137, 'redelivered': False, 'exchange': 'tasks', 'routing_key': 'task.default'}
May 01 16:56:05 v133-18-228-218 celery[629123]: Traceback (most recent call last):
May 01 16:56:05 v133-18-228-218 celery[629123]: File "/home/taiga/taiga-back/.venv/lib/python3.10/site-packages/celery/worker/consumer/consumer.py", line 591, in on_task_received
May 01 16:56:05 v133-18-228-218 celery[629123]: strategy = strategies[type_]
May 01 16:56:05 v133-18-228-218 celery[629123]: KeyError: 'taiga.importers.trello.tasks.import_project'
I have enabled the Trello importer in “~/taiga-back/settings/config.py” and “~/taiga-front-dist/dist/conf.json”.
Are there any other settings I should change?
In addition, “~/taiga-back/settings/common.py” also has settings for his Trello importer, but I think this overrides the settings in “config.py”, and the “active:”:False" It’s still there.
Thank you for your advice.