[Twisted-Python] PB, t.web tracebacks with Debian 1.1.0alpha

Moshe Zadka twisted at zadka.site.co.il
Thu Oct 16 13:36:35 EDT 2003


On Thu, 16 Oct 2003, Alex Levy <mesozoic at polynode.com> wrote:

> Moshez pointed out that the problem I'm having, originally listed here
> <http://www.twistedmatrix.com/users/roundup.twistd/twisted/issue345>, is
> not a bug, but a feature. I'm posting my code; could someone explain
> what I'm doing wrong?

Well, apparently there was a bug in the CGI code. I'm guessing m-t works
with CGI?

In any case, you should move the server to new application:

from twisted.application import service, strports
> file = static.File('./site')
> site = server.Site(file)
> application = app.Application('movabletype')
application = service.Application('movabletype')
s = strports.service('unix:/home/mesozoic/.mt',
                     pb.PBServerFactory(distrib.ResourcePublisher(site)))
s.setServiceParent(application)




More information about the Twisted-Python mailing list