uwsgi python plugin not found

  • Open
  • quality assurance status badge
Details
One participant
  • John D. Boy
Owner
unassigned
Submitted by
John D. Boy
Severity
normal

Debbugs page

John D. Boy wrote 5 years ago
(address . bug-guix@gnu.org)
9fedb7d1-0b41-4eab-99e9-8c7e55895ee4@www.fastmail.com
Here's what happens when I try to run an uwsgi process with the Python plugin.

$ guix environment --pure --ad-hoc python uwsgi uwsgi:python
$ uwsgi --ini uwsgi.ini
[uWSGI] getting INI configuration from uwsgi.ini
open("/gnu/store/xmc67azy4vk3mcpyg3qy6vc2wq3v127w-uwsgi-2.0.18/lib/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]
!!! UNABLE to load uWSGI plugin: /gnu/store/xmc67azy4vk3mcpyg3qy6vc2wq3v127w-uwsgi-2.0.18/lib/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!

The problem is that uwsgi looks for the plugin in the wrong place. The uwsgi package has two outputs ("out" and "python"), and the Pyton plugin goes into the latter (/gnu/store/...-uwsgi-2.0.18-python/lib/uwsgi).

Unfortunately my packaging skills aren't (yet) good enough to figure out how to make the package aware of the proper plugin path.

John
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 40842@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40842
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help