gunicorn raises exception due to gevent change in 1.1b1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-gevent (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was trying to get a Python project that uses gunicorn running on Xenial, and hit the following error:
Traceback (most recent call last):
File "/usr/lib/
result = self._run(
File "/usr/lib/
return handle(*args)
File "/usr/lib/
File "/usr/lib/
result = self.handle_
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
AttributeError: 'LoggingLogAdapter' object has no attribute 'access'
After searching around for others with this problem, I found the following upstream gevent bug report:
https:/
It looks like this fix was applied in 1.1b6, and applying the same change to pywsgi.py locally was enough to get gunicorn running again.
The final 1.1.0 release was recently released, so it would be nice to upgrade to that version. If that isn't possible, could we get the patch from that bug report applied?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-gevent 1.1~b1-0ubuntu2 [modified: usr/lib/
ProcVersionSign
Uname: Linux 4.4.0-4-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 9 16:08:57 2016
InstallationDate: Installed on 2013-10-29 (861 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: python-gevent
UpgradeStatus: Upgraded to xenial on 2015-12-22 (78 days ago)
Changed in python-gevent (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
This is the minimal required change from the github bug:
https:/ /github. com/gevent/ gevent/ commit/ bb785fc18ee2b40 1ac84a524ea8c56 1d4e041104. patch