wsgi app won't startup
Bug #599613 reported by
Nathan Van Gheem
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In using Zope 2.13.0a1, you can't create the wsgi app because it tries to configure the zserver. In the file, Zope2/Startup/
>>> if self.cfg.servers:
>>> self.setupZServer()
>>> self.setupServers()
Or should we have some kind of configuration option for the cases of starting it as a wsgi app. That way you could still use the same zope.conf for wsgi app and zserver.
Changed in zope2: | |
importance: | Medium → High |
To post a comment you must log in.
So you are trying to use a zope.conf file which has a zserver configuration in it, but use it to start a WSGI application?
I think what should work is to have no zserver config in the zope.conf and then start it as a WSGI app. Probably it's a job for the buildout recipes to offer such a "WSGI" option.