Activity log for bug #368855

Date Who What changed Old value New value Message
2009-04-28 20:40:42 Robert Toscano bug added bug
2009-04-28 21:21:41 Krzysztof Klimonda cherrypy3 (Ubuntu): assignee kklimonda
2009-04-29 00:08:18 Krzysztof Klimonda summary current version not compatible with python 2.6 (Jaunty) formatwarning() definition from cherrypy3 incompatible with Python 2.6
2009-04-29 00:15:15 Krzysztof Klimonda description One example is: File "/var/lib/python-support/python2.6/cherrypy/_cpengine.py", line 77, in startcherrypy.checker() File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 24, in __call__ method() File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 171, in check_config_namespaces self._known_ns(app.config) File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 166, in _known_ns warnings.warn(msg) File "/usr/lib/python2.6/warnings.py", line 29, in _show_warning file.write(formatwarning(message, category, filename, lineno, line)) TypeError: formatwarning() takes exactly 5 arguments (6 given) Ubuntu version: 9.04 cherrypy3 version: 3.0.2-2 From the cherrypy website I can see that the latest 3.1 release has support for python 2.6. I'm willing to help with the upgrade, just need a little guidance. Thanks for reading! cherrypy3 overwrites method formatwarning() from python warnings module. The method provided by cherrypy3 is incompatible with Python 2.6 and it may throw an TypeError exception: File "/var/lib/python-support/python2.6/cherrypy/_cpengine.py", line 77, in startcherrypy.checker() File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 24, in __call__ method() File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 171, in check_config_namespaces self._known_ns(app.config) File "/var/lib/python-support/python2.6/cherrypy/_cpchecker.py", line 166, in _known_ns warnings.warn(msg) File "/usr/lib/python2.6/warnings.py", line 29, in _show_warning file.write(formatwarning(message, category, filename, lineno, line)) TypeError: formatwarning() takes exactly 5 arguments (6 given) The attached patch fixes this issue by adding missing argument (which defaults to None) TEST CASE: The simplest Hello World application from http://www.cherrypy.org/wiki/CherryPyTutorial is enough: import cherrypy class HelloWorld: def index(self): return "Hello world!" index.exposed = True cherrypy.quickstart(HelloWorld())
2009-04-29 00:16:03 Krzysztof Klimonda attachment added cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/26104226/cherrypy3_3.0.2-2ubuntu0.1.debdiff
2009-04-29 00:16:47 Krzysztof Klimonda bug added subscriber MOTU Stable Release Updates
2009-04-29 00:17:00 Krzysztof Klimonda bug added subscriber Ubuntu Sponsors for universe
2009-04-29 00:41:24 Krzysztof Klimonda cherrypy3 (Ubuntu): status New Confirmed
2009-04-29 00:41:35 Krzysztof Klimonda cherrypy3 (Ubuntu): status Confirmed In Progress
2009-04-29 08:29:42 Krzysztof Klimonda nominated for series Ubuntu Jaunty
2009-05-12 20:58:13 John Dong bug task added cherrypy3 (Ubuntu Jaunty)
2009-05-12 20:59:21 John Dong cherrypy3 (Ubuntu Jaunty): status New Confirmed
2009-05-13 07:21:56 Krzysztof Klimonda bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528473
2009-05-13 07:21:56 Krzysztof Klimonda bug task added cherrypy3 (Debian)
2009-05-14 06:24:10 Bug Watch Updater cherrypy3 (Debian): status Unknown New
2009-05-19 20:54:33 Krzysztof Klimonda attachment added cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/26948874/cherrypy3_3.1.2-0ubuntu1.debdiff
2009-05-19 20:56:09 Krzysztof Klimonda attachment added cherrypy3_3.1.2-0ubuntu1-debian.debdiff http://launchpadlibrarian.net/26948919/cherrypy3_3.1.2-0ubuntu1-debian.debdiff
2009-05-19 20:57:09 Krzysztof Klimonda cherrypy3 (Ubuntu): status In Progress Confirmed
2009-05-19 20:57:09 Krzysztof Klimonda cherrypy3 (Ubuntu): assignee Krzysztof Klimonda (kklimonda)
2009-06-11 22:41:58 Emmet Hikory removed subscriber Ubuntu Sponsors for universe
2009-06-14 13:18:28 Krzysztof Klimonda attachment added cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/27892956/cherrypy3_3.1.2-0ubuntu1.debdiff
2009-06-14 13:19:45 Krzysztof Klimonda attachment added cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/27892964/cherrypy3_3.0.2-2ubuntu0.1.debdiff
2009-06-14 13:20:04 Krzysztof Klimonda attachment removed cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/26104226/cherrypy3_3.0.2-2ubuntu0.1.debdiff
2009-06-14 13:20:06 Krzysztof Klimonda attachment removed cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/26948874/cherrypy3_3.1.2-0ubuntu1.debdiff
2009-06-14 13:20:08 Krzysztof Klimonda attachment removed cherrypy3_3.1.2-0ubuntu1-debian.debdiff http://launchpadlibrarian.net/26948919/cherrypy3_3.1.2-0ubuntu1-debian.debdiff
2009-08-20 21:12:14 Julien Lavergne cherrypy3 (Ubuntu): importance Undecided Medium
2009-08-20 21:12:14 Julien Lavergne cherrypy3 (Ubuntu): status Confirmed Incomplete
2009-08-22 12:23:32 Julien Lavergne removed subscriber Ubuntu Sponsors for universe
2009-08-22 12:23:35 Julien Lavergne cherrypy3 (Ubuntu): status Incomplete In Progress
2009-10-25 15:45:27 Artur Rona cherrypy3 (Debian): importance Unknown Undecided
2009-10-25 15:45:27 Artur Rona cherrypy3 (Debian): remote watch Debian Bug tracker #528473
2009-10-25 15:45:43 Artur Rona cherrypy3 (Debian): status New Fix Released
2009-10-25 15:48:51 Artur Rona cherrypy3 (Ubuntu): status In Progress Fix Released
2010-04-12 16:46:07 Artur Rona tags patch sru
2010-04-12 16:57:19 Artur Rona attachment removed cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/27892956/cherrypy3_3.1.2-0ubuntu1.debdiff
2010-06-29 11:05:38 Benjamin Drung removed subscriber Ubuntu Sponsors Team
2010-06-29 13:02:40 Jonathan Riddell cherrypy3 (Ubuntu Jaunty): status Confirmed Fix Committed
2010-06-29 13:02:43 Jonathan Riddell bug added subscriber SRU Verification
2010-06-29 13:02:46 Jonathan Riddell tags patch sru patch sru verification-needed
2010-06-29 13:27:18 Launchpad Janitor branch linked lp:ubuntu/jaunty-proposed/cherrypy3
2010-07-01 13:30:02 Jean-Baptiste Lallement tags patch sru verification-needed patch sru verification-done
2010-07-07 15:06:14 Launchpad Janitor cherrypy3 (Ubuntu Jaunty): status Fix Committed Fix Released