[Bug 242573] Re: cherrypy crashes when running non-cherrypy wsgi apps

Krzysztof Klimonda kklimonda at syntaxhighlighted.com
Thu May 14 18:51:54 UTC 2009


Also please note that this bug is fixed in Karmic as we have synced
cherrypy with Debian Unstable.

** 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.
+ 
+ Comments about debdiffs:
+ The debdiff for hardy is attached. The same can be used for Intrepid as there were no changes in this package between those releases. (Probably hardy-proposed has to be changes to intrepid-proposed so I'd like someone more experienced to comment it).
  To fix it in Jaunty I'd like to close https://bugs.edge.launchpad.net/ubuntu/+source/cherrypy3/+bug/368855 first.

** 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.
+ Based on this comment I'd say that this is a regression and should be fixed with a SRU.
  TEST CASE:
  I have attached simple test case that illustrates this issue.
  
  Comments about debdiffs:
  The debdiff for hardy is attached. The same can be used for Intrepid as there were no changes in this package between those releases. (Probably hardy-proposed has to be changes to intrepid-proposed so I'd like someone more experienced to comment it).
  To fix it in Jaunty I'd like to close https://bugs.edge.launchpad.net/ubuntu/+source/cherrypy3/+bug/368855 first.

-- 
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 at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list