Skip to content

webserver usage: import control let's webserver "hang" [sf#4] #5

Description

@murrayrm

*Reported by anonymous on 2013-07-11 09:34 UTC
When using apache with mod_wsgi the (debian wheezy) webserver does not respond anymore when "import control" is used. Using python (2.6/2.7) on command line and using "import control" gives no error.
Tested versions were 0.5b (tried to see if it was a backwards compatibility problem) and 0.6c.

The following simple application.wsgi was used:

import web

import control

urls = (
'/(.*)', 'hello'
)

class hello:
def GET(self, name):
if not name:
name = 'World'
return 'Hello ' + name

if name == "main":
app.run()

app = web.application(urls, globals(), autoreload=False)
application = app.wsgifunc()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions