** Description changed:

  Binary package hint: python-cherrypy3
  
  The changes referenced in http://www.cherrypy.org/changeset/1714 we
  applied in 7.10, but are not present in 8.04.  Consequently when you
  attempt to run a non-cherrypy wsgi app cherrypy tries to check the
  foreign app's "config" attribute.  If the foreign app does not have a
  config attribute (it shouldn't need it) the server crashes with a
  traceback:
  
  Traceback (most recent call last):
    File "./monk_server_tbo.py", line 23, in <module>
      cherrypy.engine.start()
    File "/var/lib/python-support/python2.5/cherrypy/_cpengine.py", line 77, in 
start
      cherrypy.checker()
    File "/var/lib/python-support/python2.5/cherrypy/_cpchecker.py", line 24, 
in __call__
      method()
    File "/var/lib/python-support/python2.5/cherrypy/_cpchecker.py", line 138, 
in check_compatibility
      self._compat(app.config)
  AttributeError: 'AdminMediaHandler' object has no attribute 'config'
  
  
  Version 3.0.2-1ubuntu0.1 in 7.10 has the changes referenced so it works 
correctly and version 3.0.2-2 in 8.04 does not.
+ -----
+ Based on this comment I'd say that this is a regression and should be fixed 
using SRU.
+ TEST CASE:
+ I have attached simple test case that illustrates this issue.
+ Also debdiff for hardy is attached. The same can be used for Intrepid.
+ To fix it in Jaunty I'd like to close 
https://bugs.edge.launchpad.net/ubuntu/+source/cherrypy3/+bug/368855 first.

** Attachment added: "cherrypy3_3.0.2-2ubuntu0.1.debdiff"
   http://launchpadlibrarian.net/26728382/cherrypy3_3.0.2-2ubuntu0.1.debdiff

-- 
cherrypy crashes when running non-cherrypy wsgi apps
https://bugs.launchpad.net/bugs/242573
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

Reply via email to