On 08/03/2018 10:41 PM, Matey Chopov wrote:
Hi guys,
We decided recently to implement on our Kallithea 0.3.99 test instance
celery and rabbitmq.
Everything seems to work fine, as celery is able to connect to the
rabbitmq server, but there’s one issue that I cannot resolve for some
reason.
When Celery is enabled in the Kallithea my.ini file and we create a
new repo via the Kallithea web interface we get to the “Repository is
being created” page, but then we get the following error message:
“We’re sorry but error occurred during this operation …”
The repository is being created even when the Kallithea web interface
throws that error and it does work fine after, but in the Kallithea
log I get a trace exception :
“AttributeError: ‘DisabledBackend’ object has no attribute
‘_get_task_meta_for’
I have uploaded the full trace on pastebin here:
https://pastebin.com/gSK4VG20 <https://pastebin.com/gSK4VG20>
I read that it may be related to how the rabbitmq server is
configured, so I messed with it, but couldn’t still resolve the issue.
We are running a default install of Kallithea 0.3.99 with sqlite and
waitress.
I also verified that celery/rabbitmq repo creation works with latest
default branch.
DisabledBackend suggest that amqp perhaps wasn't available anyway. But
weird it works enough to actually create the repo ... or doesn't use
celery for that.
/Mads
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general