[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
This bug was fixed in the package cherrypy3 - 3.0.2-2ubuntu0.1 --- cherrypy3 (3.0.2-2ubuntu0.1) jaunty-proposed; urgency=low * Fix formatwarning() method so it's compatible with Python 2.6 (LP: #368855) -- Krzysztof Klimonda kklimo...@syntaxhighlighted.com Wed, 29 Apr 2009 01:56:11 +0200 ** Changed in: cherrypy3 (Ubuntu Jaunty) Status: Fix Committed = Fix Released -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
SRU Verification for Jaunty: I have reproduced the problem with python-cherrypy 3 3.0.2-2 and have verified that the version of python-cherrypy3 3.0.2-2ubuntu0.1 in -proposed fixes the issue. I've verified that the Hello World example is working as expected and that the formatwarning type error has vanished. Marking as verification-done ** Tags added: verification-done ** Tags removed: verification-needed -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
uploaded cherrypy3 3.0.2-2ubuntu0.1 with updated maintainer to the new policy -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Accepted into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: cherrypy3 (Ubuntu Jaunty) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Branch linked: lp:ubuntu/jaunty-proposed/cherrypy3 -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Tags added: patch sru -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Patch (comment 13) looks reasonable. ACK from the SRU team -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Patch removed: cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/27892956/cherrypy3_3.1.2-0ubuntu1.debdiff -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
cherrypy3 (3.1.2-1) unstable; urgency=low * New upstream release (Closes: #528473) * debian/rules: - use the quilt make include file instead of using custom code; should make the package convertable to the new quilt source format (Closes: #538677) * debian/control: - updated Standards-Version with no changes * debian/python-cherrypy3.links: - fix link to point to the new place where python-support installs files -- Gustavo Noronha Silva k...@debian.org Sat, 15 Aug 2009 14:52:43 -0300 ** Changed in: cherrypy3 (Debian) Importance: Unknown = Undecided ** Changed in: cherrypy3 (Debian) Remote watch: Debian Bug tracker #528473 = None ** Changed in: cherrypy3 (Debian) Status: New = Fix Released -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
3.1.2-1 synced. ** Changed in: cherrypy3 (Ubuntu) Status: In Progress = Fix Released -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Sync in progress on bug 417043 ** Changed in: cherrypy3 (Ubuntu) Status: Incomplete = In Progress -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
I believe I have already requested a sync and it was even ACKd by MOTU but I can't find a mail nor bug right now - I don't have an access to any computer other than my phone right now. I'll try to dig up bug number from my mailbox later and see why it isn't synced yet... ok, it looks like someone has pushed a wrong button and instead of 3.1.2-1 version 3.1.1-3 was synced. I'll fill a sync request once again. Julien Lavergne julien.laver...@gmail.com wrote: There is now a 3.1.2 version on Debian. @kklimonda Could you request a sync for the karmic bug ? ** Changed in: cherrypy3 (Ubuntu) Importance: Undecided = Medium ** Changed in: cherrypy3 (Ubuntu) Status: Confirmed = Incomplete -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a direct subscriber of the bug. -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Maybe you mean this: https://bugs.launchpad.net/ubuntu/+source/cherrypy3/+bug/414501 It seems to be the latest sync processed on karmic. -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
and yeah, it really seems that version 3.1.1-3 got synced instead of the 3.1.2-1 you suggested to sync on the bug title. Just ask for a new sync then. -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
There is now a 3.1.2 version on Debian. @kklimonda Could you request a sync for the karmic bug ? ** Changed in: cherrypy3 (Ubuntu) Importance: Undecided = Medium ** Changed in: cherrypy3 (Ubuntu) Status: Confirmed = Incomplete -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Also, I forgot to change Maintainer field in SRU patch.. I think I'll have to create a sticky note to remind myself about it. ** Attachment added: cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/27892964/cherrypy3_3.0.2-2ubuntu0.1.debdiff ** Attachment removed: cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/26104226/cherrypy3_3.0.2-2ubuntu0.1.debdiff ** Attachment removed: cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/26948874/cherrypy3_3.1.2-0ubuntu1.debdiff ** Attachment removed: cherrypy3_3.1.2-0ubuntu1-debian.debdiff http://launchpadlibrarian.net/26948919/cherrypy3_3.1.2-0ubuntu1-debian.debdiff -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Ugh, I overdone this patch.. I think. It applies perfectly.. on 3.0.2... sigh.. ;) Attached new debdiff with fixed Maintainer field. ** Attachment added: cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/27892956/cherrypy3_3.1.2-0ubuntu1.debdiff -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
Hello, the debdiff contains the following problems: Wrong maintainer: dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field Patches fail to apply: Applying patch 01_cherryd_location_fix.diff patching file cherrypy/test/helper.py Hunk #1 FAILED at 284. 1 out of 1 hunk FAILED -- rejects in file cherrypy/test/helper.py Patch 01_cherryd_location_fix.diff does not apply (enforce with -f) make: *** [patch-stamp] Error 1 -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
I've temporarily unsubscribed the sponsors queue whilst the issues identified are resolved. Please resubscribe if a new candidate for jaunty-proposed is prepared. For karmic, waiting on Debian probably still remains the best choice (at least up through DebianImportFreeze). -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
There is still no 3.1.2 in Debian Unstable so I'm attaching debdiffs from 3.0.2 This is full debdiff between 3.0.2 and 3.1.2 - over 550KB. ** Attachment added: cherrypy3_3.1.2-0ubuntu1.debdiff http://launchpadlibrarian.net/26948874/cherrypy3_3.1.2-0ubuntu1.debdiff -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
This debdiff contains only changes made in debian/ directory for easier review. Build log upon request. ** Attachment added: cherrypy3_3.1.2-0ubuntu1-debian.debdiff http://launchpadlibrarian.net/26948919/cherrypy3_3.1.2-0ubuntu1-debian.debdiff ** Changed in: cherrypy3 (Ubuntu) Status: In Progress = Confirmed ** Changed in: cherrypy3 (Ubuntu) Assignee: Krzysztof Klimonda (kklimonda) = (unassigned) -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Changed in: cherrypy3 (Debian) Status: Unknown = New -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Bug watch added: Debian Bug tracker #528473 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528473 ** Also affects: cherrypy3 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528473 Importance: Unknown Status: Unknown -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
The provided debdiff looks good, ACK for jaunty-proposed from MOTU-SRU. Please follow up and ensure that the bug is indeed resolved in Karmic. ** Also affects: cherrypy3 (Ubuntu Jaunty) Importance: Undecided Status: New ** Changed in: cherrypy3 (Ubuntu Jaunty) Status: New = Confirmed -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Summary changed: - current version not compatible with python 2.6 (Jaunty) + formatwarning() definition from cherrypy3 incompatible with Python 2.6 -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Description changed: - One example is: + 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) - Ubuntu version: 9.04 - cherrypy3 version: 3.0.2-2 + The attached patch fixes this issue by adding missing argument (which + defaults to None) - 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! + 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()) ** Attachment added: cherrypy3_3.0.2-2ubuntu0.1.debdiff http://launchpadlibrarian.net/26104226/cherrypy3_3.0.2-2ubuntu0.1.debdiff -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
After some more discussion on #ubuntu-motu it was decided to patch this issue and then watch for other bugs and fix them as they come. -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 368855] Re: formatwarning() definition from cherrypy3 incompatible with Python 2.6
** Changed in: cherrypy3 (Ubuntu) Status: New = Confirmed ** Changed in: cherrypy3 (Ubuntu) Status: Confirmed = In Progress -- formatwarning() definition from cherrypy3 incompatible with Python 2.6 https://bugs.launchpad.net/bugs/368855 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs