<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 21/02/2024 10:41, Ed Wong wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9ca7ffae-3859-fbd5-c25b-98817162c8f0@pw-wspx.org">
<pre class="moz-quote-pre" wrap="">File "/var/www/kali/venv/lib64/python3.9/site-packages/mercurial/ui.py",
line 1299, in _writenobuf
dest.write(msg)
File
"/var/www/kali/venv/lib64/python3.9/site-packages/mercurial/utils/procutil.py",
line 115, in write
c = write1(m[total_written:])
peError: write() argument 1 must be read-only bytes-like object, not
memoryview</pre>
</blockquote>
<p><br>
</p>
<p>That exception is quite deep inside Mercurial, in a version that
is quite old now. But also, it could perhaps be something with the
WSGI stack in your setup. It seems like you are doing something is
quite common, but the problem is not common. Something special
must be triggering it. But also, the last official release is
indeed quite old. If the problem can be reproduced and hasn't been
fixed on the stable branch, we can fix it there.<br>
</p>
<span style="white-space: pre-wrap">
</span><span style="white-space: pre-wrap">
</span><br>
<blockquote type="cite"
cite="mid:9ca7ffae-3859-fbd5-c25b-98817162c8f0@pw-wspx.org">
<pre class="moz-quote-pre" wrap="">Thinking that this might have been some compatibility issue between
the old Kallithea managed repos and the 0.7.0, I thought I'd create
a new repository.</pre>
</blockquote>
<p><br>
</p>
<p>In my opinion, that seems unlikely to solve the problem.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:9ca7ffae-3859-fbd5-c25b-98817162c8f0@pw-wspx.org">
<pre class="moz-quote-pre" wrap=""> File
"/var/www/kali/venv/lib64/python3.9/site-packages/celery/app/base.py",
line 776, in send_task
"""
TypeError: as_task_v2() got an unexpected keyword argument 'ignore_result'
At this point, I'm kinda stuck. I have Celery == 5.0.5.</pre>
</blockquote>
<p><br>
</p>
<p>That could seem like <a class="moz-txt-link-freetext" href="https://github.com/celery/celery/issues/6829">https://github.com/celery/celery/issues/6829</a>
- are you sure you are using celery 5.0.5 ?</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 25/02/2024 14:32, Branko Majic
wrote:<br>
</div>
<blockquote type="cite" cite="mid:20240225143258.262d023b@majic.rs">
<pre>So... I don't know what the exact issue is you are facing here, but
based on some personal experiences.... The released version of
Kallithea (0.7.0) is quite outdated from the code perspective when
compared to what is currently in the repository tip.</pre>
</blockquote>
<p><br>
</p>
<p>Yes - the stable branch is very stable ... while also supporting
more recent and bugfixed Mercurial versions, so I would recommend
using that instead of the aging latest official release.
<a class="moz-txt-link-freetext" href="https://kallithea.readthedocs.io/en/stable/installation.html#installation-from-repository-source">https://kallithea.readthedocs.io/en/stable/installation.html#installation-from-repository-source</a><br>
</p>
<p></p>
<p>/Mads<br>
</p>
</body>
</html>