[moin-devel] Debian packages problem: traceback in themes/__init__.py" line 831: AttributeError
Ulrich B.
UlrichB at posteo.de
Fri Jul 12 14:13:16 EDT 2024
Hi Paul, thanks for feedback.
Am 12.07.24 um 16:57 schrieb Paul Boddie:
> In any case, trying Moin out in the Debian unstable environment has
> highlighted some places that probably need fixing. First of all, in moin/
> utils/send_file.py, in the send_file function, there is usage of
> current_app.use_x_sendfile which may not be compatible with Flask 3.0.
Usage of current_app.use_x_sendfile has been removed and we are already
using Flask >= 3.0.0.
> I imagine that there must be some kind of difference between the
> initialisation of the mod_wsgi application and that of the built-in server,
> but I think that it might be quicker for someone more familiar with the code
> to locate where that difference might be.
>
I have successfully created a moin2 wiki with uwsgi on a web host, see
https://moinmo.in/MoinMoin2/SetupOnWebhost. I will check a setup with
Apache and mod_wsgi.
Regards,
Ulrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/moin-devel/attachments/20240712/13544dc0/attachment.html>
More information about the moin-devel
mailing list