uwsgi-plugin-python3 failed to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uwsgi (Debian) |
Fix Released
|
Unknown
|
|||
uwsgi (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I expected the package uwsgi-plugin-
# apt-get install uwsgi-plugin-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python3-
The following NEW packages will be installed
uwsgi-
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/73.7 kB of archives.
After this operation, 259 kB of additional disk space will be used.
Selecting previously unselected package uwsgi-plugin-
(Reading database ... 101126 files and directories currently installed.)
Preparing to unpack .../uwsgi-
Unpacking uwsgi-plugin-
Processing triggers for man-db (2.7.5-1) ...
Setting up uwsgi-plugin-
/var/lib/
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
# apt-cache policy uwsgi-plugin-
uwsgi-plugin-
Installed: 2.0.12-5ubuntu3
Candidate: 2.0.12-5ubuntu3
Version table:
*** 2.0.12-5ubuntu3 500
500 http://
100 /var/lib/
Changed in uwsgi (Debian): | |
status: | Unknown → Fix Released |
tags: | removed: server-next |
I see this as well. Seems to make the python35 plugin not loadable since I have it in the plugins line in myservice.ini-file, but python2 is used according to the log. The import site issue is related to the fact it tries to use python2.7 in a venv from python3.5. I added it in an earlier (failed) attempt to use uwsgi (but that attempt did have the python34 module working, that was on the last LTS release (whichever version that was))
# apt install --reinstall uwsgi-plugin- python3 plugin- python3_ 2.0.12- 5ubuntu3_ amd64.deb ... python3 (2.0.12-5ubuntu3) over (2.0.12-5ubuntu3) ... python3 (2.0.12-5ubuntu3) ... dpkg/info/ uwsgi-plugin- python3. postinst: 61: [: Illegal number:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 16 not upgraded.
Need to get 0 B/73.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 46609 files and directories currently installed.)
Preparing to unpack .../uwsgi-
Unpacking uwsgi-plugin-
Processing triggers for man-db (2.7.5-1) ...
Setting up uwsgi-plugin-
/var/lib/
# cat /var/log/ uwsgi/app/ service. log 13.0-93- generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 app/myservice/ pid myservice/ dist types.. .Mon Sep 5 22:22:06 2016 - 552 entry found app/myservice/ socket fd 3 myservice/
Mon Sep 5 22:22:06 2016 - *** Starting uWSGI 2.0.12-debian (64bit) on [Mon Sep 5 22:22:05 2016] ***
Mon Sep 5 22:22:06 2016 - compiled with version: 5.3.1 20160412 on 13 April 2016 08:36:06
Mon Sep 5 22:22:06 2016 - os: Linux-3.
Mon Sep 5 22:22:06 2016 - nodename: thehost
Mon Sep 5 22:22:06 2016 - machine: x86_64
Mon Sep 5 22:22:06 2016 - clock source: unix
Mon Sep 5 22:22:06 2016 - pcre jit disabled
Mon Sep 5 22:22:06 2016 - detected number of CPU cores: 1
Mon Sep 5 22:22:06 2016 - current working directory: /
Mon Sep 5 22:22:06 2016 - writing pidfile to /run/uwsgi/
Mon Sep 5 22:22:06 2016 - detected binary path: /usr/bin/uwsgi-core
Mon Sep 5 22:22:06 2016 - setgid() to 33
Mon Sep 5 22:22:06 2016 - setuid() to 33
Mon Sep 5 22:22:06 2016 - chdir() to /home/user/
Mon Sep 5 22:22:06 2016 - your processes number limit is 7474
Mon Sep 5 22:22:06 2016 - your memory page size is 4096 bytes
Mon Sep 5 22:22:06 2016 - detected max file descriptor number: 1024
Mon Sep 5 22:22:06 2016 - building mime-types dictionary from file /etc/mime.
Mon Sep 5 22:22:06 2016 - lock engine: pthread robust mutexes
Mon Sep 5 22:22:06 2016 - thunder lock: disabled (you can enable it with --thunder-lock)
Mon Sep 5 22:22:06 2016 - uwsgi socket 0 bound to UNIX address /run/uwsgi/
Mon Sep 5 22:22:06 2016 - Python version: 2.7.12 (default, Jul 1 2016, 15:12:24) [GCC 5.4.0 20160609]
Mon Sep 5 22:22:06 2016 - Set PythonHome to /home/user/
Mon Sep 5 22:22:06 2016 - Python main interpreter initialized at 0x1e92140
Mon Sep 5 22:22:06 2016 - python threads support enabled
Mon Sep 5 22:22:06 2016 - your server socket listen backlog is limited to 100 connections
Mon Sep 5 22:22:06 2016 - your mercy for graceful operations on workers is 60 seconds
Mon Sep 5 22:22:06 2016 - mapped 145536 bytes (142 KB) for...