Public bug reported:

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.

** Affects: cherrypy3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to