[pkg-uWSGI-devel] Bug#1109812: Bookworm uwsgi-plugin-python3 2.0.21-5.1 , filename of module incompatible with uwsgi 2.0.21-5.1
VisionOK
visionok at disroot.org
Mon Jul 28 08:40:02 BST 2025
On Saturday, 26 July 2025 09:07:42 HKT Alexandre Rossi wrote:
> It is not clear to me why you say uwsgi _expects_ the python module as
> python_plugin.so
>
> On Debian, the python module has always designated the python2 module, and
> has been removed when python2 support was dropped.
>
> As far as I know, uwsgi expecting a module named python comes from either
> your conf or your command line arguments. How do you launch uwsgi?
When I launch uwsgi using:
uwsgi --plugin python,http --http-socket :9090 --queue-blocksize 65000 --wsgi-file /tmp/
foobar.py
it will fail to launch with the following error:
###
open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c
line 3731]
!!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so: cannot open
shared object file: No such file or directory !!!
uwsgi: unrecognized option '--wsgi-file'
getopt_long() error
###
When I add the symlink (as noted previously)
python_plugin.so -> /etc/alternatives/uwsgi-plugin-python3
then uswgi launches and runs fine.
thanks
--
VisionOK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20250728/5c021b12/attachment.htm>
More information about the pkg-uWSGI-devel
mailing list