<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/03/2018 10:41 PM, Matey Chopov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HE1PR06MB3898B3EB54E3FEE232B243E8BF230@HE1PR06MB3898.eurprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We decided recently to implement on our
Kallithea 0.3.99 test instance celery and rabbitmq.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal">“We’re sorry but error occurred during this
operation …”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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 :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“AttributeError: ‘DisabledBackend’ object
has no attribute ‘_get_task_meta_for’<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have uploaded the full trace on pastebin
here: <a href="https://pastebin.com/gSK4VG20"
moz-do-not-send="true">
https://pastebin.com/gSK4VG20</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are running a default install of
Kallithea 0.3.99 with sqlite and waitress.<o:p></o:p></p>
</div>
</blockquote>
<br>
<br>
I also verified that celery/rabbitmq repo creation works with latest
default branch.<br>
<br>
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.<br>
<br>
/Mads<br>
</body>
</html>