bottle
bottle copied to clipboard
Cherrypy Adapter does not work on Ubuntu 12.04 LTS
When running Bottle (0.11.4) with the Cherrypy server adapter unter Ubuntu 12.04, the server fails to start with an import error, as the WSGI Server from Cherrypy can't be loaded.
When I type "import cherrypy;dir(cherrypy)" I indeed do not see any WSGI modul / class...
Cherrypy version is the one from the Ubuntu repositires, 2.3.0.
Ubuntu doesn't keep everything up-to-date and some stuff is too old to use. You should use virtualenv and pip/easy_install to get the most recent Python packages. The way you have more control over the packages you use.
Ok, I think I found the reason... I installed Cherrypy 2.3 from the sources - which does indeed not include the wsgiserver. When picking the python-cherrypy3 module, containing Cherryy 3.2.2., the wsgiserver is included. Thus, I may be a good idea to mention the requirement for version 3.x in the docs.
Ubuntu doesn't keep everything up-to-date and some stuff is too old to use.
Yes, but python-cherrypy is in "universe", so it's up to the community to maintain :-)
Looks like a duplicate of #934 to me (though this one was first).
Can this bug be closed? Ubuntu 12.04 LTS reached EOL a long time ago, and it isn't even receiving support for Canonical customers.