unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40842: uwsgi python plugin not found
@ 2020-04-25 10:48 John D. Boy
  0 siblings, 0 replies; only message in thread
From: John D. Boy @ 2020-04-25 10:48 UTC (permalink / raw)
  To: 40842

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-25 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25 10:48 bug#40842: uwsgi python plugin not found John D. Boy

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).